From f02dfb5aee146e37bad52888f7427a7fa8b06d1e Mon Sep 17 00:00:00 2001 From: mdkinney Date: Wed, 31 Aug 2011 02:26:36 +0000 Subject: [PATCH] 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 --- MdeModulePkg/Core/PiSmmCore/PiSmmIpl.c | 12 +----------- 1 file changed, 1 insertion(+), 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