tasking: add loading of a process' page directory before switching
This commit is contained in:
@@ -22,6 +22,8 @@ typedef struct Process
|
||||
uintptr_t* stackPointer; // Stack Pointer
|
||||
uint32_t flags; // Status/Flags register
|
||||
struct Process* next; // Pointer to the next task in the list
|
||||
|
||||
uint32_t* page_directory;
|
||||
} Process;
|
||||
|
||||
Process* task_create(EntryPoint func, void** args, uint32_t arg_count);
|
||||
|
||||
Reference in New Issue
Block a user