mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:57:35 +00:00
Kernel: Get rid of of some of the duplicate kernel base address macros
This commit is contained in:
parent
040fe0054b
commit
8c14488106
4 changed files with 34 additions and 32 deletions
|
@ -1,4 +1,5 @@
|
|||
.set KERNEL_VIRTUAL_BASE, 0xc0000000
|
||||
#define _BOOTLOADER
|
||||
#include <Kernel/Sections.h>
|
||||
|
||||
.extern init_ap
|
||||
.type init_ap, @function
|
||||
|
@ -109,7 +110,7 @@ apic_ap_start32_2:
|
|||
|
||||
/* push the Processor pointer this CPU is going to use */
|
||||
movl (ap_cpu_init_processor_info_array - apic_ap_start)(%ebp), %eax
|
||||
addl $KERNEL_VIRTUAL_BASE, %eax
|
||||
addl $KERNEL_BASE, %eax
|
||||
movl 0(%eax, %esi, 4), %eax
|
||||
push %eax
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue