diff --git a/xtldr/memory.c b/xtldr/memory.c index 5daf8d1..72bf476 100644 --- a/xtldr/memory.c +++ b/xtldr/memory.c @@ -355,6 +355,14 @@ BlMapEfiMemory(IN OUT PXTBL_PAGE_MAPPING PageMap, } } + /* Map BIOS ROM and VRAM */ + Status = BlMapVirtualMemory(PageMap, NULL, (PVOID)0xA0000, 0x60, LoaderFirmwarePermanent); + if(Status != STATUS_EFI_SUCCESS) + { + /* Mapping failed */ + return Status; + } + /* Store next valid virtual address and return success */ *MemoryMapAddress = VirtualAddress; return STATUS_EFI_SUCCESS;