From patchwork Mon Mar 27 11:19:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 96062 Delivered-To: patch@linaro.org Received: by 10.140.89.233 with SMTP id v96csp1174737qgd; Mon, 27 Mar 2017 04:20:07 -0700 (PDT) X-Received: by 10.99.178.6 with SMTP id x6mr23951852pge.80.1490613607621; Mon, 27 Mar 2017 04:20:07 -0700 (PDT) Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id x89si223359pff.381.2017.03.27.04.20.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Mar 2017 04:20:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; 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 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 835E821DFA917; Mon, 27 Mar 2017 04:20:06 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received: from mail-wr0-x22e.google.com (mail-wr0-x22e.google.com [IPv6:2a00:1450:400c:c0c::22e]) (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 A1A9E21DFA7BB for ; Mon, 27 Mar 2017 04:20:05 -0700 (PDT) Received: by mail-wr0-x22e.google.com with SMTP id w43so39661847wrb.0 for ; Mon, 27 Mar 2017 04:20:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=0Zb+pFwppJIBBO+pZF6O8wdvqVVseTjhbQ/Xv5QVaIU=; b=DRcuvvpn+EDWfk20Po1zWLaBv0fkUQX3i7jKMHi3HXDjlgIWaFZcQ9BbK2LKJNPj5m UYuYjZk26/nZgxP8FwNOQzfUYOuDixD4wpi5FDzw5hFS5FDaQL/XsqczNUprP45r9mPJ EZVPkV+giXIu/5j7ekadywRqYU5xhSL8d2h44= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=0Zb+pFwppJIBBO+pZF6O8wdvqVVseTjhbQ/Xv5QVaIU=; b=jPUKlFmAyaFsxV9WT9vlCUQO/1EsRC01KGnvP071b/uWdpVwsPzy3DIXK10vCmWibr zuwOOlch9oZcj/K0FZG5STIM5AN3PCNAjPdQfSJp1KUrG51Iq/puppUkRV6M9tdhPrBD gI0OvMDEAfP8QNJG1T+Uuz7fLEaosjqJctShF7KThxvXTv9Z5LICAPHAxG2HMpNJaCia vZkEKPhUWye1xiDzwMzdK3Muj4yvQaoRFbSZVXk5ALX0O2p3nABPqcL2OjPSpFMkOWIW wH5s1ghZuTSnz8DIOPb0qLAR//l4AAqgEnC/3mlGi24glR2Mdf+HJWL4U1nPnd5XK6+2 ZGgw== X-Gm-Message-State: AFeK/H1hnXgiEdixmcKRw3vD+HS/+wiQt8P5jjR/ePASwN4PGq/bYAlp8D4Vb5XY5TwiFU2M X-Received: by 10.28.60.65 with SMTP id j62mr9042649wma.73.1490613603663; Mon, 27 Mar 2017 04:20:03 -0700 (PDT) Received: from localhost.localdomain ([196.81.160.3]) by smtp.gmail.com with ESMTPSA id c76sm458368wme.23.2017.03.27.04.20.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Mar 2017 04:20:03 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org, star.zeng@intel.com, feng.tian@intel.com Date: Mon, 27 Mar 2017 12:19:53 +0100 Message-Id: <20170327111953.26732-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.9.3 Subject: [edk2] [PATCH] MdeModulePkg/DxeCore: add missing id-to-string mapping for AARCH64 X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Add a mapping for EFI_IMAGE_MACHINE_AARCH64 to mMachineTypeInfo[] Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel --- MdeModulePkg/Core/Dxe/Image/Image.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.9.3 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Reviewed-by: Liming Gao diff --git a/MdeModulePkg/Core/Dxe/Image/Image.c b/MdeModulePkg/Core/Dxe/Image/Image.c index b22b0fc786fc..91d70d5b6053 100644 --- a/MdeModulePkg/Core/Dxe/Image/Image.c +++ b/MdeModulePkg/Core/Dxe/Image/Image.c @@ -90,7 +90,8 @@ GLOBAL_REMOVE_IF_UNREFERENCED MACHINE_TYPE_INFO mMachineTypeInfo[] = { {EFI_IMAGE_MACHINE_IA32, L"IA32"}, {EFI_IMAGE_MACHINE_IA64, L"IA64"}, {EFI_IMAGE_MACHINE_X64, L"X64"}, - {EFI_IMAGE_MACHINE_ARMTHUMB_MIXED, L"ARM"} + {EFI_IMAGE_MACHINE_ARMTHUMB_MIXED, L"ARM"}, + {EFI_IMAGE_MACHINE_AARCH64, L"AARCH64"} }; UINT16 mDxeCoreImageMachineType = 0;