better panic

This commit is contained in:
2026-02-07 02:18:15 +01:00
parent b920c87bab
commit 458ba375f3
8 changed files with 36 additions and 16 deletions

View File

@@ -24,6 +24,7 @@ struct process_t
status_t status;
struct cpu_status_t* context;
void* root_page_table; // Process PML4 (should contain kernel PML4 in higher half [256-511]
struct process_t* next;
};

7
src/sched/task.S Normal file
View File

@@ -0,0 +1,7 @@
; Task (process) switching
bits 64
global switch_to_task
switch_to_task: