From f99e383775fa43c5c1354067962b1590ff2abdae Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sat, 3 Feb 2024 20:39:06 +0100 Subject: NewBoot: Will work on AHCI instead, ATA is not getting any further in the future. Signed-off-by: Amlal El Mahrouss --- Private/NewBoot/Source/makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Private/NewBoot/Source/makefile') diff --git a/Private/NewBoot/Source/makefile b/Private/NewBoot/Source/makefile index eb836632..460b5dc1 100644 --- a/Private/NewBoot/Source/makefile +++ b/Private/NewBoot/Source/makefile @@ -16,16 +16,18 @@ invalid-recipe: .PHONY: bootloader-amd64 bootloader-amd64: - $(ASM) $(FLAG_ASM) HEL/AMD64/AMD64-CoreSync-ATA.asm $(CC_GNU) $(FLAG_GNU) HEL/AMD64/*.cxx *.cxx $(LD_GNU) *.o HEL/AMD64/*.obj -e efi_main -filealign:16 -shared --subsystem=10 -ffreestanding -o HCoreLdr.exe cp HCoreLdr.exe CDROM/EFI/BOOT/BOOTX64.EFI - cp ../../HCoreKrnl.exe CDROM/EFI/BOOT/HCoreKrnl.exe + +.PHONY: make-disk +make-disk: + qemu-img create -f qcow2 os.epm 1M .PHONY: run-efi-debug run-efi-debug: wget https://retrage.github.io/edk2-nightly/bin/DEBUGX64_OVMF.fd -O OVMF.fd - qemu-system-x86_64 -bios OVMF.fd -drive file=fat:rw:CDROM,format=raw -d int + qemu-system-x86_64 -M q35 -bios OVMF.fd -drive file=os.epm,index=0,if=ide,format=qcow2 -drive file=fat:rw:CDROM,index=1,format=raw -d int .PHONY: clean clean: -- cgit v1.2.3