Common routines for reading from and writing to CPU control registers

Este commit está contenido en:
2022-12-23 14:30:52 +01:00
padre 3e8bdfe9fe
commit 3ab1695968
Se han modificado 6 ficheros con 192 adiciones y 366 borrados

Ver fichero

@@ -168,7 +168,7 @@ BlEnablePaging(IN PLIST_ENTRY MemoryMappings,
MemoryMap->DescriptorVersion, MemoryMap->Map);
/* Write PML4 to CR3 */
HlWriteCR3((UINT_PTR)*PtePointer);
HlWriteControlRegister(3, (UINT_PTR)*PtePointer);
/* Return success */
return STATUS_EFI_SUCCESS;