summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Core
diff options
context:
space:
mode:
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2011-08-31 02:26:36 +0000
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2011-08-31 02:26:36 +0000
commitf02dfb5aee146e37bad52888f7427a7fa8b06d1e (patch)
tree9a796e469e448c41c483205b02e3fa9fd542a1e9 /MdeModulePkg/Core
parentc648f73cd2e807fb7f1e734b12b912b5953eb9e0 (diff)
downloadedk2-platforms-f02dfb5aee146e37bad52888f7427a7fa8b06d1e.tar.xz
Rollback SMRAM Lock location
Signed-off-by: mdkinney Reviewed-by: rsun3 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12243 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Core')
-rw-r--r--MdeModulePkg/Core/PiSmmCore/PiSmmIpl.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/MdeModulePkg/Core/PiSmmCore/PiSmmIpl.c b/MdeModulePkg/Core/PiSmmCore/PiSmmIpl.c
index fa6f2f1eb9..b0c43f6f19 100644
--- a/MdeModulePkg/Core/PiSmmCore/PiSmmIpl.c
+++ b/MdeModulePkg/Core/PiSmmCore/PiSmmIpl.c
@@ -605,16 +605,6 @@ SmmIplDxeDispatchEventNotify (
// Print debug message that the SMRAM window is now closed.
//
DEBUG ((DEBUG_INFO, "SMM IPL closed SMRAM window\n"));
-
- //
- // Lock the SMRAM (Note: Locking SMRAM may not be supported on all platforms)
- //
- mSmmAccess->Lock (mSmmAccess);
-
- //
- // Print debug message that the SMRAM window is now locked
- //
- DEBUG ((DEBUG_INFO, "SMM IPL locked SMRAM window\n"));
}
}
@@ -708,7 +698,7 @@ SmmIplReadyToLockEventNotify (
// Lock the SMRAM (Note: Locking SMRAM may not be supported on all platforms)
//
mSmmAccess->Lock (mSmmAccess);
-
+
//
// Close protocol and event notification events that do not apply after the
// DXE SMM Ready To Lock Protocol has been installed or the Ready To Boot