From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR01-DB5-obe.outbound.protection.outlook.com (EUR01-DB5-obe.outbound.protection.outlook.com [40.107.15.40]) by mx.groups.io with SMTP id smtpd.web10.8171.1596813223945387784 for ; Fri, 07 Aug 2020 08:13:44 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=uRogCvwr; spf=pass (domain: arm.com, ip: 40.107.15.40, mailfrom: sami.mujawar@arm.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=EFB09jbadjUIo0pXODMdjMixWXKiBUBItvTTr16nFao=; b=uRogCvwrrHaL7A+kcMxqLUv2yce6disk80vFcH2Ynq0iSC9zWt90Nsoae2micDpB1j0ihTlTTnsoQ6BgoaSft9mMBUpWf1rrOztIGO+JLI+lkrKRZbzyV1a+E2E05+/KkVINPJsjdSlVbQer7j98x+oCuvpjQ2r/RK/N5qmSFhg= Received: from MR2P264CA0004.FRAP264.PROD.OUTLOOK.COM (2603:10a6:500:1::16) by DB8PR08MB5194.eurprd08.prod.outlook.com (2603:10a6:10:e8::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3261.19; Fri, 7 Aug 2020 15:13:41 +0000 Received: from VE1EUR03FT045.eop-EUR03.prod.protection.outlook.com (2603:10a6:500:1:cafe::a6) by MR2P264CA0004.outlook.office365.com (2603:10a6:500:1::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3261.15 via Frontend Transport; Fri, 7 Aug 2020 15:13:41 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; edk2.groups.io; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;edk2.groups.io; dmarc=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT045.mail.protection.outlook.com (10.152.19.51) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3261.16 via Frontend Transport; Fri, 7 Aug 2020 15:13:40 +0000 Received: ("Tessian outbound 7161e0c2a082:v64"); Fri, 07 Aug 2020 15:13:40 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 551abac474f94ea6 X-CR-MTA-TID: 64aa7808 Received: from 24af7439c8a1.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id BA1522FA-DD60-49A4-9238-73276BA6AB48.1; Fri, 07 Aug 2020 15:13:29 +0000 Received: from EUR05-DB8-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 24af7439c8a1.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 07 Aug 2020 15:13:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=S8S8uOPU1aYy4VEYx7Qq55cit3V1TrdC+S/mxBXLNZnLRXE3Oe/g1jp0eIzh/aM4wADZPw0bnTe3suHn0cFYri5cePrLiGZ8Gu0mLlgTZRyCMhaqBzOk8wajeCbnS39i74NeRYdSx+18lGdh0j+vaq05nDLOntxEkPdiev6TqocOV7UTRFxHHchLdrOnpJsJcW+wAUoeHqTNIOY0m3IWHk3EjHLxcOehzSKpNehGWrGRt5uEJBmzL9AHs2rB/XXPQXD05x2KmMx4/YLzaNru9nTBTC7xnWjKaRCnbHJ0QtMKjiz4PYXo/XA10tT6gmy1EiGbGnATYInSffqYGZcMbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=EFB09jbadjUIo0pXODMdjMixWXKiBUBItvTTr16nFao=; b=bZi10EMG03RE1F99sdOxddNi2WGO7wyhW1Ub5QH6ec/qtuJIP7gUao9NxprZZAl1DgnzX95BhDlDsuoAQoLfPZP7ao15BuqgkeHKW5E8s+59EKOHmAsAw5b8jyuHNNmc42ARQX4oEA0E3E3rnwtjN2IHvNLKlyM80F6RMswx/DRRBqDpigvV1PGAtoZaexMgn85r49GnjHuQ11lwN5FR+f9txtMJO2mG/tqzAWzZMKjta8k1o2g3XRP8KZ3+q9QqOyn/lGlHY9XBU1jP/HSy1rC8FqbXNHv4DeyZOt9USyyDmpC7Fd/j1WEIYXZFNZrI6aT7EXvUx9gKt/k6aDkYbg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=arm.com; dmarc=bestguesspass action=none header.from=arm.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=EFB09jbadjUIo0pXODMdjMixWXKiBUBItvTTr16nFao=; b=uRogCvwrrHaL7A+kcMxqLUv2yce6disk80vFcH2Ynq0iSC9zWt90Nsoae2micDpB1j0ihTlTTnsoQ6BgoaSft9mMBUpWf1rrOztIGO+JLI+lkrKRZbzyV1a+E2E05+/KkVINPJsjdSlVbQer7j98x+oCuvpjQ2r/RK/N5qmSFhg= Received: from DB7PR02CA0009.eurprd02.prod.outlook.com (2603:10a6:10:52::22) by AM7PR08MB5479.eurprd08.prod.outlook.com (2603:10a6:20b:104::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3261.18; Fri, 7 Aug 2020 15:13:28 +0000 Received: from DB5EUR03FT054.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:52:cafe::60) by DB7PR02CA0009.outlook.office365.com (2603:10a6:10:52::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3261.18 via Frontend Transport; Fri, 7 Aug 2020 15:13:28 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; Received: from nebula.arm.com (40.67.248.234) by DB5EUR03FT054.mail.protection.outlook.com (10.152.20.248) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3261.16 via Frontend Transport; Fri, 7 Aug 2020 15:13:28 +0000 Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2044.4; Fri, 7 Aug 2020 15:13:24 +0000 Received: from E107187.Arm.com (10.57.36.22) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Fri, 7 Aug 2020 15:13:24 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , Subject: [PATCH v1 1/2] DynamicTablesPkg: Update ASL build options Date: Fri, 7 Aug 2020 16:13:22 +0100 Message-ID: <20200807151323.47648-2-sami.mujawar@arm.com> X-Mailer: git-send-email 2.11.0.windows.3 In-Reply-To: <20200807151323.47648-1-sami.mujawar@arm.com> References: <20200807151323.47648-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-HT: Tenant X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 86d7847d-a56c-4cec-67c5-08d83ae477ce X-MS-TrafficTypeDiagnostic: AM7PR08MB5479:|DB8PR08MB5194: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:2803;OLM:2803; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 0CVtOeoI1cf0KWn7h3yMWo16yuUVv8Ktv10zjdLTcBh6zgcZKm/jsOuKYFw6T/p75iMOew7Jlcoj9fhJrWEVkQ34dyFTjW4w6gvQdIgnyNUzTx1EcC5XDnhK3ZmaqXw2J43D7985rJ5fhZfgOL0alz1XOv4H+x02K7eNLGDYCjwQIpyzPRcl2TlAaM0IGGddIbBgAOkbywLACW8PKmS1HIJFONk0Ku3zH7j5/P64bNnANW8vgF8SeTq61OKpGn8hSetOshF3tkCtMNNZbeDuiSqeu9EfuqpguaZrjy6UrxeLiroMUpkR1JycYtv08MPkKTHHm35gZ4ZjHqVLc7nSH7bcsMXL9nvxw0HCqIqUhoBytTlxo42rGJp6+yTbP3Afbm+TsQWtl91WLOerRkPNQbpR5p2hIV/zvoLNaXPTfgPmAO4PP7i8CGRCOzeiau9S71yRfLstwB3MKTj40k66kLDpk8CyF1LSrkK3AzOgp+k= X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFTY:;SFS:(4636009)(136003)(39860400002)(396003)(346002)(376002)(46966005)(36756003)(5660300002)(1076003)(83380400001)(2906002)(478600001)(336012)(82310400002)(186003)(26005)(44832011)(2616005)(82740400003)(86362001)(54906003)(8676002)(426003)(70586007)(6916009)(70206006)(81166007)(7696005)(8936002)(15650500001)(4326008)(356005)(47076004)(316002);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR08MB5479 Return-Path: Sami.Mujawar@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT045.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 2828384c-8c8e-453b-a341-08d83ae47021 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: DWlqR4IrMFOUr3IgFuuDj+N5bnpXG1CGzhCoZCnAfhXSe8WdzLoe97zrCGfTz8n66Ou2QwD49F3W5QCDFwrWgatlM0x6l+i7HfRqw5y3sPMan5g+6c/1WyujiQV+6hKc/KD3rWFVSmHeNQfNOBolYFc3vojko2OuUDRmp/7fTaIV0Xa2e5OqaJ6qjvGn3S//PbIS6xoGJEBFKcz25vjcZWcam79DFbu6xK3tme44HBqoRuuZMFn4XTp3z2aVdKg7aBv9g8eoHURJCSgfI1r8z4VE86ZgXkdCInl1l3vuyitoiUMhK0htFQTIcSvAbMGg+xoM/CWlWQbl8hErv7wKnpPQwG5/sDm2JevOgH0llVCrlwTtcA3lws+9W4YNsBjK8Oc1mt0GovjzSByjPF/PGOi8AQrqpyjdree9O8gf62JS/HW2LGVwdUdqcXMcN/P6mOfNxTkBq82Xswdq7utS2cgMPVbGPvNNT+mSmMe7Z7Y= X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFTY:;SFS:(4636009)(376002)(39860400002)(396003)(346002)(136003)(46966005)(36756003)(47076004)(336012)(70586007)(7696005)(5660300002)(86362001)(70206006)(4326008)(81166007)(83380400001)(478600001)(36906005)(82740400003)(82310400002)(186003)(316002)(8676002)(6916009)(1076003)(2616005)(44832011)(426003)(26005)(54906003)(15650500001)(2906002)(8936002);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Aug 2020 15:13:40.8795 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 86d7847d-a56c-4cec-67c5-08d83ae477ce X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: VE1EUR03FT045.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB5194 Content-Type: text/plain From: Pierre Gondois The EdkII BaseTools have been updated to facilitate the generation of C file containing AML data using the AmlToC script. The build system follows the following sequence for an ASL file compilation: - The ASL file is preprocessed using the C preprocessor - The Trim utility prunes the preprocessed file to removed unwanted data. - This file is compiled using an ASL compiler to generate an AML file. - The AmlToC python script reads the AML data and generates a C file with an array containing the AML data. - This C file containing a unique symbol name for the AML data array is then compiled with the firmware module. This removes the dependency on the ACPICA iASL compiler's "-tc" option which achieved the same effect but was less portable. Therefore, remove the "-tc" option from the ASL flags as this option is only been supported by the ACPICA iASL compiler. Signed-off-by: Pierre Gondois Signed-off-by: Sami Mujawar --- DynamicTablesPkg/DynamicTables.dsc.inc | 3 +- DynamicTablesPkg/Readme.md | 29 ++------------------ 2 files changed, 4 insertions(+), 28 deletions(-) diff --git a/DynamicTablesPkg/DynamicTables.dsc.inc b/DynamicTablesPkg/DynamicTables.dsc.inc index 0bf7a77cf2dcf82135f52a834774769bb06ba21a..d15b74884f0b618e427ac8c6804c50b4746ea602 100644 --- a/DynamicTablesPkg/DynamicTables.dsc.inc +++ b/DynamicTablesPkg/DynamicTables.dsc.inc @@ -1,7 +1,7 @@ ## @file # Dsc include file for Dynamic Tables Framework. # -# Copyright (c) 2017 - 2019, ARM Limited. All rights reserved.
+# Copyright (c) 2017 - 2020, Arm Limited. All rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -10,7 +10,6 @@ [Defines] [BuildOptions] - *_*_*_ASL_FLAGS = -tc -li -so [LibraryClasses.common] TableHelperLib|DynamicTablesPkg/Library/Common/TableHelperLib/TableHelperLib.inf diff --git a/DynamicTablesPkg/Readme.md b/DynamicTablesPkg/Readme.md index 93fd1f313aa5227df5c1ccc82dfe17cb4c8f9e0a..da900146d3df35d98f417f0846c614ec9af09941 100644 --- a/DynamicTablesPkg/Readme.md +++ b/DynamicTablesPkg/Readme.md @@ -68,22 +68,6 @@ information file is planned. Also support for generating SMBIOS tables is planned and will be added subsequently. -Related Modules ---------------- - -### ACPICA iASL compiler -The RAW table generator, used to process the DSDT/SSDT files depends on -the iASL compiler to convert the DSDT/SSDT ASL files to a C array containing -the hex AML code. The "-tc" option of the iASL compiler has been enhanced to -support generation of an AML hex file (C header) with a unique symbol name -so that it is suitable for inclusion from a C source file. - -Related Links --------------- - - - - Supported Platforms ------------------- 1. Juno @@ -120,16 +104,9 @@ or Prerequisites ------------- -ACPICA iASL compiler with the enhanced "-tc" option to support generation of -AML hex (C header) files with unique symbol names. - -A patch *'[iASL: Enhance the -tc option (create AML hex file in C)](https://github.com/acpica/acpica/commit/f9a88a4c1cd020b6a5475d63b29626852a0b5f37)'*, dated 16 March 2018 (2018-03-16), -to enable this support has been integrated to the ACPICA source repository. - -Ensure that the iASL compiler used for building *Dynamic Tables Framework* has this feature enabled. - -This feature was made available in the *ACPICA Compiler update -[Version 20180508](https://www.acpica.org/node/156)*, dated 8 May 2018 (2018-05-08). +Ensure that the latest ACPICA iASL compiler is used for building *Dynamic Tables Framework*. +*Dynamic Tables Framework* has been tested using the following iASL compiler version: +[Version 20200717](https://www.acpica.org/node/183)*, dated 17 July, 2020. Documentation ------------- -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'