1
0
geforkt von xt-sys/exectos

Do not call SetVirtualAddressMap() as this might break boot process and runtime services are mapped anyway

Dieser Commit ist enthalten in:
2023-01-16 21:58:30 +01:00
Ursprung 1a93c198ed
Commit bb56641e4b
2 geänderte Dateien mit 0 neuen und 8 gelöschten Zeilen

Datei anzeigen

@@ -214,10 +214,6 @@ BlEnablePaging(IN PLIST_ENTRY MemoryMappings,
return STATUS_EFI_ABORTED;
}
/* No runtime services should touch boot services code, so get rid of it all at this point */
EfiSystemTable->RuntimeServices->SetVirtualAddressMap(MemoryMap->MapSize, MemoryMap->DescriptorSize,
MemoryMap->DescriptorVersion, MemoryMap->Map);
/* Enable Physical Address Extension (PAE) */
HlWriteControlRegister(4, HlReadControlRegister(4) | CR4_PAE);