]> git.proxmox.com Git - mirror_edk2.git/commit - ArmPkg/Drivers/MmCommunicationDxe/MmCommunication.c
ArmPkg/Drivers: Add EFI_MM_COMMUNICATION_PROTOCOL DXE driver.
authorAchin Gupta <achin.gupta@arm.com>
Tue, 27 Nov 2018 10:43:54 +0000 (16:13 +0530)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 27 Nov 2018 12:05:57 +0000 (13:05 +0100)
commit4c2f32ed1aeea9905760968985f1316a096f9dde
tree53cf96f4d3266234b1dede6428afc9394aec135b
parent767febf86f3f153625e4ae7aa45c2bbdafdf7677
ArmPkg/Drivers: Add EFI_MM_COMMUNICATION_PROTOCOL DXE driver.

PI v1.5 Specification Volume 4 defines Management Mode Core Interface
and defines EFI_MM_COMMUNICATION_PROTOCOL. This protocol provides a
means of communicating between drivers outside of MM and MMI
handlers inside of MM.

This patch implements the EFI_MM_COMMUNICATION_PROTOCOL DXE runtime
driver for AARCH64 platforms. It uses SMCs allocated from the standard
SMC range defined in DEN0060A_ARM_MM_Interface_Specification.pdf
to communicate with the standalone MM environment in the secure world.

This patch also adds the MM Communication driver (.inf) file to
define entry point for this driver and other compile
related information the driver needs.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Sughosh Ganu <sughosh.ganu@arm.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
ArmPkg/Drivers/MmCommunicationDxe/MmCommunicate.h [new file with mode: 0644]
ArmPkg/Drivers/MmCommunicationDxe/MmCommunication.c [new file with mode: 0644]
ArmPkg/Drivers/MmCommunicationDxe/MmCommunication.inf [new file with mode: 0644]