Use reference counting to track filetime of process PD
All checks were successful
Build documentation / build-and-deploy (push) Successful in 26s

This commit is contained in:
2026-01-14 23:11:06 +01:00
parent 270ff507d4
commit 7cd5623d36
6 changed files with 44 additions and 27 deletions

View File

@@ -12,5 +12,5 @@ void do_sched (struct proc* proc) {
thiscpu->tss.rsp0 = proc->pdata.kernel_stack;
thiscpu->syscall_kernel_stack = proc->pdata.kernel_stack;
amd64_do_sched ((void*)&proc->pdata.regs, (void*)proc->pd.cr3_paddr);
amd64_do_sched ((void*)&proc->pdata.regs, (void*)proc->pd->cr3_paddr);
}