summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/SmmCheckSmrr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/SmmCheckSmrr.c b/Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/SmmCheckSmrr.c
index 6d9fc3be2b..b954e32c4c 100644
--- a/Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/SmmCheckSmrr.c
+++ b/Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/SmmCheckSmrr.c
@@ -102,6 +102,8 @@ TestPointCheckSmrr (
}
}
+ SmrrMask = 0;
+
if (mSmrrSupported) {
SmrrBase = AsmReadMsr64 (mSmrrPhysBaseMsr);
SmrrMask = AsmReadMsr64 (mSmrrPhysMaskMsr);