Clarify PAE state management logic
This commit is contained in:
parent
ca06f9ebb5
commit
ca6c913fa7
@ -128,6 +128,7 @@ XtEnablePaging(IN PXTBL_PAGE_MAPPING PageMap)
|
|||||||
/* Disable paging */
|
/* Disable paging */
|
||||||
ArWriteControlRegister(0, ArReadControlRegister(0) & ~CR0_PG);
|
ArWriteControlRegister(0, ArReadControlRegister(0) & ~CR0_PG);
|
||||||
|
|
||||||
|
/* Check the configured page map level to set the PAE state accordingly */
|
||||||
if(PageMap->PageMapLevel == 3)
|
if(PageMap->PageMapLevel == 3)
|
||||||
{
|
{
|
||||||
/* Enable Physical Address Extension (PAE) */
|
/* Enable Physical Address Extension (PAE) */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user