Commit Graph

442 Commits

Author SHA1 Message Date
Mintsuki
8632b11241 protos/limine: Make "Keep IOMMU" feature x86-64-only 2026-04-09 13:07:12 +02:00
Mintsuki
b5abaf9ac1 protos/limine: Implement TSC frequency feature 2026-04-09 13:07:12 +02:00
Mintsuki
e6dfe48a4b protos/multiboot: Allow menu recovery on overflow panics 2026-04-06 19:04:22 +02:00
Mintsuki
8e842edecf sys/cpu: Add PIT-based TSC calibration for BIOS 2026-04-06 19:04:22 +02:00
Mintsuki
34b5380d0b protos/linux_risc: Fix use-after-free of module handle in verbose print 2026-04-04 15:34:07 +02:00
Mintsuki
18e3547432 protos/linux_risc: Use overflow-checked add for kernel allocation size 2026-04-04 15:34:07 +02:00
Mintsuki
3f3a748d42 Revert "misc: Exempt EFI chainload and cosmetic resources from Secure Boot hash enforcement"
This reverts commit 4793ace8b2.
2026-04-04 15:02:58 +02:00
Mintsuki
4793ace8b2 misc: Exempt EFI chainload and cosmetic resources from Secure Boot hash enforcement 2026-04-02 23:13:39 +02:00
Mintsuki
b0152c9a67 lib/elf: Validate section header bounds in elf_section_hdr_info functions 2026-04-02 22:21:54 +02:00
Mintsuki
5156d1bd51 protos/multiboot: Check for overflow in load_size + bss_size 2026-04-02 22:21:54 +02:00
Mintsuki
b699192d0d protos/multiboot2: Validate header tag sizes before casting 2026-04-02 22:21:54 +02:00
Mintsuki
91e5e5668f lib/elf: Add file_size parameter to elf_bits for bounds checking 2026-04-02 22:21:54 +02:00
Mintsuki
f1814a42d9 protos/efi_boot_entry: Validate boot variable size before accessing description 2026-04-02 22:21:54 +02:00
Mintsuki
de46c9523a protos/multiboot2: Fix GCC build error with break in statement expression 2026-04-02 02:00:22 +02:00
Mintsuki
a28a8ec0a2 protos/linux_x86: Use uint64_t for initrd_addr_max to prevent 32-bit wrap 2026-04-02 01:44:59 +02:00
Mintsuki
ca253330a8 lib/elsewhere: Add bounds check to elsewhere_append 2026-04-02 01:44:58 +02:00
Mintsuki
af9fdbe7b0 protos/multiboot1: Remove dead NULL check on cmdline 2026-04-02 01:44:58 +02:00
Mintsuki
9e8d1cee14 mm/pmm: Check for overflow in UEFI memmap AllocatePool size 2026-04-02 01:44:58 +02:00
Mintsuki
8118e60ddb protos/linux_risc: Load and concatenate all modules, not just the first 2026-04-02 01:44:58 +02:00
Mintsuki
1b5b8e4620 misc: Add CHECKED_MUL macro, use it for all overflow-checked multiplications 2026-04-02 01:44:58 +02:00
Mintsuki
eb071a0121 misc: Add overflow checking to ALIGN_UP and DIV_ROUNDUP macros 2026-04-02 01:44:58 +02:00
Mintsuki
d7f0160ddc mm/pmm: Add ext_mem_alloc_counted(), use it everywhere for checked array allocations 2026-03-31 15:31:50 +02:00
Mintsuki
cc586e6cc0 misc: Use CHECKED_ADD for overflow-checked additions 2026-03-31 15:31:50 +02:00
Mintsuki
b29b11ce6d Reapply "lib/fb: Add preserve_screen option to skip fb_clear on init"
This reverts commit 12841527e9.
2026-03-30 19:44:19 +02:00
Mintsuki
12841527e9 Revert "lib/fb: Add preserve_screen option to skip fb_clear on init"
This reverts commit 2e2fc63628.
2026-03-30 09:16:32 +02:00
Mintsuki
dbbf8df9fc protos/limine: Coalesce contiguous memmap entries when building page tables 2026-03-25 03:31:09 +01:00
Mintsuki
c486fc4a5c protos/limine: Only restrict aarch64 to base revision 6 only 2026-03-24 15:16:46 +01:00
Mintsuki
0f4f7b5bc3 Revert "protos/limine: Drop support for base revisions 0-3, require 4 on x86"
This reverts commit f0e8264e1a.
2026-03-24 15:11:35 +01:00
Mintsuki
f0e8264e1a protos/limine: Drop support for base revisions 0-3, require 4 on x86 2026-03-23 08:34:14 +01:00
Mintsuki
2e2fc63628 lib/fb: Add preserve_screen option to skip fb_clear on init 2026-03-23 08:34:14 +01:00
Mintsuki
ea7904d13d protos/limine: Add Flanterm FB init params feature 2026-03-22 20:10:00 +01:00
Mintsuki
66fc320655 protos/limine: Bump supported base revision to 6, require 6 on non-x86 2026-03-22 08:11:45 +01:00
Mintsuki
d5897b62a5 protos/limine: Handle framebuffer page-level overlaps with other memory regions 2026-03-20 14:01:31 +01:00
Mintsuki
165e05ff3d protos/limine: Make aarch64 EL2 entry automatic based on firmware state 2026-03-20 14:01:31 +01:00
Mintsuki
b58da8372a Merge pull request 'loongarch64: Add smp support' (#50) from lihanrui/Limine:trunk into trunk
Reviewed-on: https://codeberg.org/Limine/Limine/pulls/50
2026-03-18 11:08:35 +01:00
rayanmargham
bd4cc64845 efi_boot_entry: Handle Efi Variables larger then 128 bytes 2026-03-17 02:41:35 +00:00
Mintsuki
5c0635a118 protos/limine: Tighten aarch64 machine state to match spec 2026-03-16 04:01:50 +01:00
Mintsuki
102449250d protos/limine: Implement aarch64 EL2 entry request 2026-03-15 09:58:07 +01:00
Mintsuki
d647de2ff9 bootstrap: Bump limine-protocol commit 2026-03-15 03:49:03 +01:00
Mintsuki
398c14cc00 protos/linux_risc: Disable MMU before aarch64 kernel entry 2026-03-15 03:49:03 +01:00
Mintsuki
21e15f3791 protos/linux_risc: Clean caches before aarch64 kernel entry 2026-03-15 03:49:03 +01:00
Mintsuki
31202dc374 protos/linux_risc: Disable MMU and flush caches before RISC-V kernel entry 2026-03-15 03:49:03 +01:00
Mintsuki
2820acf9b7 protos/linux_risc: Respect text_offset when loading kernel 2026-03-15 03:49:03 +01:00
lg
3e9131d913 protos/efi_boot_entry: fix inconsistencies (3) 2026-03-11 19:55:29 -04:00
lg
ceafd6f901 protos/efi_boot_entry: fix inconsistencies (2) 2026-03-11 19:48:37 -04:00
lg
39fb6c6ccf protos/efi_boot_entry: fix inconsistencies 2026-03-11 19:37:48 -04:00
lg
eef3bf757a protos/efi_boot_entry: Add panic if reboot fails 2026-03-11 19:25:09 -04:00
lg
af78bbd9cb protos/efi_boot_entry: Make it use its own proto. 2026-03-11 19:22:03 -04:00
lg
f6255f66ca protos/efi: add reboot_for_bitlocker 2026-03-07 21:31:51 -05:00
Mintsuki
aa7f2871fe protos/linux_risc: Validate kernel header before trusting image_size for allocation 2026-03-06 13:11:53 +01:00