summaryrefslogtreecommitdiffhomepage
path: root/dev/ZBA/amd64-efi.make
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-08-24 08:51:21 +0200
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-08-24 08:54:22 +0200
commit4185fcc698e237225902646736c6b23f6b5e54be (patch)
tree7b0fc0bb58cb20c61e676b13e3e0f7fd52c73a56 /dev/ZBA/amd64-efi.make
parentb31d81cd939ed3e8bb5fade029b32876e71ed54c (diff)
[IMP+REFACTORS] See below.
+ Add SysChk driver instead of BootScr. + Working on AHCI driver, did progress on detection, need to find out why the signature are set to zero. + Refactor PE loader structures. Add BecomeBusMaster call when probing AHCI disk. + Alongside some other modifications. Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/ZBA/amd64-efi.make')
-rw-r--r--dev/ZBA/amd64-efi.make11
1 files changed, 7 insertions, 4 deletions
diff --git a/dev/ZBA/amd64-efi.make b/dev/ZBA/amd64-efi.make
index ef54c12c..f5c19801 100644
--- a/dev/ZBA/amd64-efi.make
+++ b/dev/ZBA/amd64-efi.make
@@ -32,8 +32,11 @@ IMG_3=epm-master-2.img
EMU_FLAGS=-net none -smp 4 -m 8G -M q35 \
-bios $(BIOS) -device piix3-ide,id=ide \
-drive id=disk,file=$(IMG),format=raw,if=none \
- -device ide-hd,drive=disk,bus=ide.0 -hdd $(IMG_2) -drive \
- file=fat:rw:Sources/Root/,index=2,format=raw -d int
+ -device ide-hd,drive=disk,bus=ide.0 -drive \
+ file=fat:rw:Sources/Root/,index=2,format=raw -d int \
+ -drive id=disk_2,file=$(IMG_2),if=none \
+ -device ahci,id=ahci \
+ -device ide-hd,drive=disk_2,bus=ahci.0
LD_FLAGS=-e Main --subsystem=10
@@ -53,7 +56,7 @@ KERNEL=newoskrnl.dll
DDK=ddk.dll
SCI=sci.dll
CRT=ndkcrt.dll
-BOOT_SCR=bootscr.sys
+SYS_CHK=syschk.sys
.PHONY: invalid-recipe
invalid-recipe:
@@ -68,7 +71,7 @@ all: compile-amd64
$(COPY) ../ZKA/$(KERNEL) Sources/Root/$(KERNEL)
$(COPY) ../SCI/$(SCI) Sources/Root/$(SCI)
$(COPY) ../DDK/$(DDK) Sources/Root/$(DDK)
- $(COPY) ./Modules/BootScr/$(BOOT_SCR) Sources/Root/$(BOOT_SCR)
+ $(COPY) ./Modules/SysChk/$(SYS_CHK) Sources/Root/$(SYS_CHK)
$(COPY) ../CRT/$(CRT) Sources/Root/$(CRT)
$(COPY) Sources/$(BOOT_LOADER) Sources/Root/$(BOOT_LOADER)