summaryrefslogtreecommitdiffhomepage
path: root/dev/Boot
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-02-12 08:17:05 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-02-12 08:17:05 +0100
commit701ab62ee9e3d723e01223f38ebd4d1804f6f2ad (patch)
treec605a779279e37bb5a9a4038f900e1a43b575a56 /dev/Boot
parent22b7b4427fd01384aad23b4669427aab75d32a42 (diff)
ADD: Close to a final AHCI product.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/Boot')
-rw-r--r--dev/Boot/amd64-desktop.make8
1 files changed, 8 insertions, 0 deletions
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