[edk2] MdeModulePkg/EbcDxe: add ARM support

Message ID CAKv+Gu-j+9snbGhk4Px_4Jxk0F+pxkOKkcY2gT4a8S0K0vVRHg@mail.gmail.com
State New
Headers show

Commit Message

Ard Biesheuvel Aug. 9, 2016, 2:42 p.m.
On 9 August 2016 at 16:19, Ard Biesheuvel <ard.biesheuvel@linaro.org> wrote:
> This is a port of the recently proposed AARCH64 implementation of

> the EBC runtime to ARM. It is a proof of concept: it runs

> HelloWorld.efi, but it is likely that there are issues with

> function argument marshalling that are difficult to solve.

> In particular, UINT64 register arguments are passed in even/odd

> pairs, which would require padding on the VM stack.

>

> Contributed-under: TianoCore Contribution Agreement 1.0

> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>



Missing hunk to wire it up

 [Sources]
@@ -55,6 +55,10 @@ [Sources.IPF]
   Ipf/EbcSupport.c
   Ipf/EbcLowLevel.s

+[Sources.ARM]
+  Arm/EbcSupport.c
+  Arm/EbcLowLevel.S
+
 [Sources.AARCH64]
   AArch64/EbcSupport.c
   AArch64/EbcLowLevel.S
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Patch

diff --git a/MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
b/MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
index cb8022fc3197..8cc5a38acc73 100644
--- a/MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
+++ b/MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
@@ -29,7 +29,7 @@  [Defines]
 #
 # The following information is for reference only and not required by
the build tools.
 #
-#  VALID_ARCHITECTURES           = IA32 X64 IPF AARCH64
+#  VALID_ARCHITECTURES           = IA32 X64 IPF ARM AARCH64
 #