Commit Graph

52 Commits

Author SHA1 Message Date
mintsuki f3621c7bcc acpi: Add EBDA address sanity checks and work around bogus GCC warning 2022-07-01 15:04:57 +02:00
mintsuki 3d65bfb9b9 misc: Misc elsewhere and multiboot-related bug fixes 2022-06-29 12:32:50 +02:00
mintsuki 215bf87993 misc: Bring mb2 up to par to mb1 wrt everywhere ranges and bug fixes 2022-06-29 10:27:04 +02:00
mintsuki 19287d5ca1 misc: Add elsewhere TU and rework mb1 to use it 2022-06-29 09:34:14 +02:00
mintsuki e436b763c2 elf: Add elf*_load_elsewhere() functions 2022-06-29 08:16:22 +02:00
mintsuki 4e0ec6d544 elf: Undo all the mess caused by multiboot in preparation for separate functions 2022-06-29 07:48:10 +02:00
mintsuki fba565b34e elf: Add support for sliding and ELF ranges to ELF32 as well 2022-06-28 10:26:14 +02:00
mintsuki 27e2b84e31 elf64: Do not align ELF ranges if using paddr 2022-06-27 15:20:01 +02:00
mintsuki b92d48e44f multiboot(2): Initial support for arbitrary kernel load addresses 2022-06-27 10:55:57 +02:00
mintsuki 75c3585e58 build: Use binary libgcc from GCC instead of our own stubs. Closes #180 2022-06-20 04:28:59 +02:00
mintsuki ab84448be2 multiboot2: Fix broken section list size calculation (2) 2022-06-19 00:30:01 +02:00
mintsuki 7f6ac2d135 multiboot2: Add mb2_alloc() for quirky allocation locations 2022-06-18 23:40:34 +02:00
mintsuki 5b181e10a3 term: Move notready and fallback backends to stage 2 2022-06-17 20:29:23 +02:00
mintsuki 1fc8247a86 build: Increase portability of Makefile targets 2022-06-15 03:25:36 +02:00
mintsuki ab79b95632 elf: Load non-load sections in memory for multiboot 2022-05-29 06:03:59 +02:00
mintsuki b11b21dfb0 fb: Expand width and height to 64-bit 2022-05-22 06:38:34 +02:00
mintsuki c8973ed681 fat: Improve detection code 2022-05-07 16:24:04 +02:00
mintsuki c22492976a elf: Do not assume relocatable unless DT_RELA present. Fixes #170 2022-05-07 13:12:28 +02:00
mintsuki cf7d9e7360 readline: Fix 1 uncaught NULL deref 2022-04-22 16:48:17 +02:00
mintsuki df7e43df7f efi: Adjust for new reduced-gnu-efi 2022-04-20 04:00:00 +02:00
mintsuki 1af09d0749 mm/efi: Fix issue where in-use bootloader memory may be erroneously allocated 2022-04-19 22:28:21 +02:00
mintsuki d8180342f0 efi: Do not panic if GetMemoryMap() fails after first ExitBootServices() 2022-04-15 18:37:17 +02:00
mintsuki dae8927078 limine: Add support for .limine_reqs ELF section 2022-04-14 20:34:59 +02:00
mintsuki fb175747df limine: Add support for multiple terminals and properly document it 2022-04-01 10:00:36 +02:00
mintsuki abc3b309a4 gterm: Default to transparent bg if wallpaper is set 2022-03-30 03:19:05 +02:00
mintsuki 41ea16e2ff elf: Return is_reloc 2022-03-28 05:13:47 +02:00
mintsuki 6c7e5f87dd uri: Assign volume to compressed file handles 2022-03-27 23:43:05 +02:00
mintsuki 8aa1372ce9 elf: Return image size 2022-03-26 05:03:02 +01:00
mintsuki 99a4eaac23 config: Sanitise names of terminal keys 2022-03-22 04:09:29 +01:00
Benji Dial 1dd3885bb6
and for tabs 2022-03-20 21:38:50 -04:00
Benji Dial 66e3c5ef5c
also do it on the first line 2022-03-20 20:38:37 -04:00
Benji Dial 4df856f3dc
skip spaces at the start of lines in config files 2022-03-20 20:32:00 -04:00
mintsuki a51f8a39c0 limine: Add modules request 2022-03-16 06:49:41 +01:00
mintsuki ea6475885d misc: Panic improvements 2022-03-14 12:03:12 +01:00
mintsuki 5dd725dbab elf: Add more sanity checks 2022-03-13 17:46:11 +01:00
mintsuki ee1b9f19a1 misc: Bug fixes
Co-authored-by: pitust <piotr@stelmaszek.com>
2022-03-13 17:22:04 +01:00
mintsuki b6d0a63a3c term: Fix deinitialisation issues 2022-03-10 18:21:49 +01:00
mintsuki f3ffa8723f elf: Use PHDRs instead of sections for resolving relocations
Co-authored-by: Connor Horman <chorman64@gmail.com>
2022-03-08 21:05:48 +01:00
mintsuki 08547c0d8f time: Work around potential issue with day wraparound 2022-03-08 14:26:08 +01:00
mintsuki f59a1eac0b readline: Support odd backspace behaviour from serial
This addresses the problem with QEMU's serial input from terminal mentioned in issue #155
2022-03-07 22:09:33 +01:00
mintsuki af092292ea term: Change default settings to prefer video to text mode 2022-03-07 21:11:17 +01:00
mintsuki be2b099ba5 gterm: Fix crash if margin==0 with a background 2022-03-07 11:46:25 +01:00
mintsuki 7db81efbb0 stivale2: Ensure serial off before starting runtime term 2022-03-02 18:51:32 +01:00
mintsuki b718310205 readline: Unify getchar() impl for UEFI and BIOS 2022-03-02 15:15:22 +01:00
mintsuki 23ff2b0d2b misc: Ensure editor is not accessible from console if disabled 2022-03-02 13:31:09 +01:00
mintsuki 8812216481 io: Complete serial support. Closes #155 2022-03-01 17:53:46 +01:00
mintsuki c9c437971f efi: Do not fail on first ExitBootServices() attempt 2022-02-27 05:47:03 +01:00
mintsuki 34f075516d readline: Use .scan instead of .ascii to test timeout 2022-02-20 22:55:52 +01:00
mintsuki 225f1911c2 readline: Fix argument handling in sleep.asmb 2022-02-19 17:19:25 +01:00
mintsuki 319326a7f5 misc: Misc output fixes for serial support 2022-02-07 02:10:57 +01:00