diff options
-rw-r--r-- | UefiCpuPkg/CpuDxe/CpuPageTable.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/UefiCpuPkg/CpuDxe/CpuPageTable.c b/UefiCpuPkg/CpuDxe/CpuPageTable.c index ae93f3f553..d312eb66f8 100644 --- a/UefiCpuPkg/CpuDxe/CpuPageTable.c +++ b/UefiCpuPkg/CpuDxe/CpuPageTable.c @@ -802,8 +802,12 @@ RefreshGcdMemoryAttributesFromPaging ( GetCurrentPagingContext (&PagingContext);
- BaseAddress = 0;
- PageLength = 0;
+ DoUpdate = FALSE;
+ Capabilities = 0;
+ Attributes = 0;
+ BaseAddress = 0;
+ PageLength = 0;
+
for (Index = 0; Index < NumberOfDescriptors; Index++) {
if (MemorySpaceMap[Index].GcdMemoryType == EfiGcdMemoryTypeNonExistent) {
continue;
|