summaryrefslogtreecommitdiffhomepage
path: root/dev/Boot/amd64-desktop.make
diff options
context:
space:
mode:
authorAmlal <amlal.elmahrouss@icloud.com>2025-01-27 15:09:24 +0100
committerAmlal <amlal.elmahrouss@icloud.com>2025-01-27 15:09:24 +0100
commita4d64ddc1375f40a4c72bd2ba9326df04058c9bb (patch)
treebee09c5cd413151a84183c1ebc8ca81ab7c3c88b /dev/Boot/amd64-desktop.make
parent974d89be4047f92b9f55e3e8821f4b89c9ab945b (diff)
Bump and fixes.
Signed-off-by: Amlal <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/Boot/amd64-desktop.make')
-rw-r--r--dev/Boot/amd64-desktop.make11
1 files changed, 6 insertions, 5 deletions
diff --git a/dev/Boot/amd64-desktop.make b/dev/Boot/amd64-desktop.make
index 4e817a43..14ed07cd 100644
--- a/dev/Boot/amd64-desktop.make
+++ b/dev/Boot/amd64-desktop.make
@@ -28,7 +28,7 @@ BIOS=OVMF.fd
IMG=epm-master-1.img
IMG_2=epm-master-2.img
-EMU_FLAGS=-net none -smp 4 -m 8G -M q35 \
+EMU_FLAGS=-net none -smp 4 -m 8G \
-bios $(BIOS) -drive \
file=fat:rw:src/Root/,index=2,format=raw \
-d int
@@ -82,14 +82,15 @@ compile-amd64:
.PHONY: run-efi-amd64-ahci
run-efi-amd64-ahci:
- $(EMU) $(EMU_FLAGS) -device ahci,id=ahci0 \
- -drive id=disk,file=$(IMG),if=none,format=raw \
- -device ide-hd,drive=disk \
+ $(EMU) $(EMU_FLAGS) -M q35 -drive file=$(IMG),format=raw,if=none,id=disk \
+ -device ich9-ahci,id=ahci \
+ -device ide-hd,drive=disk,bus=ahci.0 \
+ -enable-kvm \
-s -S
.PHONY: run-efi-amd64-ata
run-efi-amd64-ata:
- $(EMU) $(EMU_FLAGS) -device piix3-ide,id=ide -drive id=disk,file=$(IMG),format=raw,if=none -device ide-hd,drive=disk,bus=ide.0 -s -S
+ $(EMU) $(EMU_FLAGS) -enable-kvm -device piix4-ide,id=ide -drive id=disk,file=$(IMG),format=raw,if=none -device ide-hd,drive=disk,bus=ide.0 -s -S
# img_2 is the rescue disk. img is the bootable disk, as provided by the Zeta specs.
.PHONY: epm-img