diff options
| author | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-22 03:47:51 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-22 03:47:51 +0100 |
| commit | bc9b63a3dbc63d818e90237beb019f584acfe133 (patch) | |
| tree | 8c95e0dbfbbe5fce9ca8e10f6ce9b84236fa756c /Private/NewBoot/Source/makefile | |
| parent | 6f1aa4288c62580afb876fb9e35a45d022027d1d (diff) | |
NewBoot: Working ATA driver, and new drive scheme, each data has a
padding of 1 byte.
Example:
{ "H", "\0", "e", "\0", "y" }
So that the drive doesnt skip any bytes.
Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Private/NewBoot/Source/makefile')
| -rw-r--r-- | Private/NewBoot/Source/makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Private/NewBoot/Source/makefile b/Private/NewBoot/Source/makefile index 631550c9..948a6519 100644 --- a/Private/NewBoot/Source/makefile +++ b/Private/NewBoot/Source/makefile @@ -16,7 +16,8 @@ else EMU=qemu-system-x86_64w.exe endif -EMU_FLAGS=-net none -smp 2 -m 4G -M q35 -bios OVMF.fd -drive file=fat:rw:CDROM,index=1,format=raw -serial stdio +IMG=epm.img +EMU_FLAGS=-net none -smp 2 -m 4G -M q35 -bios OVMF.fd -device piix3-ide,id=ide -drive id=disk,file=$(IMG),format=raw,if=none -device ide-hd,drive=disk,bus=ide.0 -drive file=fat:rw:CDROM,index=2,format=raw -serial stdio LD_FLAGS=-e efi_main --subsystem=10 OBJ=$(wildcard *.o) $(wildcard ../../Objects/*.obj) $(wildcard HEL/AMD64/*.obj) @@ -45,6 +46,10 @@ compile-amd64: run-efi-amd64: $(EMU) $(EMU_FLAGS) +.PHONY: epm-img +epm-img: + qemu-img create -f raw $(IMG) 256M + .PHONY: download-edk download-edk: $(HTTP_GET) https://retrage.github.io/edk2-nightly/bin/DEBUGX64_OVMF.fd -O OVMF.fd |
