diff mbox

[Linaro-uefi,linaro-uefi,2/4] Platforms/ARM/VExpress: Define extents of MM communication buffer

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

Commit Message

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

The secure world firmware (e.g. ARM Trusted Firmware) allocates the
communication buffer used in the MM Communicate SMC. EDK2 is expected to map
this buffer in its own address map. In the absence of a mechanism where ARM TF
can pass the extents of this buffer at runtime to EDK2, this patch hard codes
this information in the UEFI binary for the ARM FVP.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Achin Gupta <achin.gupta@arm.com>
---
 Platforms/ARM/VExpress/ArmVExpress-FVP-AArch64.dsc | 3 +++
 1 file changed, 3 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.
diff mbox

Patch

diff --git a/Platforms/ARM/VExpress/ArmVExpress-FVP-AArch64.dsc b/Platforms/ARM/VExpress/ArmVExpress-FVP-AArch64.dsc
index 938c7a0..8d6a69d 100644
--- a/Platforms/ARM/VExpress/ArmVExpress-FVP-AArch64.dsc
+++ b/Platforms/ARM/VExpress/ArmVExpress-FVP-AArch64.dsc
@@ -122,6 +122,9 @@ 
   ## Trustzone enable (to make the transition from EL3 to NS EL2 in ArmPlatformPkg/Sec)
   gArmTokenSpaceGuid.PcdTrustzoneSupport|TRUE

+  gArmTokenSpaceGuid.PcdMmBufferBase|0xFBE00000
+  gArmTokenSpaceGuid.PcdMmBufferSize|0x200000
+
   #
   # ARM PrimeCell
   #