Commit Graph

32 Commits

Author SHA1 Message Date
3ca3a86c0f Fix memory map size tracking and memory leak 2026-03-25 15:03:33 +01:00
8ee50255bb Fix memory corruption caused by UEFI memory map size changes during allocation 2026-03-25 15:03:33 +01:00
66df8fddda Fix critical memory corruption bug caused by overwriting active page tables marked as free memory 2026-03-25 15:03:33 +01:00
bd9af3bb5c Fix PFN calculation truncation for memory above 4GB to prevent memory descriptor aliasing on PAE systems 2026-03-25 15:03:33 +01:00
52355698a9 Refactor EFI memory mapping to support distinct mapping strategies 2026-03-25 15:03:33 +01:00
ca661d1201 Remove explicit identity mapping for internal page tables 2026-03-25 15:03:33 +01:00
1be5732789 Fix coding style 2026-03-25 15:03:33 +01:00
755c3fe1bf Use 64-bit format specifiers for memory mapping logs 2026-03-25 15:03:33 +01:00
75484e8c58 Fix physical address limit checks 2026-03-25 15:03:33 +01:00
3799dbae65 Fix PFN truncation on i686 with PAE enabled 2026-03-25 15:03:33 +01:00
bd7129ce13 Calculate total boot image size and pass it to kernel 2026-03-25 15:03:33 +01:00
d272d2cb78 Ensure contiguous virtual memory mapping 2026-03-25 15:03:33 +01:00
b435752cbf Correctly advance virtual address after mapping non-free regions 2026-03-25 15:03:33 +01:00
2e0a32ca1d Rollback bootloader memory management changes 2026-03-25 15:03:33 +01:00
c8792a013a Abstract base mapping address retrieval 2026-03-25 15:03:33 +01:00
edfae7ec6a Extract MapDescriptor logic and simplify memory mapping API 2026-03-25 15:03:33 +01:00
31002b27be Clean up unused physical-to-virtual conversion routines 2026-03-25 15:03:33 +01:00
44a217ea14 Update function documentation and remove debug prints 2026-03-25 15:03:33 +01:00
4a26507228 Remove manual virtual address tracking from boot sequence 2026-03-25 15:03:33 +01:00
33d41a9442 Relocate kernel and modules to KSEG0 memory space 2026-03-25 15:03:33 +01:00
d2374799eb Temporary fix for PAE addressing limits and KSEG0 base mapping 2026-03-25 15:03:33 +01:00
d9a95527f3 Ensure page map structures are self-mapped 2026-03-25 15:03:33 +01:00
f9b27b48b0 Select correct self-map base for PAE and non-PAE paging 2026-03-25 15:03:33 +01:00
94a8917c5c Revert RTL::LinkedList::RemoveEntryList() routine signature and extend RTL::LinkedList API
All checks were successful
Builds / ExectOS (amd64, debug) (push) Successful in 38s
Builds / ExectOS (i686, debug) (push) Successful in 37s
Builds / ExectOS (amd64, release) (push) Successful in 1m17s
Builds / ExectOS (i686, release) (push) Successful in 1m14s
2026-02-16 15:43:00 +01:00
47ec89a85e Forgotten to change signature in bootloader
Some checks failed
Builds / ExectOS (i686, release) (push) Failing after 27s
Builds / ExectOS (i686, debug) (push) Failing after 28s
Builds / ExectOS (amd64, release) (push) Failing after 33s
Builds / ExectOS (amd64, debug) (push) Failing after 35s
2026-02-10 18:26:50 +01:00
c206b443ed Move XTLDR image base definition to arch-specific config
Some checks failed
Builds / ExectOS (amd64, debug) (push) Failing after 28s
Builds / ExectOS (i686, debug) (push) Failing after 27s
Builds / ExectOS (i686, release) (push) Failing after 35s
Builds / ExectOS (amd64, release) (push) Failing after 37s
2025-10-16 12:22:30 +02:00
b19b27a621 Build relocatable image to allow proper UEFI loading
Some checks failed
Builds / ExectOS (amd64, release) (push) Failing after 35s
Builds / ExectOS (i686, debug) (push) Failing after 33s
Builds / ExectOS (amd64, debug) (push) Failing after 44s
Builds / ExectOS (i686, release) (push) Failing after 39s
2025-10-16 12:10:00 +02:00
56b81f5d73 Set fixed image base
Some checks failed
Builds / ExectOS (amd64, debug) (push) Failing after 28s
Builds / ExectOS (amd64, release) (push) Failing after 39s
Builds / ExectOS (i686, debug) (push) Failing after 37s
Builds / ExectOS (i686, release) (push) Failing after 27s
2025-10-15 23:06:12 +02:00
1e99a3f4a9 Set fixed alignment and base address to allow execution under BIOS
Some checks failed
Builds / ExectOS (i686, debug) (push) Failing after 29s
Builds / ExectOS (amd64, debug) (push) Failing after 29s
Builds / ExectOS (i686, release) (push) Failing after 35s
Builds / ExectOS (amd64, release) (push) Failing after 38s
2025-10-15 21:03:03 +02:00
0a71bc3995 Print fallback message in non-EFI environment
Some checks failed
Builds / ExectOS (amd64, debug) (push) Failing after 27s
Builds / ExectOS (i686, debug) (push) Failing after 28s
Builds / ExectOS (amd64, release) (push) Failing after 40s
Builds / ExectOS (i686, release) (push) Failing after 39s
2025-10-15 20:55:16 +02:00
13a9d4c522 Introduce legacy VGA text mode support
Some checks failed
Builds / ExectOS (i686, debug) (push) Failing after 36s
Builds / ExectOS (i686, release) (push) Failing after 34s
Builds / ExectOS (amd64, debug) (push) Failing after 47s
Builds / ExectOS (amd64, release) (push) Failing after 46s
2025-10-15 20:49:17 +02:00
c5f522be4c Move XTLDR under boot directory
All checks were successful
Builds / ExectOS (i686, debug) (push) Successful in 27s
Builds / ExectOS (amd64, debug) (push) Successful in 26s
Builds / ExectOS (amd64, release) (push) Successful in 38s
Builds / ExectOS (i686, release) (push) Successful in 36s
2025-10-06 12:08:36 +02:00