diff options
Diffstat (limited to 'UefiCpuPkg/ResetVector/Vtf0/Ia32')
-rw-r--r-- | UefiCpuPkg/ResetVector/Vtf0/Ia32/PageTables64.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/UefiCpuPkg/ResetVector/Vtf0/Ia32/PageTables64.asm b/UefiCpuPkg/ResetVector/Vtf0/Ia32/PageTables64.asm index 0cfcbae87b..2e16e71f6a 100644 --- a/UefiCpuPkg/ResetVector/Vtf0/Ia32/PageTables64.asm +++ b/UefiCpuPkg/ResetVector/Vtf0/Ia32/PageTables64.asm @@ -21,9 +21,9 @@ BITS 32 SetCr3ForPageTables64:
;
- ; These pages are built into the ROM image by Tools/FixupForRawSection.py
+ ; These pages are built into the ROM image in X64/PageTables.asm
;
- mov eax, ((ADDR_OF_START_OF_RESET_CODE & ~0xfff) - 0x1000)
+ mov eax, ADDR_OF(TopLevelPageDirectory)
mov cr3, eax
OneTimeCallRet SetCr3ForPageTables64
|