summaryrefslogtreecommitdiffhomepage
path: root/Kernel
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/HALKit/AMD64/HalBoot.asm4
-rw-r--r--Kernel/amd64-efi.make2
2 files changed, 3 insertions, 3 deletions
diff --git a/Kernel/HALKit/AMD64/HalBoot.asm b/Kernel/HALKit/AMD64/HalBoot.asm
index 6cd119ac..7bda9635 100644
--- a/Kernel/HALKit/AMD64/HalBoot.asm
+++ b/Kernel/HALKit/AMD64/HalBoot.asm
@@ -16,7 +16,7 @@
%define kArchAmd64 122
%define kHandoverMagic 0xBADCC
-section .newosldr
+section .ldr
HandoverMagic: dq kHandoverMagic
HandoverType: dw kTypeKernel
@@ -24,7 +24,7 @@ HandoverArch: dw kArchAmd64
;; This NewBootStart points to Main.
HandoverStart: dq hal_init_platform
-section .text
+section .start
[global ke_startup_platform]
diff --git a/Kernel/amd64-efi.make b/Kernel/amd64-efi.make
index bf41827b..3de2bf30 100644
--- a/Kernel/amd64-efi.make
+++ b/Kernel/amd64-efi.make
@@ -5,7 +5,7 @@
CC = x86_64-w64-mingw32-g++
LD = x86_64-w64-mingw32-ld
-CCFLAGS = -fshort-wchar -c -ffreestanding -fPIC -shared -D__NEWOS_AMD64__ -mno-red-zone -fno-rtti -fno-exceptions \
+CCFLAGS = -fshort-wchar -c -ffreestanding -shared -D__NEWOS_AMD64__ -mno-red-zone -fno-rtti -fno-exceptions \
-std=c++20 -D__NEWOS_SUPPORT_NX__ -I../Vendor -D__FSKIT_USE_NEWFS__ \
-D__NEWOSKRNL__ -D__HAVE_MAHROUSS_APIS__ -D__MAHROUSS__ -I./ -I../