diff options
| author | Amlal EL Mahrouss <amlalelmahrouss@icloud.com> | 2024-08-04 16:50:52 +0200 |
|---|---|---|
| committer | Amlal EL Mahrouss <amlalelmahrouss@icloud.com> | 2024-08-04 16:50:52 +0200 |
| commit | 34bb37c9a464ab0dfccfa5ff217a283e36b32693 (patch) | |
| tree | e1d6c5c81d840f5747942e20fe6dd2e0015ec536 /Kernel | |
| parent | 1b92501a27f8781945bc6b19bb43e22588d4c933 (diff) | |
[IMP] [MHR-39] Ticket has been implemented.
Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Kernel')
| -rw-r--r-- | Kernel/HALKit/AMD64/HalBoot.asm | 4 | ||||
| -rw-r--r-- | Kernel/amd64-efi.make | 2 |
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../ |
