Commit Graph

3535 Commits

Author SHA1 Message Date
Mintsuki
eaf40aefd8 stage1/hdd: Fix stack imbalance on int 13h/AH=48h failure in disk read 2026-03-07 03:28:39 +01:00
Mintsuki
9526040ea5 host/limine: Make {mul,add}_u64_overflow() static inline to avoid gcc unused warnings 2026-03-07 03:28:39 +01:00
Mintsuki
70f0385881 stage1/hdd: Rearrange code to work around boot sector size limitation 2026-03-07 03:28:39 +01:00
Mintsuki
18c9143ed5 host/limine: Add overflow checks for GPT partition LBA calculations 2026-03-07 03:28:39 +01:00
Mintsuki
727f2114d2 config: Add NUL terminator check in config_get_entry header line scan 2026-03-07 03:28:39 +01:00
Mintsuki
6db4e3f609 protos/linux_risc: Validate kernel header before trusting image_size for allocation 2026-03-07 03:28:39 +01:00
Mintsuki
ea106387c9 host/limine: Replace GCC/Clang __builtin overflow checks with portable C99 helpers 2026-03-07 03:28:39 +01:00
Mintsuki
8f953d27e7 protos/multiboot1: Validate load_end_addr >= load_addr to prevent underflow 2026-03-07 03:28:39 +01:00
Mintsuki
72741d558c stage1/hdd: Fix 64-bit LBA calculation and carry propagation in disk read loop 2026-03-07 03:28:39 +01:00
Mintsuki
333fff9ded bootstrap: Bump limine-protocol commit 2026-03-07 03:28:39 +01:00
Mintsuki
f547a0eea5 sys/lapic: Preserve LAPIC register state across x2APIC-to-xAPIC transition 2026-03-07 03:28:39 +01:00
Mintsuki
3028d5ce07 docs: Update ChangeLog and README.md for 10.8.2 v10.8.2 2026-02-26 00:53:59 +01:00
Mintsuki
b14779e526 bootstrap: Bump limine-protocol commit 2026-02-26 00:53:59 +01:00
Mintsuki
16a803ef37 Revert "sys/pic: Reinitialise PICs in pic_flush() to clear stale IRR/ISR state"
This reverts commit bfde2899fc.
2026-02-26 00:53:59 +01:00
Mintsuki
ff3bfeb869 docs: Update ChangeLog and README.md for 10.8.1 v10.8.1 2026-02-26 00:11:21 +01:00
Mintsuki
fb50736e77 bootstrap: Bump limine-protocol commit 2026-02-26 00:11:21 +01:00
Mintsuki
20d5ca7045 sys/lapic: Preserve I/O APIC redirection entries when masking 2026-02-26 00:11:21 +01:00
Mintsuki
5979b35b09 sys/lapic: Preserve LVT entries with SMI/INIT/reserved delivery modes 2026-02-26 00:11:21 +01:00
Mintsuki
7e3d6448b7 sys/pic: Reinitialise PICs in pic_flush() to clear stale IRR/ISR state 2026-02-26 00:11:21 +01:00
Mintsuki
076c8bb154 sys/cpu: Round up stall() tick count for sub-MHz timer frequencies 2026-02-26 00:11:21 +01:00
Mintsuki
d01e32eea5 sys/cpu: Fix rdtsc_usec() intermediate overflow 2026-02-26 00:11:21 +01:00
Mintsuki
a6beb8167f sys/iommu: Remove VT-d polling timeout and fix poll loop order 2026-02-26 00:11:21 +01:00
Mintsuki
b7897f857f sys/cpu: Add memory clobber to rdtsc inline assembly 2026-02-26 00:11:21 +01:00
Mintsuki
9456dcb1d9 sys/smp: Add xAPIC ICR delivery status checks to INIT-SIPI-SIPI sequence 2026-02-26 00:11:21 +01:00
Mintsuki
37eddc6ddb sys/iommu: Fix VT-d disable order to TE, IRE, QIE 2026-02-26 00:11:21 +01:00
Mintsuki
5c307663a6 docs: Update ChangeLog and README.md for 10.8.0 v10.8.0 2026-02-22 18:31:14 +01:00
Mintsuki
70676a97d3 lib/spinup: Load TR and zero CR3 before protocol entry 2026-02-22 18:31:14 +01:00
Mintsuki
b2c265f2be protos/multiboot: Try to disable x2APIC before kernel entry 2026-02-22 18:31:14 +01:00
Mintsuki
fe4544b612 Revert "sys/exceptions: Remove unnecessary exception number bounds check"
This reverts commit cdc875073c.
2026-02-22 18:31:14 +01:00
Mintsuki
e5d96fbb91 sys/cpu: Fix integer truncation in stall() 2026-02-22 18:31:14 +01:00
Mintsuki
4dca52e001 bootstrap: Bump limine-protocol commit 2026-02-22 18:31:14 +01:00
Mintsuki
402d4bec47 protos/limine: Try to disable x2APIC when there is no MP request 2026-02-22 18:31:14 +01:00
Mintsuki
f6cbd3b698 protos/limine: Strictly define x86-64 machine state for base revision 5 2026-02-22 18:31:14 +01:00
Mintsuki
928f18905c protos/limine: Implement x86-64 Keep IOMMU feature 2026-02-22 18:31:14 +01:00
Mintsuki
9fed600b1b protos/linux_x86: Do not disable IOMMU due to paranoia 2026-02-22 18:31:14 +01:00
Mintsuki
8df3c7ae5a sys/smp: Try to disable x2APIC when kernel does not support it 2026-02-22 18:31:13 +01:00
Mintsuki
73cc1a5ac5 qa: Add "extint" to .typos.toml exceptions 2026-02-22 18:31:13 +01:00
Mintsuki
ea41baaf75 protos/limine: Implement base revision 5 2026-02-22 18:31:13 +01:00
Mintsuki
0a2fec6ac6 sys/iommu: Disable Intel VT-d and AMD-Vi IOMMUs before kernel entry 2026-02-22 18:31:13 +01:00
Mintsuki
c51b667246 docs: Discord -> Fluxer 2026-02-19 20:37:36 +01:00
Mintsuki
239bf3ecb4 lib/acpi: Align ACPI table memory map entries to page size where safe 2026-02-19 20:37:36 +01:00
Mintsuki
428e94febe mm/pmm: Prefer allocations below 4GiB on x86 2026-02-19 20:37:36 +01:00
Mintsuki
f1b89ec1bb sys/cpu: Replace cycle-based delay() with calibrated stall() 2026-02-19 20:37:36 +01:00
Mintsuki
229bc85481 drivers/gop: Ensure SetMode is called at least once per GOP handle 2026-02-19 20:37:36 +01:00
Mintsuki
1f9a418511 drivers/gop: Use gop->Mode->Info for pitch instead of QueryMode 2026-02-19 20:37:36 +01:00
Mintsuki
33f0726e24 lib/gterm: Warn and use default font instead of silently overriding font width 2026-02-19 20:37:36 +01:00
Mintsuki
64ee2f4502 lib/misc: Remove unused oct2bin and hex2bin 2026-02-19 20:37:36 +01:00
Mintsuki
e0f56b958f drivers/gop: Remove unnecessary pitch calculation cast 2026-02-19 20:37:36 +01:00
Mintsuki
243405ac5b lib/getchar: Remove arbitrary escape sequence value limit 2026-02-19 20:37:36 +01:00
Mintsuki
ba662d02ea sys/exceptions: Remove unnecessary exception number bounds check 2026-02-19 20:37:36 +01:00