Map BIOS ROM and VRAM
All checks were successful
Builds / ExectOS (amd64) (push) Successful in 38s
Builds / ExectOS (i686) (push) Successful in 36s

This commit is contained in:
Rafal Kupiec 2024-03-24 15:53:36 +01:00
parent 74b2c80869
commit b3be36e23d
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4

View File

@ -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;