Commit Graph

21 Commits

Author SHA1 Message Date
Mintsuki
35ade5f557 misc: Remove unnecessary casts in CHECKED_ADD/CHECKED_MUL calls 2026-04-02 22:21:54 +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
cc586e6cc0 misc: Use CHECKED_ADD for overflow-checked additions 2026-03-31 15:31:50 +02:00
Mintsuki
1cec138d5c protos/limine: Implement base revision 5 2026-02-20 03:51:24 +01:00
Mintsuki
a49be1527a lib/acpi: Align ACPI table memory map entries to page size where safe 2026-02-18 19:21:07 +01:00
Mintsuki
2dbeb33102 lib/acpi: Fall back to RSDT when XSDT is above 4 GiB on 32-bit 2026-02-09 13:02:39 +01:00
Mintsuki
aadfb4cb6f lib/acpi: Use memcpy for unaligned FADT field reads 2026-02-09 13:02:39 +01:00
Mintsuki
f1167da7a9 misc: Fix wrong format specifiers for 64-bit arguments in print calls 2026-02-09 13:02:39 +01:00
Mintsuki
8fa67f768a lib/acpi: Skip null entries in XSDT/RSDT table iteration 2026-02-09 13:02:38 +01:00
Mintsuki
a78b27ae68 acpi: Add NULL check for table pointers 2026-01-11 23:45:22 +01:00
Mintsuki
1fa4c96bb7 lib/acpi: Add RSDT/XSDT length validation 2025-12-26 13:48:00 +01:00
Mintsuki
00786e8fe3 lib/acpi: Do not assume rsdt_addr is not null in acpi_map_tables() 2025-11-07 10:47:45 +01:00
Mintsuki
11b4ee64d5 lib/acpi: Make map_single_table() static 2025-10-25 03:37:48 +02:00
Mintsuki
80c82d9772 protos/limine: Initial implementation of base revision 4 2025-10-25 02:31:49 +02:00
Mintsuki
4948d52df8 misc: Fix some minor spelling mistakes 2025-10-03 09:21:26 +02:00
Philipp Schuster
b715948575 misc: init typos for spell checking 2024-04-05 16:42:15 +02:00
mintsuki
c44f514738 misc: Rename UEFI and BIOS define macros 2022-09-02 02:29:12 +02:00
mintsuki
07080dcbc2 misc: blib.h -> misc.h 2022-08-26 23:44:47 +02:00
mintsuki
93f8d011ff multiboot2: Fix bug where old ACPI tag would not get passed if RSDP rev == 0 2022-08-12 23:33:28 +02:00
mintsuki
400202d926 misc: stage23 -> common 2022-02-03 10:38:43 +01:00