From 701ab62ee9e3d723e01223f38ebd4d1804f6f2ad Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Wed, 12 Feb 2025 08:17:05 +0100 Subject: ADD: Close to a final AHCI product. Signed-off-by: Amlal El Mahrouss --- dev/Boot/amd64-desktop.make | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'dev/Boot') diff --git a/dev/Boot/amd64-desktop.make b/dev/Boot/amd64-desktop.make index 37244c91..161d5f59 100644 --- a/dev/Boot/amd64-desktop.make +++ b/dev/Boot/amd64-desktop.make @@ -28,9 +28,17 @@ BIOS=OVMF.fd IMG=epm-master-1.img IMG_2=epm-master-2.img +ifeq ($(shell uname), Darwin) +EMU_FLAGS=-net none -smp 4 -m 8G \ + -bios $(BIOS) -drive \ + file=fat:rw:src/Root/,index=3,format=raw +endif + +ifneq ($(shell uname), Darwin) EMU_FLAGS=-net none -smp 4 -m 8G \ -bios $(BIOS) -drive \ file=fat:rw:src/Root/,index=3,format=raw -accel kvm +endif LD_FLAGS=-e Main --subsystem=10 -- cgit v1.2.3