audk/ArmPkg/Drivers/MmCommunicationDxe
Ard Biesheuvel 3be909099c ArmPkg/MmCommunicationDxe: fix logic bug in DXE driver entrypoint
Commit 2fe25a74d6 ("ArmPkg/MmCommunicationDxe: relay architected PI
events to MM context") update the ARM specific standalone MM client
driver to register for certain events in the entrypoint code, but did
so in a way that makes the entrypoint always return with an error.

Instead, return EFI_SUCCESS if registering for those events succeeds,
and back out the registrations that did succeed if one fails, and
return an error.

Fixes: 2fe25a74d6 ("ArmPkg/MmCommunicationDxe: relay architected PI events to MM context")
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif@nuviainc.com>
2020-03-04 17:42:43 +00:00
..
MmCommunicate.h
MmCommunication.c ArmPkg/MmCommunicationDxe: fix logic bug in DXE driver entrypoint 2020-03-04 17:42:43 +00:00
MmCommunication.inf ArmPkg/MmCommunicationDxe: relay architected PI events to MM context 2019-12-11 11:10:47 +00:00