|
Voxia OS v0.0.1
Hobby Project Operating System Targeting x86-64
|
#include <thread.h>
Data Fields | |
| thread_id | id |
| uint16_t | core_affinity |
| uint8_t | state |
| uint8_t | priority |
| uint16_t | flags |
| uint64_t | last_run_time |
| uint32_t | uuid |
| boolean_t | has_update_run_time |
| uint8_t | _pad1 [64 - 29] |
| uintptr_t | entry_addr |
| uint64_t | stack |
| cpu_register_t | reg |
| volatile uintptr_t * | page |
| uint16_t | current_core_id |
| process_t * | process |
| uint32_t * | clear_child_tid |
| uint64_t | fs_base |
| uint64_t | gs_base |
| uint8_t | _pad [12] |
| uintptr_t | kernel_rsp |
| uintptr_t | kernel_stack_base |
| uintptr_t | kernel_stack_top |
| bool | in_kernel_sleep |
| bool | wake_pending |
| uint16_t thread::core_affinity |
Definition at line 33 of file thread.h.
Referenced by attach_to_scheduler(), create_thread(), and vxDeatachFromScheduler().
| uint16_t thread::current_core_id |
Definition at line 37 of file thread.h.
Referenced by vxSchedulerTick().
| uintptr_t thread::entry_addr |
Definition at line 43 of file thread.h.
Referenced by create_thread(), and vxSchedulerTick().
| uint16_t thread::flags |
Definition at line 36 of file thread.h.
Referenced by create_thread(), and vxSchedulerTick().
| uint64_t thread::fs_base |
Definition at line 43 of file thread.h.
Referenced by vxSchedulerTick().
| boolean_t thread::has_update_run_time |
Definition at line 39 of file thread.h.
Referenced by vxSchedulerTick().
| thread_id thread::id |
Definition at line 32 of file thread.h.
Referenced by attach_to_scheduler(), create_thread(), and vxSchedulerTick().
| uintptr_t thread::kernel_rsp |
Definition at line 48 of file thread.h.
Referenced by create_thread().
| uintptr_t thread::kernel_stack_base |
Definition at line 49 of file thread.h.
Referenced by create_thread().
| uintptr_t thread::kernel_stack_top |
Definition at line 50 of file thread.h.
Referenced by create_thread().
| uint64_t thread::last_run_time |
Definition at line 37 of file thread.h.
Referenced by vxSchedulerTick().
| volatile uintptr_t* thread::page |
Definition at line 29 of file thread.h.
Referenced by create_thread(), mmap_handle_anonymous(), and vxSchedulerTick().
| uint8_t thread::priority |
Definition at line 35 of file thread.h.
Referenced by create_thread().
| cpu_register_t thread::reg |
Definition at line 45 of file thread.h.
Referenced by vxSchedulerTick().
| uint64_t thread::stack |
Definition at line 44 of file thread.h.
Referenced by create_thread(), and vxSchedulerTick().
| uint8_t thread::state |
Definition at line 34 of file thread.h.
Referenced by attach_to_scheduler(), create_thread(), sch_restore_to_next_thread(), and vxSchedulerTick().