tasking: add loading of a process' page directory before switching

This commit is contained in:
2025-04-10 21:38:31 +03:00
parent 372b308ec8
commit 65565dd4a6
2 changed files with 12 additions and 5 deletions
+2
View File
@@ -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);