Commit Graph

21 Commits

Author SHA1 Message Date
Bryce Lanham dceb954807 Fix netboot in configs where BLOCK_IO does not exist
For example, netbooting qemu-system-aarch64 with no drive specified will
result in OVMF not loading the BLOCK_IO_PROTOCOL, causing a panic in
disk.s2.c.
2023-06-06 01:51:20 +02:00
mintsuki 04a57cdfdd disk/efi: Do not use DISK_IO protocol and fix buffer reuse bug 2023-05-30 22:44:13 +02:00
Qwinci 5efd4357dc limine: Add UEFI PXE support based on @qookei's original patch with small changes. 2023-01-20 21:05:24 +01:00
mintsuki 1c0db86965 disk: Fix issue where _p struct was not zeroed out in create_disk_index() 2022-11-19 08:20:04 +01:00
beakeyz 690c3ccee9 Fixed little memory leak in the UEFI build that would make the bootloader crash on systems with larger disks 2022-11-19 08:20:04 +01:00
mintsuki 8b1c1ef6e5 disk: Fix wrong parameter passed to ReadBlocks() 2022-10-14 07:45:10 +02:00
mintsuki 1eefb6b6a8 disk: UEFI: Add BLOCK_IO fallback for volume_from_efi_handle() 2022-10-14 05:42:15 +02:00
mintsuki ed238b7ccf disk: On UEFI, improve optical vs non-optical detection 2022-10-14 05:42:15 +02:00
mintsuki 9d1d910d9c disk: Only use BLOCK_IO as fallback to DISK_IO when determining optical 2022-10-09 11:09:27 +02:00
mintsuki 2e05e4ca40 disk: On BIOS, change how optical is determined 2022-10-09 11:09:27 +02:00
czapek1337 6a8e4eb49a disk: Use BLOCK_IO instead of DISK_IO 2022-10-06 06:34:42 +02:00
mintsuki a37391ce6d disk/efi: Improve firmware error handling 2022-09-20 10:10:00 +02:00
mintsuki 14181a9eba efi/disk: Use blake2b to calculate unique sector hash 2022-09-16 11:50:47 +02:00
mintsuki c44f514738 misc: Rename UEFI and BIOS define macros 2022-09-02 02:29:12 +02:00
mintsuki 9b3570f043 bios/disk: Fix always-true comparison warning 2022-09-01 04:42:49 +02:00
mintsuki 1b630659d9 bios/disk: Add manual sector size detection code 2022-09-01 04:22:30 +02:00
mintsuki 07080dcbc2 misc: blib.h -> misc.h 2022-08-26 23:44:47 +02:00
mintsuki 55199478db efi: Fix broken assignments of handles_size 2022-07-01 09:07:45 +02:00
mintsuki f9e90da2c2 efi: Fix potential issues with LocateHandle invocations 2022-07-01 08:03:21 +02:00
mintsuki b80fb36744 misc: Misc Hyper-V related fixes. Closes #150 2022-02-09 12:45:55 +01:00
mintsuki 400202d926 misc: stage23 -> common 2022-02-03 10:38:43 +01:00