Commit Graph

61 Commits

Author SHA1 Message Date
mintsuki 098eb82dd2 gop: Readd preset mode storage 2023-07-29 11:56:59 -05:00
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
mintsuki cbc7e5a860 textmode: Actually disable term hooking on non-managed initialisation 2023-04-14 13:41:41 +02:00
mintsuki f1f56958ea term: Drop in_bootloader for new Flanterm 2023-03-30 05:40:21 +02:00
mintsuki 7a3e1f7773 misc: Updates for Flanterm rebrand 2023-03-30 05:40:21 +02:00
mintsuki 39784a2199 vga_textmode: Minor cursor-related bug fixes 2023-03-07 14:01:59 +01:00
mintsuki 08b349e513 misc: Backport multiple framebuffer support from trunk 2023-02-16 04:13:22 +01: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 258388c890 term: Compatibility with new terminal code 2022-12-30 08:31:39 +01:00
mintsuki 72f074bfc2 term: Compatibility with latest terminal changes 2022-12-14 16:35:05 +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 066244c692 gop: Remove ConOut logic 2022-11-19 08:20:04 +01:00
mintsuki 0f70361281 gop: Use ConOut to obtain GOP whenever possible 2022-11-14 08:10:19 +01:00
mintsuki e95df146df Revert "gop: Allow user to select which GOP to use in config. Addresses #233"
This reverts commit d82dc64b93.
2022-11-14 08:10:19 +01:00
mintsuki b10c5617c1 Revert "gop: Fix implicit declaration warning introduced in d82dc64b"
This reverts commit c477414c5c.
2022-11-14 08:10:19 +01:00
mintsuki 76a5873369 gop: Fix implicit declaration warning introduced in d82dc64b 2022-11-12 00:54:30 +01:00
mintsuki f78243c375 gop: Allow user to select which GOP to use in config. Addresses #233 2022-11-12 00:54:30 +01:00
mintsuki 8b1c1ef6e5 disk: Fix wrong parameter passed to ReadBlocks() 2022-10-14 07:45:10 +02:00
mintsuki 9bf0d263ee gop: Do not zero default_res out erroneously 2022-10-14 05:42:15 +02:00
mintsuki 09941f905b limine: Add support for framebuffer modes listing 2022-10-14 05:42:15 +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
mintsuki ff145eb511 term: Misc improvements for SERIAL=yes on EFI 2022-10-06 06:38:35 +02:00
mintsuki 33dac9b38a term: Unbreak textmode + serial combo 2022-10-06 06:38:35 +02:00
czapek1337 6a8e4eb49a disk: Use BLOCK_IO instead of DISK_IO 2022-10-06 06:34:42 +02:00
mintsuki 9722827002 term: Better ensure term is not accessed when NULL 2022-10-05 15:05:17 +02:00
mintsuki 7065967be3 term: Reimplement context control 2022-10-04 22:22:31 +02:00
mintsuki f5cdb5b900 term: Misc fixes and improvements 2022-10-04 22:22:31 +02:00
mintsuki 223ebc1932 term: Misc fixes and improvements 2022-10-04 22:22:31 +02:00
mintsuki 1c06055e6d term: Misc fixes and improvements 2022-10-04 22:22:31 +02:00
mintsuki 68f9bdcdca term: Misc minor bug fixes 2022-10-04 22:22:31 +02:00
mintsuki c30dffd147 term: Tidy up VGA textmode wrapper code 2022-10-04 22:22:31 +02:00
mintsuki ad8151a6a6 term: Move to use external, portable terminal 2022-10-04 22:22:31 +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 0af37b7cf0 fwcfg: Drop support 2022-07-13 06:23:20 +02:00
mintsuki 7db783f080 edid: Undo comparison change from 29d63d6 2022-07-06 04:47:42 +02:00
mintsuki 29d63d6b3e gop: Use LocateHandle/HandleProtocol to get GOP instance 2022-07-01 13:08:08 +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 57f384eed5 gop: Ensure QueryMode() is called properly 2022-06-02 09:52:32 +02:00
mintsuki 3b60c7bb80 Revert "gop: Force 32 bpp for preset mode fallback"
This reverts commit 3dbed1dc59.
2022-06-02 09:51:03 +02:00