From 34bb37c9a464ab0dfccfa5ff217a283e36b32693 Mon Sep 17 00:00:00 2001 From: Amlal EL Mahrouss Date: Sun, 4 Aug 2024 16:50:52 +0200 Subject: [IMP] [MHR-39] Ticket has been implemented. Signed-off-by: Amlal EL Mahrouss --- Kernel/HALKit/AMD64/HalBoot.asm | 4 ++-- Kernel/amd64-efi.make | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'Kernel') 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../ -- cgit v1.2.3