Revision: 17659
          http://sourceforge.net/p/edk2/code/17659
Author:   lzeng14
Date:     2015-06-18 09:27:42 +0000 (Thu, 18 Jun 2015)
Log Message:
-----------
MdeModulePkg PiSmmCore: Unregister end of dxe notification in SmmReadyToLock.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <[email protected]>
Reviewed-by: Jiewen Yao <[email protected]>

Modified Paths:
--------------
    trunk/edk2/MdeModulePkg/Core/PiSmmCore/PiSmmCore.c
    trunk/edk2/MdeModulePkg/Core/PiSmmCore/PiSmmIpl.c

Modified: trunk/edk2/MdeModulePkg/Core/PiSmmCore/PiSmmCore.c
===================================================================
--- trunk/edk2/MdeModulePkg/Core/PiSmmCore/PiSmmCore.c  2015-06-18 09:27:11 UTC 
(rev 17658)
+++ trunk/edk2/MdeModulePkg/Core/PiSmmCore/PiSmmCore.c  2015-06-18 09:27:42 UTC 
(rev 17659)
@@ -80,7 +80,7 @@
   { SmmLegacyBootHandler,       &gEfiEventLegacyBootGuid,           NULL, 
FALSE },
   { SmmExitBootServicesHandler, &gEfiEventExitBootServicesGuid,     NULL, 
FALSE },
   { SmmReadyToBootHandler,      &gEfiEventReadyToBootGuid,          NULL, 
FALSE },
-  { SmmEndOfDxeHandler,         &gEfiEndOfDxeEventGroupGuid,        NULL, 
FALSE },
+  { SmmEndOfDxeHandler,         &gEfiEndOfDxeEventGroupGuid,        NULL, TRUE 
},
   { NULL,                       NULL,                               NULL, 
FALSE }
 };
 

Modified: trunk/edk2/MdeModulePkg/Core/PiSmmCore/PiSmmIpl.c
===================================================================
--- trunk/edk2/MdeModulePkg/Core/PiSmmCore/PiSmmIpl.c   2015-06-18 09:27:11 UTC 
(rev 17658)
+++ trunk/edk2/MdeModulePkg/Core/PiSmmCore/PiSmmIpl.c   2015-06-18 09:27:42 UTC 
(rev 17659)
@@ -267,7 +267,7 @@
   // the associated event is immediately signalled, so the notification 
function will be executed and the 
   // SMM End Of Dxe Protocol will be found if it is already in the handle 
database.
   //
-  { FALSE, FALSE,  &gEfiEndOfDxeEventGroupGuid,        
SmmIplGuidedEventNotify,           &gEfiEndOfDxeEventGroupGuid,        
TPL_CALLBACK, NULL },
+  { FALSE, TRUE,  &gEfiEndOfDxeEventGroupGuid,        SmmIplGuidedEventNotify, 
          &gEfiEndOfDxeEventGroupGuid,        TPL_CALLBACK, NULL },
   //
   // Declare event notification on the DXE Dispatch Event Group.  This event 
is signaled by the DXE Core
   // each time the DXE Core dispatcher has completed its work.  When this 
event is signalled, the SMM Core


------------------------------------------------------------------------------
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to