From 548506392b789f58b1556a6ffca917441e1d89fd Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Tue, 13 Oct 2026 22:31:43 -0400 Subject: ipc functions. work on process spawning --- arch/x86_64/hal/smp.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'arch/x86_64/hal/smp.c') diff --git a/arch/x86_64/hal/smp.c b/arch/x86_64/hal/smp.c index 392e68f..7d94340 100644 --- a/arch/x86_64/hal/smp.c +++ b/arch/x86_64/hal/smp.c @@ -1,4 +1,5 @@ #include "smp.h" +#include "hal/memory.h" #include "proc/init.h" #include "config.h" #include "jove.h" @@ -57,6 +58,8 @@ smp_init_bsp(void) idt_init(); paging_pml4_init(); + + bsp->tss.rsp[0] = __interrupt_stack; } inline processor_t *processor_current(void) -- cgit v1.2.3