Commit Graph

67 Commits

Author SHA1 Message Date
mintsuki 4abedffb43 disk: BIOS: Skip drive if sector size is 0. Fixes #294 2023-08-19 08:20:45 -05:00
mintsuki 27a32e416c disk: Add additional volume_index_i overflow guards 2023-08-18 13:37:16 -05:00
mintsuki 474fc105a5 gop: Readd preset mode storage 2023-07-29 11:55:37 -05:00
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
mintsuki 93ae0e9afc textmode: Actually disable term hooking on non-managed initialisation 2023-04-13 18:49:26 +02:00
mintsuki 01eeeb6e1d term: Drop in_bootloader for new Flanterm 2023-03-30 01:23:55 +02:00
mintsuki 779571339e misc: Updates for Flanterm rebrand 2023-03-29 22:43:06 +02:00
mintsuki 980c122475 vga_textmode: Minor cursor-related bug fixes 2023-03-07 13:07:28 +01:00
mintsuki e909489635 vga_textmode: Unbreak on trunk 2023-02-16 03:21:06 +01: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 2ee939725e term: Compatibility with new terminal code 2022-12-30 07:58:46 +01:00
mintsuki b3c08f8122 term: Compatibility with latest terminal changes 2022-12-14 16:35:03 +01:00
mintsuki c2854bde82 gop: Fix small issue causing IA-32 UEFI port not to build 2022-11-19 06:35:41 +01: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
mint 15127263ca
Merge pull request #236 from beakeyz/memleakfix_disk_create_index
Fixed little memory leak in the UEFI build
2022-11-19 00:37:55 +01:00
mintsuki d39baeaa80 video: Initial support for multiple framebuffers 2022-11-18 23:59:31 +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 bf4c0f7d7a gop: Remove ConOut logic 2022-11-15 11:25:51 +01:00
mintsuki e924aa5f26 gop: Use ConOut to obtain GOP whenever possible 2022-11-14 07:35:06 +01:00
mintsuki 60c115658c Revert "gop: Allow user to select which GOP to use in config. Addresses #233"
This reverts commit d82dc64b93.
2022-11-14 07:35:06 +01:00
mintsuki 20572082c1 Revert "gop: Fix implicit declaration warning introduced in d82dc64b"
This reverts commit c477414c5c.
2022-11-14 07:35:06 +01:00
mintsuki c477414c5c gop: Fix implicit declaration warning introduced in d82dc64b 2022-11-12 00:34:20 +01:00
mintsuki d82dc64b93 gop: Allow user to select which GOP to use in config. Addresses #233 2022-11-11 23:40:56 +01:00
mintsuki 3c541576f3 disk: Fix wrong parameter passed to ReadBlocks() 2022-10-14 06:59:35 +02:00
mintsuki c14bb6059f gop: Do not zero default_res out erroneously 2022-10-14 05:34:54 +02:00
mintsuki e0aec79cb6 limine: Add support for framebuffer modes listing 2022-10-14 05:19:13 +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
mint 23f2c7dbac
Merge pull request #228 from czapek1337/some-fixes
Some minor fixes
2022-10-06 06:05:37 +02:00
mintsuki 7f09259c57 term: Misc improvements for SERIAL=yes on EFI 2022-10-06 05:41:21 +02:00
mintsuki 610a98d8b2 term: Unbreak textmode + serial combo 2022-10-06 05:41:21 +02:00
czapek1337 44a3f3f2f7
disk: Use BLOCK_IO instead of DISK_IO 2022-10-06 05:38:06 +02:00
mintsuki ac34ec411f term: Better ensure term is not accessed when NULL 2022-10-05 15:01:01 +02:00
mintsuki f977548e84 term: Reimplement context control 2022-10-04 20:39:50 +02:00
mintsuki 48a7c12e5b term: Misc fixes and improvements 2022-10-04 19:10:38 +02:00
mintsuki d3c8a66918 term: Misc fixes and improvements 2022-10-04 08:21:59 +02:00
mintsuki b34954bb43 term: Misc fixes and improvements 2022-10-04 07:24:42 +02:00
mintsuki f6ba5991b5 term: Misc minor bug fixes 2022-10-04 05:39:48 +02:00
mintsuki 0f1d86e7e4 term: Tidy up VGA textmode wrapper code 2022-10-04 02:34:11 +02:00
mintsuki 4d855fc17e term: Move to use external, portable terminal 2022-10-04 00:58:00 +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 0af37b7cf0 fwcfg: Drop support 2022-07-13 06:23:20 +02:00