summaryrefslogtreecommitdiffstats
path: root/arch/x86_64/hal/smp.c
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2026-09-04 21:38:16 -0400
committerJon Santmyer <jon@jonsantmyer.com>2026-09-04 21:38:16 -0400
commit69a27cf95a8a8e3bbbd5e3d81a36893bf312cf3e (patch)
tree47ff56106345e43fbb5184071c8fe72987fe62bb /arch/x86_64/hal/smp.c
parent1768abb217f974cf96448ee847453b604800c546 (diff)
downloadjove-kernel-69a27cf95a8a8e3bbbd5e3d81a36893bf312cf3e.tar.gz
jove-kernel-69a27cf95a8a8e3bbbd5e3d81a36893bf312cf3e.tar.bz2
jove-kernel-69a27cf95a8a8e3bbbd5e3d81a36893bf312cf3e.zip
add usermode jump into init
Diffstat (limited to 'arch/x86_64/hal/smp.c')
-rw-r--r--arch/x86_64/hal/smp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86_64/hal/smp.c b/arch/x86_64/hal/smp.c
index a28fdc1..0b1ed9d 100644
--- a/arch/x86_64/hal/smp.c
+++ b/arch/x86_64/hal/smp.c
@@ -27,6 +27,7 @@ init_processor(processor_t *processor, jove_owned_obj_t *obj)
gdt_setup(processor);
idt_setup(processor);
+ msr_enable_sce();
msr_set_gs_base((uintptr_t)processor);
obj_settype(obj, JOVE_OBJ_PROCESSOR);