Cc: Jiewen Yao <jiewen....@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.z...@intel.com>
---
 MdeModulePkg/Core/PiSmmCore/PiSmmCore.c | 2 +-
 MdeModulePkg/Core/PiSmmCore/PiSmmIpl.c  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/MdeModulePkg/Core/PiSmmCore/PiSmmCore.c 
b/MdeModulePkg/Core/PiSmmCore/PiSmmCore.c
index 852f8b9..c91f149 100644
--- a/MdeModulePkg/Core/PiSmmCore/PiSmmCore.c
+++ b/MdeModulePkg/Core/PiSmmCore/PiSmmCore.c
@@ -80,7 +80,7 @@ SMM_CORE_SMI_HANDLERS  mSmmCoreSmiHandlers[] = {
   { SmmLegacyBootHandler,       &gEfiEventLegacyBootGuid,           NULL, 
FALSE },
   { SmmExitBootServicesHandler, &gEfiEventExitBootServicesGuid,     NULL, 
FALSE },
   { SmmReadyToBootHandler,      &gEfiEventReadyToBootGuid,          NULL, 
FALSE },
-  { SmmEndOfDxeHandler,         &gEfiEndOfDxeEventGroupGuid,        NULL, 
FALSE },
+  { SmmEndOfDxeHandler,         &gEfiEndOfDxeEventGroupGuid,        NULL, TRUE 
},
   { NULL,                       NULL,                               NULL, 
FALSE }
 };
 
diff --git a/MdeModulePkg/Core/PiSmmCore/PiSmmIpl.c 
b/MdeModulePkg/Core/PiSmmCore/PiSmmIpl.c
index 4dd1352..ebef741 100644
--- a/MdeModulePkg/Core/PiSmmCore/PiSmmIpl.c
+++ b/MdeModulePkg/Core/PiSmmCore/PiSmmIpl.c
@@ -267,7 +267,7 @@ SMM_IPL_EVENT_NOTIFICATION  mSmmIplEvents[] = {
   // 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
-- 
1.9.5.msysgit.0


------------------------------------------------------------------------------
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to