]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/PiSmmCore/PiSmmIpl.c
Rollback SMRAM Lock location
[mirror_edk2.git] / MdeModulePkg / Core / PiSmmCore / PiSmmIpl.c
index fa6f2f1eb97087c124f244163b367eddfacfc579..b0c43f6f19cc3b8d9f11a7c40850230bf5f8be24 100644 (file)
@@ -605,16 +605,6 @@ SmmIplDxeDispatchEventNotify (
     // Print debug message that the SMRAM window is now closed.\r
     //\r
     DEBUG ((DEBUG_INFO, "SMM IPL closed SMRAM window\n"));\r
-\r
-    //\r
-    // Lock the SMRAM (Note: Locking SMRAM may not be supported on all platforms)\r
-    //\r
-    mSmmAccess->Lock (mSmmAccess);\r
-\r
-    //\r
-    // Print debug message that the SMRAM window is now locked\r
-    //\r
-    DEBUG ((DEBUG_INFO, "SMM IPL locked SMRAM window\n"));\r
   }\r
 }\r
 \r
@@ -708,7 +698,7 @@ SmmIplReadyToLockEventNotify (
   // Lock the SMRAM (Note: Locking SMRAM may not be supported on all platforms)\r
   //\r
   mSmmAccess->Lock (mSmmAccess);\r
-\r
+  \r
   //\r
   // Close protocol and event notification events that do not apply after the \r
   // DXE SMM Ready To Lock Protocol has been installed or the Ready To Boot \r