From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt0-f170.google.com (mail-qt0-f170.google.com [209.85.216.170]) (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 704C581C33 for ; Thu, 12 Jan 2017 23:57:37 -0800 (PST) Received: by mail-qt0-f170.google.com with SMTP id x49so40637828qtc.2 for ; Thu, 12 Jan 2017 23:57:37 -0800 (PST) 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=9PSvsOOmQI+9eMQWEb8yt/Y1IUEwdQyozQvVoy3G0IQ=; b=BqckCEdlYDsDZwfDxy36TaHXaupcuE9oyMyvZ/UHU85l7KBCMFKoDkulN/yj8bngr1 q35RiXEBuWxsye7C4MW2hGQ6ouAr4O9MZGEbf4WOsaaX31No5lQYfZWUIj2yKU/1tZki MlPTxf6WavmikE+x002T+u6Jbtt9FciJYYzMOZT9DS1Q7u8FOnLwwC2AGUU9vn1AxNmZ j0BzxXMfI5RyeGCOtjSj+CDNj6kXsPTeCmmkG7zQbRhW30A0u/n72KP8akIcDkRfIiLI BQF6UfZhZaAr4+DT7esIahoIudLiQsTyhs+dskksi23dLRRkro8Xbv9A4ctjVq5RKBqJ GAPA== X-Gm-Message-State: AIkVDXJwN3/Tcww/1sGvyFb0WHdAe/ZZn0tccRuqHdcxRkLfHHgatR20iDvl7LT5l16p7vUI X-Received: by 10.237.53.201 with SMTP id d9mr12123081qte.235.1484294256677; Thu, 12 Jan 2017 23:57:36 -0800 (PST) Received: from localhost ([122.177.50.208]) by smtp.gmail.com with ESMTPSA id 140sm8650749qkj.19.2017.01.12.23.57.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Jan 2017 23:57:36 -0800 (PST) From: Bhupesh Sharma To: edk2-devel@lists.01.org Cc: bhupesh.linux@gmail.com, Bhupesh Sharma , Ni Ruiyu , Evan Lloyd , Sami Mujawar , Yao Jiewen Date: Fri, 13 Jan 2017 13:26:59 +0530 Message-Id: <1484294219-3320-1-git-send-email-bhsharma@redhat.com> X-Mailer: git-send-email 2.7.4 Subject: [PATCH 1/1] AcpiTool: Fix minor casing and file path issues 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: Fri, 13 Jan 2017 07:57:37 -0000 This patch fixes some minor casing and file path issues with the AcpiToolPkg from Yao Jiewen (https://github.com/jyao1/EdkiiShellTool). This patch also adds AARCH64 as one of the supported architectures on which AcpiTool can run. Compiled and tested this patch under the following environment: - Compiled for AARCH64 architecture using GCC4.9 toolchain from Linaro. - Exercised the 'DumpACPI.efi' thus generated on Qemu for AARCH64 as an application. - Able to dump all relevant ACPI tables. This patch is also available here for easy access: https://github.com/bhupesh-sharma/EdkiiShellTool Cc: Ni Ruiyu Cc: Evan Lloyd Cc: Sami Mujawar Cc: Yao Jiewen Signed-off-by: Bhupesh Sharma Contributed-under: TianoCore Contribution Agreement 1.0 --- AcpiToolPkg/AcpiToolPkg.dsc | 2 +- AcpiToolPkg/DumpAcpi/DumpACPI.c | 2 +- AcpiToolPkg/DumpAcpi/DumpACPI.h | 2 +- AcpiToolPkg/DumpAcpi/DumpAcpiDSDT.c | 2 +- AcpiToolPkg/DumpAcpi/DumpAcpiPSDT.c | 2 +- AcpiToolPkg/DumpAcpi/DumpAcpiSSDT.c | 2 +- AcpiToolPkg/Library/DumpAcpi/DumpAcpiDMARLib/DumpAcpiDMARLib.c | 2 +- .../Library/DumpAcpi/DumpAcpiTableFuncLib/DumpAcpiTableFuncLib.c | 6 +++--- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/AcpiToolPkg/AcpiToolPkg.dsc b/AcpiToolPkg/AcpiToolPkg.dsc index 9943f7610315..c0fcec5b2518 100644 --- a/AcpiToolPkg/AcpiToolPkg.dsc +++ b/AcpiToolPkg/AcpiToolPkg.dsc @@ -17,7 +17,7 @@ PLATFORM_VERSION = 0.1 DSC_SPECIFICATION = 0x00010005 OUTPUT_DIRECTORY = Build/AcpiToolPkg - SUPPORTED_ARCHITECTURES = IA32|X64 + SUPPORTED_ARCHITECTURES = IA32|X64|AARCH64 BUILD_TARGETS = DEBUG|RELEASE SKUID_IDENTIFIER = DEFAULT diff --git a/AcpiToolPkg/DumpAcpi/DumpACPI.c b/AcpiToolPkg/DumpAcpi/DumpACPI.c index 38cc804a72e9..5ea51e67a260 100644 --- a/AcpiToolPkg/DumpAcpi/DumpACPI.c +++ b/AcpiToolPkg/DumpAcpi/DumpACPI.c @@ -23,7 +23,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include -#include "DumpAcpi.h" +#include "DumpACPI.h" #define RSDP_SIGN_DEFINITION SIGNATURE_32 ('R', 'S', 'D', 'P') diff --git a/AcpiToolPkg/DumpAcpi/DumpACPI.h b/AcpiToolPkg/DumpAcpi/DumpACPI.h index 40c11e70f443..8307f50ec805 100644 --- a/AcpiToolPkg/DumpAcpi/DumpACPI.h +++ b/AcpiToolPkg/DumpAcpi/DumpACPI.h @@ -16,7 +16,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include #include -#include +#include #ifndef MAX_FILE_NAME_LEN #define MAX_FILE_NAME_LEN 0x1000 diff --git a/AcpiToolPkg/DumpAcpi/DumpAcpiDSDT.c b/AcpiToolPkg/DumpAcpi/DumpAcpiDSDT.c index 42541be92081..764f4b6470ba 100644 --- a/AcpiToolPkg/DumpAcpi/DumpAcpiDSDT.c +++ b/AcpiToolPkg/DumpAcpi/DumpAcpiDSDT.c @@ -24,7 +24,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include #include -#include "DumpAcpi.h" +#include "DumpACPI.h" VOID EFIAPI diff --git a/AcpiToolPkg/DumpAcpi/DumpAcpiPSDT.c b/AcpiToolPkg/DumpAcpi/DumpAcpiPSDT.c index 8878d3f6b594..b28e90f18172 100644 --- a/AcpiToolPkg/DumpAcpi/DumpAcpiPSDT.c +++ b/AcpiToolPkg/DumpAcpi/DumpAcpiPSDT.c @@ -24,7 +24,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include #include -#include "DumpAcpi.h" +#include "DumpACPI.h" VOID EFIAPI diff --git a/AcpiToolPkg/DumpAcpi/DumpAcpiSSDT.c b/AcpiToolPkg/DumpAcpi/DumpAcpiSSDT.c index 0a268eb136ab..c49b84c18ee0 100644 --- a/AcpiToolPkg/DumpAcpi/DumpAcpiSSDT.c +++ b/AcpiToolPkg/DumpAcpi/DumpAcpiSSDT.c @@ -24,7 +24,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include #include -#include "DumpAcpi.h" +#include "DumpACPI.h" VOID EFIAPI diff --git a/AcpiToolPkg/Library/DumpAcpi/DumpAcpiDMARLib/DumpAcpiDMARLib.c b/AcpiToolPkg/Library/DumpAcpi/DumpAcpiDMARLib/DumpAcpiDMARLib.c index 865a213fa706..7d6d8e0b0194 100644 --- a/AcpiToolPkg/Library/DumpAcpi/DumpAcpiDMARLib/DumpAcpiDMARLib.c +++ b/AcpiToolPkg/Library/DumpAcpi/DumpAcpiDMARLib/DumpAcpiDMARLib.c @@ -18,7 +18,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include #include #include -#include +#include VOID DumpDmarDeviceScopeEntry ( diff --git a/AcpiToolPkg/Library/DumpAcpi/DumpAcpiTableFuncLib/DumpAcpiTableFuncLib.c b/AcpiToolPkg/Library/DumpAcpi/DumpAcpiTableFuncLib/DumpAcpiTableFuncLib.c index a52a718bfa40..9036926065cb 100644 --- a/AcpiToolPkg/Library/DumpAcpi/DumpAcpiTableFuncLib/DumpAcpiTableFuncLib.c +++ b/AcpiToolPkg/Library/DumpAcpi/DumpAcpiTableFuncLib/DumpAcpiTableFuncLib.c @@ -12,9 +12,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. **/ #include -#include -#include -#include +#include +#include +#include typedef struct { UINT32 Signature; -- 2.7.4