diff options
| author | Jon Santmyer <jon@jonsantmyer.com> | 2026-10-13 22:31:43 -0400 |
|---|---|---|
| committer | Jon Santmyer <jon@jonsantmyer.com> | 2026-10-13 22:31:43 -0400 |
| commit | 548506392b789f58b1556a6ffca917441e1d89fd (patch) | |
| tree | 58e4b747446ea64e7951e523353f58510b3a8b2f /arch/x86_64/hal/smp.c | |
| parent | c5e3bb7917689bc9ed54fee23a143144fade802d (diff) | |
| download | jove-kernel-548506392b789f58b1556a6ffca917441e1d89fd.tar.gz jove-kernel-548506392b789f58b1556a6ffca917441e1d89fd.tar.bz2 jove-kernel-548506392b789f58b1556a6ffca917441e1d89fd.zip | |
ipc functions. work on process spawning
Diffstat (limited to 'arch/x86_64/hal/smp.c')
| -rw-r--r-- | arch/x86_64/hal/smp.c | 3 |
1 files changed, 3 insertions, 0 deletions
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) |
