Add full paging support for AMD64 and i686 architectures, including PAE support

This commit is contained in:
2022-12-11 20:14:04 +01:00
parent 324a88cc01
commit 0572b208f1
6 changed files with 502 additions and 11 deletions

View File

@@ -92,6 +92,12 @@ VOID
BlEfiPrint(IN PUINT16 Format,
IN ...);
EFI_STATUS
BlEnablePaging(IN PLIST_ENTRY MemoryMappings,
IN PVOID VirtualAddress,
IN PEFI_LOADED_IMAGE_PROTOCOL ImageProtocol,
IN PVOID *PtePointer);
EFI_STATUS
BlEnumerateEfiBlockDevices();
@@ -126,6 +132,7 @@ BlMapVirtualMemory(IN PLIST_ENTRY MemoryMappings,
IN UINT_PTR VirtualAddress,
IN UINT_PTR PhysicalAddress,
IN UINT NumberOfPages,
IN BOOLEAN PaeExtension,
IN OUT PVOID *PtePointer);
EFI_STATUS