diff options
Diffstat (limited to 'UefiCpuPkg/CpuMpPei')
-rw-r--r-- | UefiCpuPkg/CpuMpPei/CpuPaging.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/UefiCpuPkg/CpuMpPei/CpuPaging.c b/UefiCpuPkg/CpuMpPei/CpuPaging.c index 15c7015fb8..b923d9b502 100644 --- a/UefiCpuPkg/CpuMpPei/CpuPaging.c +++ b/UefiCpuPkg/CpuMpPei/CpuPaging.c @@ -76,7 +76,8 @@ AllocatePageTableMemory ( /**
This function modifies the page attributes for the memory region specified
- by BaseAddress and Length to not present.
+ by BaseAddress and Length to not present. This function only change page
+ table, but not flush TLB. Caller have the responsbility to flush TLB.
Caller should make sure BaseAddress and Length is at page boundary.
@@ -167,7 +168,6 @@ ConvertMemoryPageToNotPresent ( }
ASSERT_EFI_ERROR (Status);
- AsmWriteCr3 (PageTable);
return Status;
}
|