summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/Sec/SecMain.c
diff options
context:
space:
mode:
Diffstat (limited to 'OvmfPkg/Sec/SecMain.c')
-rw-r--r--OvmfPkg/Sec/SecMain.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/OvmfPkg/Sec/SecMain.c b/OvmfPkg/Sec/SecMain.c
index 58e3b923b4..2c5561661e 100644
--- a/OvmfPkg/Sec/SecMain.c
+++ b/OvmfPkg/Sec/SecMain.c
@@ -861,6 +861,11 @@ SecCoreStartupWithStack (
SecCoreData.BootFirmwareVolumeSize = (UINTN)BootFv->FvLength;
//
+ // Validate the System RAM used in the SEC Phase
+ //
+ SecValidateSystemRam ();
+
+ //
// Make sure the 8259 is masked before initializing the Debug Agent and the debug timer is enabled
//
IoWrite8 (0x21, 0xff);