From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-x234.google.com (mail-io0-x234.google.com [IPv6:2607:f8b0:4001:c06::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id DB4FB1A1E18 for ; Tue, 9 Aug 2016 07:42:11 -0700 (PDT) Received: by mail-io0-x234.google.com with SMTP id 38so13428528iol.0 for ; Tue, 09 Aug 2016 07:42:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=kK9dSsDGYIObB8oeeTc5uNhVZZk4GpEhnwNFxEysVoM=; b=RXOhbS/kepeiVuxgL2E+AIMOkxQa6WxzGNLYlBnJLbQNtbsVIGJfmx7/N8rqT6eWwb pOFKFSnyDb7b6Pe7g2Qu000WQfy69oMva41pIcRLPh01a435v4Huo8rRPDgReUO9oCm/ 7mPXxLRQIjM/WvICMEI1wDxJzZo6f987zyigk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=kK9dSsDGYIObB8oeeTc5uNhVZZk4GpEhnwNFxEysVoM=; b=d3ieeogj931F+uvi0a3sbYwcDIEjZhu8v9bWdlG5bgW3gZOQ3iXq0UySjD4rhnRzyT FAcOqXv3rTq34XA14h0q1ztTSWp7hHEyoKd2DHTSDD/ODUUfuyqdMlHeVYVlXbWw/39l 6pyqR8tqGujH91K9qYm3aIvoupWuskEV3pwafAPsOIUcqFwDyAgT+PhQc2pJ1tJt1Gc/ r7uUfRAtKEZHOXouCKOL8gzKVW1fBwWg8q3MmclC8SYTHDxsBtP4JMomWF2hFDC5M1jp smjIXhIYJ67hJGFp9ZE45Hs6dE32C7YpK7ApUrip58YsFyLeMRie1zMCh+4uSFr4ZRRK cYOQ== X-Gm-Message-State: AEkooutKnryTqFut+ctfoiQrPnzb/ypdO9Uci3vGubv98Yi88NASwLxKjKn5D6BZDKHzOfx+3EHCqyNxbjB9xXM+ X-Received: by 10.107.41.67 with SMTP id p64mr96031923iop.130.1470753731066; Tue, 09 Aug 2016 07:42:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.204.195 with HTTP; Tue, 9 Aug 2016 07:42:10 -0700 (PDT) In-Reply-To: <1470752347-19268-1-git-send-email-ard.biesheuvel@linaro.org> References: <1470752347-19268-1-git-send-email-ard.biesheuvel@linaro.org> From: Ard Biesheuvel Date: Tue, 9 Aug 2016 16:42:10 +0200 Message-ID: To: edk2-devel-01 Cc: Leif Lindholm , Ard Biesheuvel Subject: Re: [PATCH] MdeModulePkg/EbcDxe: add ARM support X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Aug 2016 14:42:12 -0000 Content-Type: text/plain; charset=UTF-8 On 9 August 2016 at 16:19, Ard Biesheuvel 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 Missing hunk to wire it up 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 # [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