From: vanjeff Date: Tue, 16 Oct 2012 08:57:52 +0000 (+0000) Subject: Update SmiManager() to invoke all root SMI handlers to following PI Spec. X-Git-Tag: edk2-stable201903~12959 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=6b52b72fb87d8ceaa9ac5c3969915ca7b87e17fc;p=mirror_edk2.git Update SmiManager() to invoke all root SMI handlers to following PI Spec. signed-off-by: Jeff Fan reviewed-by: Jiewen Yao git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13850 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdeModulePkg/Core/PiSmmCore/Smi.c b/MdeModulePkg/Core/PiSmmCore/Smi.c index 1868bbf9e1..1111959c3a 100644 --- a/MdeModulePkg/Core/PiSmmCore/Smi.c +++ b/MdeModulePkg/Core/PiSmmCore/Smi.c @@ -170,14 +170,20 @@ SmiManage ( // If a handler returns EFI_INTERRUPT_PENDING then no additional handlers // will be processed and EFI_INTERRUPT_PENDING will be returned. // - return EFI_INTERRUPT_PENDING; + if (HandlerType != NULL) { + return EFI_INTERRUPT_PENDING; + } + break; case EFI_SUCCESS: // // If a handler returns EFI_SUCCESS then no additional handlers will be processed. // then the function will return EFI_SUCCESS. // - return EFI_SUCCESS; + if (HandlerType != NULL) { + return EFI_SUCCESS; + } + break; case EFI_WARN_INTERRUPT_SOURCE_QUIESCED: //