StandaloneMmPkg/Core: dispatch all drivers at init time

Instead of deferring dispatch of the remaining MM drivers once the
CPU driver has been dispatched, proceed and dispatch all drivers.
This makes sense for standalone MM, since all dispatchable drivers
should be present in the initial firmware volume anyway: dispatch
of additional FVs originating in the non-secure side is not supported.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: "Yao, Jiewen" <jiewen.yao@intel.com>
Reviewed-by: Achin Gupta <achin.gupta@arm.com>
This commit is contained in:
Ard Biesheuvel
2019-03-04 18:17:06 +01:00
parent d65e0e4881
commit 84249babd7
2 changed files with 0 additions and 93 deletions

View File

@@ -100,7 +100,6 @@ BOOLEAN mInLegacyBoot = FALSE;
//
MM_CORE_MMI_HANDLERS mMmCoreMmiHandlers[] = {
{ MmFvDispatchHandler, &gMmFvDispatchGuid, NULL, TRUE },
{ MmDriverDispatchHandler, &gEfiEventDxeDispatchGuid, NULL, TRUE },
{ MmReadyToLockHandler, &gEfiDxeMmReadyToLockProtocolGuid, NULL, TRUE },
{ MmEndOfDxeHandler, &gEfiEndOfDxeEventGroupGuid, NULL, FALSE },
{ MmLegacyBootHandler, &gEfiEventLegacyBootGuid, NULL, FALSE },