summaryrefslogtreecommitdiffhomepage
path: root/dev/Boot
diff options
context:
space:
mode:
authorAmlal <amlal.elmahrouss@icloud.com>2025-02-19 20:28:01 +0100
committerAmlal <amlal.elmahrouss@icloud.com>2025-02-19 20:28:01 +0100
commit3dcad477f1a8e050aee038c5a424fab1068b564b (patch)
tree7d0c689de2eadcb56cc2dcc41b07c13a47f4b1ff /dev/Boot
parenta4975f8b54c863583a7dfdd88d711bc4d2074059 (diff)
ADD: Found the root cause of the AHCI issue.
Signed-off-by: Amlal <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/Boot')
-rw-r--r--dev/Boot/amd64-desktop.make6
1 files changed, 4 insertions, 2 deletions
diff --git a/dev/Boot/amd64-desktop.make b/dev/Boot/amd64-desktop.make
index de14f5ca..300856c7 100644
--- a/dev/Boot/amd64-desktop.make
+++ b/dev/Boot/amd64-desktop.make
@@ -50,12 +50,14 @@ endif
ifeq ($(shell uname), Darwin)
EMU_FLAGS=-net none -smp 4 -m 8G \
- -bios $(BIOS) -cdrom $(BOOT) -boot d
+ -bios $(BIOS) -cdrom $(BOOT) -boot d -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) -M q35 -cdrom $(BOOT) -boot d -accel kvm
+ -bios $(BIOS) -M q35 -cdrom $(BOOT) -boot d -accel kvm -drive \
+ file=fat:rw:src/Root/,index=3,format=raw
endif
LD_FLAGS=-e Main --subsystem=10