vmm: debug user code page fault

This commit is contained in:
RaphProductions 2025-05-11 15:35:45 +02:00
parent a379d66784
commit 5168cfa4e1
4 changed files with 113 additions and 84 deletions

View file

@ -153,6 +153,8 @@ void schedule(registers_t *regs) {
if (curr_proc == NULL)
curr_proc = proc_list;
log("sched - I choosed process %d\n", curr_proc->pid);
// log("sched - I choosed process %d\n", curr_proc->pid);
memcpy(regs, &curr_proc->regs, sizeof(registers_t));