summaryrefslogtreecommitdiff
path: root/UefiCpuPkg/CpuMpPei
diff options
context:
space:
mode:
Diffstat (limited to 'UefiCpuPkg/CpuMpPei')
-rw-r--r--UefiCpuPkg/CpuMpPei/CpuPaging.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/UefiCpuPkg/CpuMpPei/CpuPaging.c b/UefiCpuPkg/CpuMpPei/CpuPaging.c
index 15c7015..b923d9b 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;
}