Update SmiManager() to invoke all root SMI handlers to following PI Spec.

signed-off-by: Jeff Fan <jeff.fan@intel.com>
reviewed-by: Jiewen Yao <jiewen.yao@intel.com>


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13850 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
vanjeff 2012-10-16 08:57:52 +00:00
parent f941becdd8
commit 6b52b72fb8
1 changed files with 8 additions and 2 deletions

View File

@ -170,14 +170,20 @@ SmiManage (
// If a handler returns EFI_INTERRUPT_PENDING then no additional handlers // If a handler returns EFI_INTERRUPT_PENDING then no additional handlers
// will be processed and EFI_INTERRUPT_PENDING will be returned. // 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: case EFI_SUCCESS:
// //
// If a handler returns EFI_SUCCESS then no additional handlers will be processed. // If a handler returns EFI_SUCCESS then no additional handlers will be processed.
// then the function will return EFI_SUCCESS. // then the function will return EFI_SUCCESS.
// //
return EFI_SUCCESS; if (HandlerType != NULL) {
return EFI_SUCCESS;
}
break;
case EFI_WARN_INTERRUPT_SOURCE_QUIESCED: case EFI_WARN_INTERRUPT_SOURCE_QUIESCED:
// //