summaryrefslogtreecommitdiffhomepage
path: root/Boot
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-06-19 19:08:17 +0200
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-06-19 19:08:17 +0200
commitdd643d1266229e5b7e81ae9ace988921e9c2c3b0 (patch)
tree9e1ff454a1334e3c33b97bf8853bb6c687816513 /Boot
parent19d0857d84cbc0267a8b222368e143bdcdaaf9a7 (diff)
unstable: AMD64 fixes, finish AMD64 HAL after release of phone.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Boot')
-rw-r--r--Boot/BootKit/BootKit.hxx2
-rw-r--r--Boot/amd64-efi.make6
2 files changed, 4 insertions, 4 deletions
diff --git a/Boot/BootKit/BootKit.hxx b/Boot/BootKit/BootKit.hxx
index 93b9986e..77943a10 100644
--- a/Boot/BootKit/BootKit.hxx
+++ b/Boot/BootKit/BootKit.hxx
@@ -330,7 +330,7 @@ inline Boolean BDiskFormatFactory<BootDev>::Format(const char* partName,
/// @note A catalog roughly equal to a sector.
- constexpr auto cMinimumDiskSize = 10; // at minimum.
+ constexpr auto cMinimumDiskSize = 2; // at minimum.
/// @note also look at EPM headers, for free part blocks.
diff --git a/Boot/amd64-efi.make b/Boot/amd64-efi.make
index 37ac3704..7439ebf3 100644
--- a/Boot/amd64-efi.make
+++ b/Boot/amd64-efi.make
@@ -28,7 +28,7 @@ BIOS=OVMF.fd
IMG=epm.img
IMG_2=epm-slave.img
-EMU_FLAGS=-net none -smp 4 -m 4G -M q35 -d int \
+EMU_FLAGS=-net none -m 4G -M q35 -d int \
-bios $(BIOS) -device piix3-ide,id=ide \
-drive id=disk,file=$(IMG),format=raw,if=none \
-device ide-hd,drive=disk,bus=ide.0 -drive \
@@ -86,8 +86,8 @@ run-efi-amd64:
# img_2 is the rescue disk. img is the bootable disk, as provided by the Zeta.
.PHONY: epm-img
epm-img:
- qemu-img create -f raw $(IMG) 10G
- qemu-img create -f raw $(IMG_2) 512M
+ qemu-img create -f raw $(IMG) 4G
+ qemu-img create -f raw $(IMG_2) 4G
.PHONY: download-edk
download-edk: