UnnamedOS
task_t Struct Reference

internal representation of a task More...

#include <task.h>

+ Collaboration diagram for task_t:

Data Fields

task_state_t state
 whether the task is running or stopped
 
page_directory_tpage_directory
 this task's virtual memory map
 
task_stack_tkernel_stack
 stack for handling interrupts
 
task_stack_tuser_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_tcpu
 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
 

Detailed Description

internal representation of a task

Definition at line 25 of file task.h.


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