[Linaro-uefi,linaro-uefi,3/4] Platforms/ARM/VExpress: Include MM communication protocol driver

Message ID 1481106182-26721-4-git-send-email-achin.gupta@arm.com
State Superseded
Headers show

Commit Message

Achin Gupta Dec. 7, 2016, 10:23 a.m.
From: Achin Gupta <achin.gupta@arm.com>

This patch includes the DXE runtime driver that exports the
EFI_MM_COMMUNICATION_PROTOCOL for the FVP platform. This driver is responsible
for handling communication with the MM environment in the secure world. An
implementation of the ARM SVC lib is also include in the FVP build.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Achin Gupta <achin.gupta@arm.com>
---
 Platforms/ARM/VExpress/ArmVExpress-FVP-AArch64.dsc | 4 ++++
 Platforms/ARM/VExpress/ArmVExpress-FVP-AArch64.fdf | 3 +++
 2 files changed, 7 insertions(+)

--
1.9.1

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

Patch

diff --git a/Platforms/ARM/VExpress/ArmVExpress-FVP-AArch64.dsc b/Platforms/ARM/VExpress/ArmVExpress-FVP-AArch64.dsc
index 8d6a69d..b6db588 100644
--- a/Platforms/ARM/VExpress/ArmVExpress-FVP-AArch64.dsc
+++ b/Platforms/ARM/VExpress/ArmVExpress-FVP-AArch64.dsc
@@ -40,6 +40,7 @@ 

 [LibraryClasses.common]
   ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
+  ArmSvcLib|ArmPkg/Library/ArmSvcLib/ArmSvcLib.inf
   ArmCpuLib|ArmPkg/Drivers/ArmCpuLib/ArmCortexAEMv8Lib/ArmCortexAEMv8Lib.inf
   ArmPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/ArmVExpressLib.inf
   ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf
@@ -287,6 +288,9 @@ 

   MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf

+  # Standalone MM Support
+  ArmPkg/Drivers/MmCommunicationDxe/MmCommunication.inf
+
   #
   # Semi-hosting filesystem
   #
diff --git a/Platforms/ARM/VExpress/ArmVExpress-FVP-AArch64.fdf b/Platforms/ARM/VExpress/ArmVExpress-FVP-AArch64.fdf
index 2ace4d8..0e9f8d1 100644
--- a/Platforms/ARM/VExpress/ArmVExpress-FVP-AArch64.fdf
+++ b/Platforms/ARM/VExpress/ArmVExpress-FVP-AArch64.fdf
@@ -142,6 +142,9 @@  FvNameGuid         = 87940482-fc81-41c3-87e6-399cf85ac8a0
   #
   INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf

+  # Standalone MM Support
+  INF ArmPkg/Drivers/MmCommunicationDxe/MmCommunication.inf
+
   #
   # Platform Driver
   #