Commit Graph

226 Commits

Author SHA1 Message Date
mintsuki b899d1accd multiboot2: Remove useless, broken comparison 2022-06-29 15:20:09 +02:00
mintsuki a1bf37382d multiboot2: Bring framebuffer tag up to par with mb1 2022-06-29 13:25:09 +02:00
mintsuki 77b405a6b6 multiboot2: Bring a.out kludge up to par with mb1 2022-06-29 13:04:26 +02:00
mintsuki 94a20e649b multiboot: Fix relocator assembly issues 2022-06-29 12:41:42 +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 a2f7d2d314 multiboot1: Add ahead-of-time info size calculation 2022-06-29 07:26:06 +02:00
mintsuki d7d0a84462 multiboot1: Properly support relocation for a.out kludge kernels and bug fixes 2022-06-28 11:41:15 +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 f62345ee64 build: Add generic x86 asm extension grouping 2022-06-28 08:47:40 +02:00
mintsuki 27e2b84e31 elf64: Do not align ELF ranges if using paddr 2022-06-27 15:20:01 +02:00
mintsuki b9400d2fc9 multiboot: Backport b92d48e to multiboot1 2022-06-27 11:17:47 +02:00
mintsuki b92d48e44f multiboot(2): Initial support for arbitrary kernel load addresses 2022-06-27 10:55:57 +02:00
mintsuki 0836a62fbd pmm: Minor overhaul to try and fix #185 2022-06-26 04:23:13 +02:00
mintsuki 9c180b4008 pmm: Fix issue with get_memmap() that could cause page table corruption 2022-06-22 22:28:43 +02:00
mintsuki 7415137a1b misc: Update default font 2022-06-22 22:08:01 +02:00
mintsuki 4b32083ab6 build: Misc improvements 2022-06-22 21:56:41 +02:00
mintsuki 9f00d613a1 build: Update for newer limine-efi 2022-06-22 21:24:30 +02:00
peko 7fb17ce9bc
Update multiboot1.c (#181)
* Update multiboot1.c

* Update multiboot1.c

* Update multiboot1.c

* Update multiboot1.c
2022-06-22 21:11:34 +02:00
mintsuki ef4e014cb3 build: Use libgcc-binaries 2022-06-21 08:47:48 +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 53a2dbefdf build: Improve toolchain detection 2022-06-20 00:22:02 +02:00
mint dc3de36c7e
Merge pull request #178 from lightning-speed/patch-2
Replaced Multiple strlen(buffer) call with one call
2022-06-19 20:29:59 +02:00
mintsuki 9ba7ba47f7 ext: Turn presence of encryption feature to a warning. Closes #179 2022-06-19 20:23:45 +02:00
mintsuki 1e47160a62 multiboot: Fix section location calculation 2022-06-19 20:16:37 +02:00
peko 2f07cb36ac
Update menu.c 2022-06-19 16:27:05 +05:30
mintsuki 3ef8a29933 multiboot1: Add ELF sections load support 2022-06-19 01:46:38 +02:00
mintsuki 77fa71ae92 multiboot2: Use correct section list copy for section loading 2022-06-19 01:08:17 +02:00
mintsuki 15ab3d7748 multiboot2: Fix broken section list size calculation (3) 2022-06-19 00:35:12 +02:00
mintsuki ab84448be2 multiboot2: Fix broken section list size calculation (2) 2022-06-19 00:30:01 +02:00
mintsuki ded43b60a3 multiboot2: Fix broken section list size calculation 2022-06-19 00:01:58 +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 7404cb467e build: Add toolchain-detect 2022-06-15 07:16:41 +02:00
mintsuki 1fc8247a86 build: Increase portability of Makefile targets 2022-06-15 03:25:36 +02:00
mintsuki 8981575db6 protos: Drop autodetection support 2022-06-15 02:12:27 +02:00
mintsuki ee69dacb08 fs: Drop echfs support 2022-06-14 23:48:29 +02:00
mintsuki 13b9a333ad build: Update due to limine-efi rebranding 2022-06-14 05:58:34 +02:00
mintsuki 746d0ad529 protos: Drop stivale and stivale2 support 2022-06-14 03:56:30 +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
mintsuki 571374fdd7 Revert "gop: Potential workarounds for modesetting issue"
This reverts commit cf8f4f86a8.
2022-06-02 09:50:13 +02:00
mintsuki cf8f4f86a8 gop: Potential workarounds for modesetting issue 2022-06-01 19:50:27 +02:00
mintsuki ab79b95632 elf: Load non-load sections in memory for multiboot 2022-05-29 06:03:59 +02:00
mintsuki 9a89e72dc8 multiboot1: use config_get_tuple when appropriate 2022-05-28 05:13:46 +02:00
Nathan Royer 67b75fa059 multiboot2: use config_get_tuple when appropriate 2022-05-28 05:05:11 +02:00
mintsuki 3dbed1dc59 gop: Force 32 bpp for preset mode fallback 2022-05-22 08:32:31 +02:00
mintsuki c9f4f6bee7 fb: Change reactions of protocols to high fb sizes 2022-05-22 08:19:41 +02:00
mintsuki f77b1f803b gop: Use EDID only if of better resolution than preset 2022-05-22 07:17:26 +02:00
mintsuki b11b21dfb0 fb: Expand width and height to 64-bit 2022-05-22 06:38:34 +02:00
mintsuki 9585dcbd5c limine: Add new requests for terminal and framebuffer 2022-05-22 03:44:04 +02:00
mintsuki 4205f7cd5f gensyms: Add exit traps 2022-05-21 03:19:57 +02:00
mintsuki 6036679a12 misc: Work around GNU binutils nonsense 2022-05-20 20:02:14 +02:00
mintsuki 7c7dd0d2b4 misc: Sanitise EFI linker scripts 2022-05-20 06:02:30 +02:00
mintsuki 4aed1aca9f misc: Further sanitise BIOS linker script 2022-05-20 05:48:59 +02:00
mintsuki 65c9ddaa6f misc: BIOS linker script fixes for LLD 2022-05-20 05:17:46 +02:00
mintsuki 6051fdf564 misc: Make BIOS port PHDRs explicit 2022-05-19 20:19:29 +02:00
mintsuki 688c118caa limine: Ensure framebuffer pointer of terminal is always valid 2022-05-13 19:14:10 +02:00
mintsuki cb9c097bcc gensyms: Use as instead of nasm 2022-05-11 15:49:04 +02:00
mintsuki e836fb44de limine: Only acknowledge stack size req if new stack > default 2022-05-07 17:11:11 +02:00
mintsuki 0c46c16a71 fat: Add missing semicolon 2022-05-07 16:33:40 +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
ilobilo ce7c561eb0
Stack size
If stack size == 0 use default size
2022-05-05 15:51:31 +04:00
mintsuki b0c59cc0d2 efi: Updates for new reduced-gnu-efi 2022-04-24 23:30:28 +02:00
mintsuki cf7d9e7360 readline: Fix 1 uncaught NULL deref 2022-04-22 16:48:17 +02:00
mintsuki cac57ced41 menu: Fix 2 uncaught NULL derefs 2022-04-22 16:42:30 +02:00
mintsuki d454935ec6 efi: Update linker scripts for new reduced-gnu-efi 2022-04-21 15:44:26 +02:00
mintsuki 64e9c11daa build: No longer hard depend on GNU binutils 2022-04-20 04:38:58 +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 e22d5eff39 limine: Increment default stack size to 64KiB 2022-04-17 07:56:41 +02:00
mintsuki fbf1e1584e term/protos: Do not call callback if NULL 2022-04-17 07:51:28 +02:00
mintsuki d8180342f0 efi: Do not panic if GetMemoryMap() fails after first ExitBootServices() 2022-04-15 18:37:17 +02:00
mintsuki 4202402bf0 limine: Ensure framebuffer memmap entry is always generated 2022-04-15 15:13:40 +02:00
mintsuki dae8927078 limine: Add support for .limine_reqs ELF section 2022-04-14 20:34:59 +02:00
mintsuki 5c7578c54a limine: Add media type to limine_file structure 2022-04-02 10:28:07 +02:00
mintsuki 012e7b0b67 misc: Fix minor things accidentally reverted in 790a130 2022-04-02 10:14:52 +02:00
mintsuki 790a1303f8 Revert "limine: Initial support for non-ELF executables"
This reverts commit 4240256074.
2022-04-02 10:10:38 +02:00
mintsuki 5f525a1052 limine: Change terminal write contract 2022-04-02 10:05:14 +02:00
mintsuki fb175747df limine: Add support for multiple terminals and properly document it 2022-04-01 10:00:36 +02:00
mintsuki 15f111f5c3 limine: Make WP flag enabled as per spec 2022-03-31 13:33:18 +02:00
mintsuki 6caaada636 limine: Rename 2 limine_file members 2022-03-31 09:03:06 +02:00
mintsuki e1f3d223a7 smp: Make RDI pointer higher half aware 2022-03-30 22:18:55 +02:00
mintsuki 4240256074 limine: Initial support for non-ELF executables 2022-03-30 14:04:04 +02:00
mintsuki abc3b309a4 gterm: Default to transparent bg if wallpaper is set 2022-03-30 03:19:05 +02:00
mintsuki a688a1dd4f limine: Add stack size feature 2022-03-28 08:00:40 +02:00
mintsuki 2917932d69 misc: Initialise terminal before randomising memory 2022-03-28 07:18:09 +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 c2a21f9b29 misc: Readd missing RANDOMISE_MEMORY implementation 2022-03-27 23:33:34 +02:00
mintsuki 8b2cafc875 misc: Bug fixes 2022-03-26 11:59:27 +01:00
mintsuki 8b19de71e6 editor: Remove useless VALID_KEYS 2022-03-26 09:49:59 +01:00
mintsuki e8fcc85b03 limine: Rework modules/file/kernel_file 2022-03-26 09:27:09 +01:00
mintsuki 652b5447fe limine: Make module paths better defined 2022-03-26 08:36:53 +01:00
mintsuki 8aa1372ce9 elf: Return image size 2022-03-26 05:03:02 +01:00
mintsuki 3c909c017b docs: limine: More documentation work 2022-03-26 01:31:38 +01:00