My Kernel v0.1.0

Contains all the system-level information about a task.

#include <process.h>

Data Fields

u32 cr3
 Physical address of the process's page directory.
 
u32 esp0
 Address of the top of the thread's kernel stack. More...
 
u32 esp_user
 Address of the top of the user stack This is only valid for user threads.
 
u32 esp
 The thread's current stack pointer. More...
 
struct interrupt_frame frame
 Frame pushed during the last userland -> kernel context switch.
 

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