summaryrefslogtreecommitdiffhomepage
path: root/Private/NewBoot
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-02-25 18:19:19 +0100
committerAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-02-25 18:19:41 +0100
commit91c88797f7fa9dbb6cce12c14928a6fbd97d51b6 (patch)
tree9dd58ee1e796684e6ec15902d39836e45a1cf054 /Private/NewBoot
parent2bd2e28868d50a2f3ced8b1bfea68216ed35622a (diff)
Kernel: Did progress on interrupts, moved kernel main to HAL, as the
code here is very specific. Signed-off-by: Amlal El Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Private/NewBoot')
-rw-r--r--Private/NewBoot/Source/makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/Private/NewBoot/Source/makefile b/Private/NewBoot/Source/makefile
index 0e9cd4d2..30213e07 100644
--- a/Private/NewBoot/Source/makefile
+++ b/Private/NewBoot/Source/makefile
@@ -20,15 +20,19 @@ invalid-recipe:
bootloader-amd64:
$(CC_GNU) $(FLAG_GNU) HEL/AMD64/*.cxx *.cxx
$(ASM) $(FLAG_ASM) HEl/AMD64/AMD64-VirtualMemory.asm
- $(LD_GNU) $(OBJ) $(LD_FLAGS) -o HCoreKrnl.exe
- cp HCoreKrnl.exe CDROM/EFI/BOOT/BOOTX64.EFI
+ $(LD_GNU) $(OBJ) $(LD_FLAGS) -o HCoreLdr.exe
+ cp HCoreLdr.exe CDROM/EFI/BOOT/BOOTX64.EFI
+ cp HCoreLdr.exe CDROM/EFI/BOOT/HCORELDR.EFI
cp ../../HCoreKrnl.dll CDROM/HCOREKRNL.DLL
.PHONY: run-efi-amd64
run-efi-amd64:
- wget https://retrage.github.io/edk2-nightly/bin/DEBUGX64_OVMF.fd -O OVMF.fd
qemu-system-x86_64 -net none -smp 2 -m 4G -M q35 -bios OVMF.fd -drive file=fat:rw:CDROM,index=1,format=raw -serial stdio
+.PHONY: download-edk
+download-edk:
+ wget https://retrage.github.io/edk2-nightly/bin/DEBUGX64_OVMF.fd -O OVMF.fd
+
.PHONY: clean
clean:
rm -f $(OBJ) HCoreLdr.exe OVMF.fd