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

このコミットが含まれているのは:
2023-01-16 21:58:30 +01:00
コミット bb56641e4b
2個のファイルの変更0行の追加8行の削除

ファイルの表示

@@ -120,10 +120,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);
/* Write PML4 to CR3 */
HlWriteControlRegister(3, (UINT_PTR)*PtePointer);