From patchwork Tue Aug 9 14:42:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 73559 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp521288qga; Tue, 9 Aug 2016 07:42:13 -0700 (PDT) X-Received: by 10.98.100.67 with SMTP id y64mr173243038pfb.84.1470753733828; Tue, 09 Aug 2016 07:42:13 -0700 (PDT) Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id x69si42994876pfi.273.2016.08.09.07.42.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Aug 2016 07:42:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 2E5571A1E20; Tue, 9 Aug 2016 07:42:13 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org 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 Subject: Re: [edk2] [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: , Cc: Leif Lindholm , Ard Biesheuvel Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" 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 [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 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 #