1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 20:17:44 +00:00

Kernel: Fix CPU initialization for SMP

This was broken by the KASLR changes.
This commit is contained in:
Gunnar Beutner 2021-07-27 19:43:20 +02:00 committed by Andreas Kling
parent 4bdd62939a
commit 3a4d3b15e3
2 changed files with 2 additions and 2 deletions

View file

@ -141,7 +141,7 @@ apic_ap_start64:
/* push the Processor pointer this CPU is going to use */
movq (ap_cpu_init_processor_info_array - apic_ap_start)(%ebp), %rax
leaq kernel_load_base(%rip), %r8
leaq kernel_mapping_base(%rip), %r8
movq (%r8), %r8
addq %r8, %rax
movq 0(%rax, %rsi, 4), %rax