feat: implement SYS_FREE

This commit is contained in:
2026-02-26 20:12:56 +01:00
parent e4f5cd7664
commit 325afe2e3c
3 changed files with 93 additions and 3 deletions
+3
View File
@@ -109,6 +109,9 @@ public:
// Map a page into an arbitrary PML4 with User + Write-Combining attributes.
static void MapUserInWC(std::uint64_t pml4Phys, std::uint64_t physicalAddress, std::uint64_t virtualAddress);
// Unmap a single page from an arbitrary PML4 (clears PTE + invalidates TLB).
static void UnmapUserIn(std::uint64_t pml4Phys, std::uint64_t virtualAddress);
// Identity-map EFI runtime service regions so firmware code can
// reference its own data at physical addresses.
void MapEfiRuntime(limine_efi_memmap_response* efiMemmap);