Turnstone Operating System
Loading...
Searching...
No Matches
task_t Struct Reference

Public Attributes

memory_heap_tcreator_heap
 the heap which task struct is at
 
memory_heap_theap
 task's heap
 
uint64_t heap_size
 task's heap size
 
uint64_t task_id
 task's id
 
uint64_t cpu_id
 cpu id which task is running
 
uint64_t last_tick_count
 tick count when task removes from executing, used for scheduling
 
uint64_t task_switch_count
 task switch count
 
task_state_t state
 task state
 
void * entry_point
 entry point address
 
uint64_t arguments_count
 argument count
 
void ** arguments
 argument list
 
void * stack
 stack pointer
 
uint64_t stack_size
 stack size of task
 
list_tmessage_queues
 task's listining queues.
 
boolean_t message_waiting
 task state for sleeping should move task_state_e
 
boolean_t sleeping
 task state for sleeping should move task_state_e
 
boolean_t interruptible
 task state for interruptible should move task_state_e
 
boolean_t interrupt_received
 task state for interrupt received should move task_state_e
 
boolean_t wait_for_future
 task state for waiting future event should move task_state_e
 
uint64_t wake_tick
 tick value when task wakes up
 
const char * task_name
 task name
 
memory_page_table_context_tpage_table
 page table
 
buffer_tinput_buffer
 input buffer
 
buffer_toutput_buffer
 output buffer
 
buffer_terror_buffer
 error buffer
 
uint64_t vmcs_physical_address
 vmcs physical address
 
void * vm
 vm
 
task_registers_tregisters
 task registers
 

The documentation for this struct was generated from the following file: