mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-10 23:09:18 +00:00
Fix 32-bit compilation
This commit is contained in:
@ -24,14 +24,14 @@ KERNEL_STACK_SIZE = 0x4000 /* 16KB */
|
||||
.extern LoadGDT32
|
||||
.extern BootPageTable
|
||||
|
||||
.section .bootstrap.data
|
||||
.section .bootstrap.data, "a"
|
||||
MB_HeaderMagic:
|
||||
.quad 0
|
||||
|
||||
MB_HeaderInfo:
|
||||
.quad 0
|
||||
|
||||
.section .bootstrap.text
|
||||
.section .bootstrap.text, "a"
|
||||
|
||||
.global Multiboot2_start
|
||||
Multiboot2_start:
|
||||
@ -73,7 +73,7 @@ Multiboot2_start:
|
||||
hlt
|
||||
jmp .Hang
|
||||
|
||||
.section .bootstrap.bss
|
||||
.section .bootstrap.bss, "a"
|
||||
.align 16
|
||||
KernelStack:
|
||||
.space KERNEL_STACK_SIZE
|
||||
|
Reference in New Issue
Block a user