diff options
| author | Ian Moffett <ian@osmora.org> | 2025-11-17 20:48:17 -0500 |
|---|---|---|
| committer | Ian Moffett <ian@osmora.org> | 2025-11-17 20:48:17 -0500 |
| commit | 36c81aeaef9c633f80374f9107d3c0116b0cafdb (patch) | |
| tree | de9d8b2edc57780983e5bf0779c0ecfafe93f17f /sys | |
| parent | 96f377cc12baf1ab808925ac5ce7f3b3a9a2be19 (diff) | |
kern/amd64: cpu: Don't initialize bootspace twice
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/arch/amd64/cpu/mp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/arch/amd64/cpu/mp.c b/sys/arch/amd64/cpu/mp.c index cd6c733..247313a 100644 --- a/sys/arch/amd64/cpu/mp.c +++ b/sys/arch/amd64/cpu/mp.c @@ -215,7 +215,6 @@ cpu_lapic_cb(struct apic_header *h, size_t arg) panic("mp: failed to allocate stack\n"); } - cpu_init_bootspace(&bs); buda->rsp = (stack + (PAGESIZE - 1)) + KERN_BASE; buda->lm_entry = (uintptr_t)cpu_lm_entry; buda->cr3 = bs.pml4; |
