forked from Bananymous/banan-os
Kernel: Move structures in boot.S to .data section
This commit is contained in:
parent
03d4b47f63
commit
51532336b0
|
@ -47,7 +47,7 @@
|
||||||
g_multiboot_magic:
|
g_multiboot_magic:
|
||||||
.skip 8
|
.skip 8
|
||||||
|
|
||||||
.section .text
|
.section .data
|
||||||
|
|
||||||
# Map first GiB to 0x00000000 and 0xFFFFFFFF80000000
|
# Map first GiB to 0x00000000 and 0xFFFFFFFF80000000
|
||||||
.align 4096
|
.align 4096
|
||||||
|
@ -83,6 +83,8 @@ boot_gdtr:
|
||||||
.short . - boot_gdt - 1
|
.short . - boot_gdt - 1
|
||||||
.quad V2P(boot_gdt)
|
.quad V2P(boot_gdt)
|
||||||
|
|
||||||
|
.section .text
|
||||||
|
|
||||||
has_cpuid:
|
has_cpuid:
|
||||||
pushfl
|
pushfl
|
||||||
pushfl
|
pushfl
|
||||||
|
|
Loading…
Reference in New Issue