internal representation of a task More...
#include <task.h>
Data Fields | |
task_state_t | state |
whether the task is running or stopped | |
page_directory_t * | page_directory |
this task's virtual memory map | |
task_stack_t * | kernel_stack |
stack for handling interrupts | |
task_stack_t * | user_stack |
stack for the actual task's code | |
size_t | kernel_stack_len |
kernel stack length | |
size_t | user_stack_len |
user stack length | |
cpu_state_t * | cpu |
saved CPU state when entering/leaving interrupts | |
uint32_t | ticks |
how many ticks the task may run per time slice | |
uint8_t | vm86 |
whether this task is running in Virtual 8086 mode | |
void * | elf |
if this is an ELF task, this points to the ELF file | |