Bryce Lanham
fe083d3701
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-01 03:33:13 -05:00
mintsuki
f26b651e5f
disk/efi: Do not use DISK_IO protocol and fix buffer reuse bug
2023-05-30 21:36:09 +02:00
Qwinci
3dd0a6fb41
limine: Add UEFI PXE support
...
based on @qookei's original patch with small changes.
2023-01-17 18:47:36 +02:00
mintsuki
f9399fd5a3
disk: Fix issue where _p struct was not zeroed out in create_disk_index()
2022-11-19 06:35:41 +01:00
beakeyz
28187433f9
Fixed little memory leak in the UEFI build that would make the bootloader crash on systems with larger disks
2022-11-18 22:28:28 +00:00
mintsuki
3c541576f3
disk: Fix wrong parameter passed to ReadBlocks()
2022-10-14 06:59:35 +02:00
mintsuki
b30d2dc978
disk: UEFI: Add BLOCK_IO fallback for volume_from_efi_handle()
2022-10-14 00:02:55 +02:00
mintsuki
da5896b764
disk: On UEFI, improve optical vs non-optical detection
2022-10-14 00:02:55 +02:00
mintsuki
96fe1aa2e0
disk: Only use BLOCK_IO as fallback to DISK_IO when determining optical
2022-10-09 10:58:07 +02:00
mintsuki
d265cad7b6
disk: On BIOS, change how optical is determined
2022-10-09 10:58:07 +02:00
czapek1337
44a3f3f2f7
disk: Use BLOCK_IO instead of DISK_IO
2022-10-06 05:38:06 +02:00
mintsuki
e89d834457
disk/efi: Improve firmware error handling
2022-09-19 20:48:42 +02:00
mintsuki
886523359c
efi/disk: Use blake2b to calculate unique sector hash
2022-09-15 12:53: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