diff options
author | Freya Murphy <freya@freyacat.org> | 2025-04-28 21:55:40 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-04-28 21:55:40 -0400 |
commit | c0a391cb11fe1b14f6622bad5697a72de1781eb2 (patch) | |
tree | 9131f2275cfe407381bf9c12f0bcfac3faec1919 /kernel/procs.c | |
parent | change struct gpu to gpu_dev (diff) | |
download | comus-c0a391cb11fe1b14f6622bad5697a72de1781eb2.tar.gz comus-c0a391cb11fe1b14f6622bad5697a72de1781eb2.tar.bz2 comus-c0a391cb11fe1b14f6622bad5697a72de1781eb2.zip |
fmt
Diffstat (limited to '')
-rw-r--r-- | kernel/procs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/procs.c b/kernel/procs.c index e2455ea..5b03e73 100644 --- a/kernel/procs.c +++ b/kernel/procs.c @@ -474,7 +474,7 @@ __attribute__((noreturn)) void dispatch(void) panic("dispatch queue remove failed, code %d", status); // set the process up for success - current_pcb->regs.cr3 = (uint64_t) mem_ctx_pgdir(current_pcb->memctx); + current_pcb->regs.cr3 = (uint64_t)mem_ctx_pgdir(current_pcb->memctx); current_pcb->state = PROC_STATE_RUNNING; current_pcb->ticks = 3; // ticks per process |