From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (EUR04-VI1-obe.outbound.protection.outlook.com [40.107.8.57]) by mx.groups.io with SMTP id smtpd.web11.810.1595611681123316391 for ; Fri, 24 Jul 2020 10:28:02 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=+BFZuVdl; spf=pass (domain: arm.com, ip: 40.107.8.57, 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=KfFqic/X403U2Pm6tPzKX4YrtI5izqPpAbQOVlrIZkg=; b=+BFZuVdlVcS9MjYwMkttHkLxyxRC3roFs5iyHDW/9IyAAg7Dzo5qGoQ8/T5+V8KItGWL3SrJ7Rsjoaa5Rmsw1YuoHmdIEThNXj2llgVRt8v7p0CmpcZb/CHB9GOJcbfbI6PCy4ltnljT0g1PjpdU5prdNZYLYnT8piwRo/AEPwk= Received: from AM6P192CA0033.EURP192.PROD.OUTLOOK.COM (2603:10a6:209:83::46) by AM6PR08MB4486.eurprd08.prod.outlook.com (2603:10a6:20b:72::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3216.21; Fri, 24 Jul 2020 17:27:57 +0000 Received: from AM5EUR03FT053.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:83:cafe::42) by AM6P192CA0033.outlook.office365.com (2603:10a6:209:83::46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3216.20 via Frontend Transport; Fri, 24 Jul 2020 17:27:57 +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 AM5EUR03FT053.mail.protection.outlook.com (10.152.16.210) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3216.10 via Frontend Transport; Fri, 24 Jul 2020 17:27:57 +0000 Received: ("Tessian outbound 1c27ecaec3d6:v62"); Fri, 24 Jul 2020 17:27:57 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 2c278588545f6ebf X-CR-MTA-TID: 64aa7808 Received: from 8625de75ab8b.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 2F360BCE-B00D-4EDA-9537-832431AD650A.1; Fri, 24 Jul 2020 17:27:50 +0000 Received: from EUR03-DB5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 8625de75ab8b.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 24 Jul 2020 17:27:50 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eKfJ7vvcsNz2XrXtN7kImkoaN4mJ0xxeBt9awezRqApjwZY613DGuPnpd1zNY/9L/o5hzZSSnxn1AvA3m7Xlj5MWxJPqal6Z6ylvHY8LjivzhNjTyXGAdm49UJx7Wk+0DWBRayPZ3QzEUm/1udJWgVBGYbYtL1qQZEscqQ6RkT2kuqe0W663WZ15y5Wwaf3vzkgOpis6/gqi9iQYstHv/EjIUHYLBtKyMqbQEtz1EfApqV+U59ECBCiwWZ/1LVZYhXXX6bCFmxKht/mgHTPVse3TdghCnrkUmwVd5azrcd7jvNRCIRdy7PpymU+ePnB5kZ41c9i+Z5BuUUPG5tpi4Q== 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=KfFqic/X403U2Pm6tPzKX4YrtI5izqPpAbQOVlrIZkg=; b=eSm65gu2TdxnTmpKOC/BeiCk3DMBsb+elzyGxiL0T2b989uJ2V7ETnu5Y/3OaX3vb4F6jsVlrmF1p02N8ip1KZNoFEodPUR5LNpGkN7AlgxyzOp8NgX3lcNpG3PHnuLUJIzkuMNBbaRBY85e7HrX5jy8rEZdanZGbutdOY0NQ2a7yWMUjoPLKEbCe8t9OXjnjEW+GaXwvCBddBVdukltukyJi1NvVQ5g2szcAj3HHdG6P1nYSwGeWtgMja5Vlk6eRnNOnNM3I05YQ/icgP0+kRpRAxF0W9IniU67n+hFPnYK3nqO3yA9rYFqnYrR2AgKW3/CeOhmKO6vG6HamIHL3Q== 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=KfFqic/X403U2Pm6tPzKX4YrtI5izqPpAbQOVlrIZkg=; b=+BFZuVdlVcS9MjYwMkttHkLxyxRC3roFs5iyHDW/9IyAAg7Dzo5qGoQ8/T5+V8KItGWL3SrJ7Rsjoaa5Rmsw1YuoHmdIEThNXj2llgVRt8v7p0CmpcZb/CHB9GOJcbfbI6PCy4ltnljT0g1PjpdU5prdNZYLYnT8piwRo/AEPwk= Received: from AM6PR04CA0021.eurprd04.prod.outlook.com (2603:10a6:20b:92::34) by VI1PR08MB3757.eurprd08.prod.outlook.com (2603:10a6:803:b5::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3216.24; Fri, 24 Jul 2020 17:27:49 +0000 Received: from VE1EUR03FT017.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:92:cafe::4b) by AM6PR04CA0021.outlook.office365.com (2603:10a6:20b:92::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3216.22 via Frontend Transport; Fri, 24 Jul 2020 17:27:49 +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 VE1EUR03FT017.mail.protection.outlook.com (10.152.18.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3216.10 via Frontend Transport; Fri, 24 Jul 2020 17:27:49 +0000 Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1415.2; Fri, 24 Jul 2020 17:27:45 +0000 Received: from E107187.Arm.com (10.57.37.159) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.1415.2 via Frontend Transport; Fri, 24 Jul 2020 17:27:41 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , , Subject: [PATCH v2-resend 1/4] DynamicTablesPkg: Fix issues reported by EDKII CI Date: Fri, 24 Jul 2020 18:27:37 +0100 Message-ID: <20200724172740.10920-2-sami.mujawar@arm.com> X-Mailer: git-send-email 2.11.0.windows.3 In-Reply-To: <20200724172740.10920-1-sami.mujawar@arm.com> References: <20200724172740.10920-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: 878630fe-42e7-4ce4-ee90-08d82ff6e844 X-MS-TrafficTypeDiagnostic: VI1PR08MB3757:|AM6PR08MB4486: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:4941;OLM:4941; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: sM4WKr3AaUIATnMmiGp5VSmcDx8J/QSY/q3KpvDFxWbuLJ0LlxVf3N22ET2TTAASlM08loIKGATOwOGH6KntpIGKI29+lCjkfbF+EGaAOipY3DmwDyHF7xnes/kk/IPDDIwYSjbSPAT7Xwd4HPIIvg1sYWmAk6j6Ow18u/ZAK0zOCorSD27X27LQJ9MhMbWgoeUj09YpEsSOmOjKZNNpHp5FQFl4+LveQlED8z01bo/aJpWJ+ZaZIkoAT5GHIUlfRyJRrScaW6z+O2LevBpOZI250qRcW1GAZzPqs1lryiBQOwNZXUq97P+FSHNm7gvyDJ+K0AaO0eSw1iHIthi/dhDda66XkpD1W67brFyyP1hcLMqbpych+9xjCidmvhDBPTf5uK5nQXbkmQ3QfwzqeoXeF1V8As0MSyWLfAJ/AHcg4Yfrup5bZgvnfG3+tzVKajrXgL/VJeR+R8nzLK3d1Hv59ac3CnBD5HQ+u26xuGk= 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)(376002)(346002)(39860400002)(136003)(396003)(46966005)(2616005)(4326008)(1076003)(8676002)(8936002)(86362001)(6666004)(47076004)(966005)(36756003)(44832011)(186003)(426003)(30864003)(336012)(478600001)(82740400003)(7696005)(356005)(82310400002)(54906003)(81166007)(6916009)(70586007)(83380400001)(316002)(5660300002)(70206006)(26005)(2906002);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3757 Return-Path: Sami.Mujawar@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT053.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 4a64e00d-1c43-4a85-2ab3-08d82ff6e315 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: sGn+JccIXpQ9HpJ7yn/Rt+vVIzPio2voPyyYoByAqf0rOahpaDYJAeF25dPdUJ+q8E8yT09MdBkJdqiFiKKEo7VRqhxzkcOilMeeuiNHxBvlGvnD9aCCl5qIYboJzWX2Lpj7AzTOa2p1q1/N+qHjsjaacR672LFgnaL1xA+Q/dImlpcQenitxP6ESHPzeLgtNTOk8TsRA+pCXMNAH4RLjNiN4hUnNzmqWuljPEQCEkv2bBx5iMSVhTlO+tPuAxj0NUF1rdLSOCSSptXaHLjTII15VEQdo6NEjlSb/3ijbm0q6WvpmQbOzmDyEIhOpMpqf+Y3fQiMDzGBTlVCJMgYF95ZcAXPWqYVB4SSJmg48Is5Cf+vCLX8TMxrsaSmHl4orPjTMBXzBzDog8U1BpvvjgURogPLr3y4m8H42Cn8XO6k6iPMqUhXSvvur01U8Cr51g9c689MTgdUqIg4mnd3PiU1dg3UxwyEqKuGO6KsetI= 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)(39860400002)(136003)(346002)(376002)(396003)(46966005)(2616005)(82740400003)(336012)(82310400002)(47076004)(8676002)(1076003)(81166007)(6666004)(26005)(4326008)(186003)(36756003)(30864003)(86362001)(83380400001)(44832011)(8936002)(426003)(70586007)(7696005)(36906005)(70206006)(5660300002)(966005)(2906002)(54906003)(316002)(6916009)(478600001);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jul 2020 17:27:57.7487 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 878630fe-42e7-4ce4-ee90-08d82ff6e844 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: AM5EUR03FT053.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB4486 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable The TianoCore EDKII project has introduced a Core CI infrastructure using TianoCore EDKII Tools PIP modules: * https://pypi.org/project/edk2-pytool-library/ * https://pypi.org/project/edk2-pytool-extensions/ More information on configuring the environment and running the builds can be found in edk2\.pytool\Readme.md This patch fixes the issues reported by the CI system mainly around fixing typo errors and package dec and dsc files. A subsequent patch enables the CI builds for the DynamicTablesPkg. Signed-off-by: Sami Mujawar Reviewed-by: Alexei Fedorov --- Notes: v2: - Added INF files in components section to prevent [Sami= ] DscCompleteCheck from failing. - Why are there modules not built during ci (The files [Sean= ] listed in the DscCompleteCheck[IgnoreInf] list) =20 v1: - Fix for various issues reported by the EDKII CI [Sami= ] DynamicTablesPkg/DynamicTables.dsc.inc | 14 ++++= ++++++++++ DynamicTablesPkg/DynamicTablesPkg.dec | 7 ++++= +-- DynamicTablesPkg/DynamicTablesPkg.dsc | 4 ++-- DynamicTablesPkg/Include/ArmNameSpaceObjects.h | 6 +++-= -- DynamicTablesPkg/Library/Acpi/Arm/AcpiDbg2LibArm/Dbg2Generator.c | 4 ++-- DynamicTablesPkg/Library/Acpi/Arm/AcpiIortLibArm/IortGenerator.c | 8 ++++= ---- DynamicTablesPkg/Library/Acpi/Arm/AcpiMadtLibArm/MadtGenerator.c | 12 ++++= ++------ DynamicTablesPkg/Library/Acpi/Arm/AcpiSpcrLibArm/SpcrGenerator.c | 6 +++-= -- DynamicTablesPkg/Library/Acpi/Arm/AcpiSratLibArm/SratGenerator.c | 4 ++-- DynamicTablesPkg/Readme.md | 2 +- 10 files changed, 42 insertions(+), 25 deletions(-) diff --git a/DynamicTablesPkg/DynamicTables.dsc.inc b/DynamicTablesPkg/Dyna= micTables.dsc.inc index 0bf7a77cf2dcf82135f52a834774769bb06ba21a..48ad8833f48d0c56ec3468f4a89= ca56da1a6c56c 100644 --- a/DynamicTablesPkg/DynamicTables.dsc.inc +++ b/DynamicTablesPkg/DynamicTables.dsc.inc @@ -17,6 +17,20 @@ [LibraryClasses.common] =20 [Components.common] # + # Generators + # + DynamicTablesPkg/Library/Acpi/Arm/AcpiDbg2LibArm/AcpiDbg2LibArm.inf + DynamicTablesPkg/Library/Acpi/Arm/AcpiFadtLibArm/AcpiFadtLibArm.inf + DynamicTablesPkg/Library/Acpi/Arm/AcpiGtdtLibArm/AcpiGtdtLibArm.inf + DynamicTablesPkg/Library/Acpi/Arm/AcpiIortLibArm/AcpiIortLibArm.inf + DynamicTablesPkg/Library/Acpi/Arm/AcpiMadtLibArm/AcpiMadtLibArm.inf + DynamicTablesPkg/Library/Acpi/Arm/AcpiMcfgLibArm/AcpiMcfgLibArm.inf + DynamicTablesPkg/Library/Acpi/Arm/AcpiPpttLibArm/AcpiPpttLibArm.inf + DynamicTablesPkg/Library/Acpi/Arm/AcpiRawLibArm/AcpiRawLibArm.inf + DynamicTablesPkg/Library/Acpi/Arm/AcpiSpcrLibArm/AcpiSpcrLibArm.inf + DynamicTablesPkg/Library/Acpi/Arm/AcpiSratLibArm/AcpiSratLibArm.inf + + # # Dynamic Table Factory Dxe # DynamicTablesPkg/Drivers/DynamicTableFactoryDxe/DynamicTableFactoryDxe.i= nf { diff --git a/DynamicTablesPkg/DynamicTablesPkg.dec b/DynamicTablesPkg/Dynam= icTablesPkg.dec index cf453faf590368c2e480e65a09cef4b5fbdc70d1..6cb8a0b4f2c91b59e888951fda0= 34bfdc56d95e1 100644 --- a/DynamicTablesPkg/DynamicTablesPkg.dec +++ b/DynamicTablesPkg/DynamicTablesPkg.dec @@ -1,7 +1,7 @@ ## @file # dec file for Dynamic Tables Framework. # -# Copyright (c) 2017 - 2018, ARM Limited. All rights reserved.
+# Copyright (c) 2017 - 2020, ARM Limited. All rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -16,8 +16,11 @@ [Defines] [Includes] Include =20 +[LibraryClasses] + ## @libraryclass Defines a set of helper methods. + TableHelperLib|Include/Library/TableHelperLib.h + [Protocols] - # Configuration Manager Protocol GUID gEdkiiConfigurationManagerProtocolGuid =3D { 0xd85a4835, 0x5a82, 0x4894,= { 0xac, 0x2, 0x70, 0x6f, 0x43, 0xd5, 0x97, 0x8e } } =20 diff --git a/DynamicTablesPkg/DynamicTablesPkg.dsc b/DynamicTablesPkg/Dynam= icTablesPkg.dsc index 02f04447fffa867c602c748279c041bd566a7fd6..5fb30a9315a75750a7d4c3e802c= 610a7991111c7 100644 --- a/DynamicTablesPkg/DynamicTablesPkg.dsc +++ b/DynamicTablesPkg/DynamicTablesPkg.dsc @@ -2,7 +2,7 @@ # Dsc file for Dynamic Tables Framework. # # Copyright (c) 2019, Linaro Limited. All rights reserved.
-# Copyright (c) 2019, ARM Limited. All rights reserved.
+# Copyright (c) 2019 - 2020, ARM Limited. All rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -39,7 +39,7 @@ [Components.common] DynamicTablesPkg/Library/Common/TableHelperLib/TableHelperLib.inf =20 [BuildOptions] - *_*_*_CC_FLAGS =3D -DDISABLE_NEW_DEPRECATED_INTERFACES + *_*_*_CC_FLAGS =3D -D DISABLE_NEW_DEPRECATED_INTERFACES =20 !ifdef STATIC_ANALYSIS # Check all rules diff --git a/DynamicTablesPkg/Include/ArmNameSpaceObjects.h b/DynamicTables= Pkg/Include/ArmNameSpaceObjects.h index 2f326960313c1d7658029205e5cb09b89b0cdd88..57a282d5cb6883d0dabb74ceac7= c8905ed3ef43a 100644 --- a/DynamicTablesPkg/Include/ArmNameSpaceObjects.h +++ b/DynamicTablesPkg/Include/ArmNameSpaceObjects.h @@ -1,6 +1,6 @@ /** @file =20 - Copyright (c) 2017 - 2019, ARM Limited. All rights reserved. + Copyright (c) 2017 - 2020, ARM Limited. All rights reserved. =20 SPDX-License-Identifier: BSD-2-Clause-Patent =20 @@ -682,7 +682,7 @@ typedef struct CmArmProcHierarchyInfo { UINT32 NoOfPrivateResources; /// Token of the array which contains references to the resources privat= e to /// this CM_ARM_PROC_HIERARCHY_INFO instance. This field is ignored if - /// the NoOfPrivateResources is 0, in which case it is recomended to set + /// the NoOfPrivateResources is 0, in which case it is recommended to se= t /// this field to CM_NULL_TOKEN. CM_OBJECT_TOKEN PrivateResourcesArrayToken; } CM_ARM_PROC_HIERARCHY_INFO; @@ -795,7 +795,7 @@ typedef struct CmArmDeviceHandlePci { /// PCI Bus Number - Max 256 busses (Bits 15:8 of BDF) UINT8 BusNumber; =20 - /// PCI Device Mumber - Max 32 devices (Bits 7:3 of BDF) + /// PCI Device Number - Max 32 devices (Bits 7:3 of BDF) UINT8 DeviceNumber; =20 /// PCI Function Number - Max 8 functions (Bits 2:0 of BDF) diff --git a/DynamicTablesPkg/Library/Acpi/Arm/AcpiDbg2LibArm/Dbg2Generator= .c b/DynamicTablesPkg/Library/Acpi/Arm/AcpiDbg2LibArm/Dbg2Generator.c index 51c843d25f75388104694855ce133b3d61860196..172d99f61cf36e7e65d62249960= fd7527d8dae00 100644 --- a/DynamicTablesPkg/Library/Acpi/Arm/AcpiDbg2LibArm/Dbg2Generator.c +++ b/DynamicTablesPkg/Library/Acpi/Arm/AcpiDbg2LibArm/Dbg2Generator.c @@ -1,7 +1,7 @@ /** @file DBG2 Table Generator =20 - 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 =20 @par Reference(s): @@ -323,7 +323,7 @@ BuildDbg2Table ( Status =3D EFI_INVALID_PARAMETER; DEBUG (( DEBUG_ERROR, - "ERROR: DBG2: Uart port sybtype is invalid. PortSubtype =3D 0x%x\n", + "ERROR: DBG2: Uart port subtype is invalid. PortSubtype =3D 0x%x\n", SerialPortInfo->PortSubtype )); goto error_handler; diff --git a/DynamicTablesPkg/Library/Acpi/Arm/AcpiIortLibArm/IortGenerator= .c b/DynamicTablesPkg/Library/Acpi/Arm/AcpiIortLibArm/IortGenerator.c index 65d006c89e668c8b2b8a14326cddf1b69979597f..349caa8006bc34ca789cb3e321a= 0f87c0cd4ff0d 100644 --- a/DynamicTablesPkg/Library/Acpi/Arm/AcpiIortLibArm/IortGenerator.c +++ b/DynamicTablesPkg/Library/Acpi/Arm/AcpiIortLibArm/IortGenerator.c @@ -1,7 +1,7 @@ /** @file IORT Table Generator =20 - 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 =20 @par Reference(s): @@ -1053,7 +1053,7 @@ AddRootComplexNodes ( **/ STATIC EFI_STATUS -AddSmmuInterrruptArray ( +AddSmmuInterruptArray ( IN CONST EDKII_CONFIGURATION_MANAGER_PROTOCOL * CONST CfgMgrProtoc= ol, IN OUT EFI_ACPI_6_0_IO_REMAPPING_SMMU_INT * InterruptArr= ay, IN UINT32 InterruptCou= nt, @@ -1199,7 +1199,7 @@ AddSmmuV1V2Nodes ( SmmuNode->SMMU_NSgCfgIrptFlags =3D NodeList->SMMU_NSgCfgIrptFlags; =20 // Add Context Interrupt Array - Status =3D AddSmmuInterrruptArray ( + Status =3D AddSmmuInterruptArray ( CfgMgrProtocol, ContextInterruptArray, SmmuNode->NumContextInterrupts, @@ -1217,7 +1217,7 @@ AddSmmuV1V2Nodes ( // Add PMU Interrupt Array if ((SmmuNode->NumPmuInterrupts > 0) && (NodeList->PmuInterruptToken !=3D CM_NULL_TOKEN)) { - Status =3D AddSmmuInterrruptArray ( + Status =3D AddSmmuInterruptArray ( CfgMgrProtocol, PmuInterruptArray, SmmuNode->NumPmuInterrupts, diff --git a/DynamicTablesPkg/Library/Acpi/Arm/AcpiMadtLibArm/MadtGenerator= .c b/DynamicTablesPkg/Library/Acpi/Arm/AcpiMadtLibArm/MadtGenerator.c index 2651ca15414694c494678bcec655fc882ee2cc0c..7ec800f51cb0dbee0da46a82986= 3647fd1839c23 100644 --- a/DynamicTablesPkg/Library/Acpi/Arm/AcpiMadtLibArm/MadtGenerator.c +++ b/DynamicTablesPkg/Library/Acpi/Arm/AcpiMadtLibArm/MadtGenerator.c @@ -1,7 +1,7 @@ /** @file MADT Table Generator =20 - 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 =20 @par Reference(s): @@ -332,24 +332,24 @@ AddGICMsiFrameInfoList ( /** Update the GIC Redistributor Information. =20 @param [in] Gicr Pointer to GIC Redistributor structure= . - @param [in] GicRedisributorInfo Pointer to the GIC Redistributor Info. + @param [in] GicRedistributorInfo Pointer to the GIC Redistributor Info= . **/ STATIC VOID AddGICRedistributor ( IN EFI_ACPI_6_3_GICR_STRUCTURE * CONST Gicr, - IN CONST CM_ARM_GIC_REDIST_INFO * CONST GicRedisributorInfo + IN CONST CM_ARM_GIC_REDIST_INFO * CONST GicRedistributorInfo ) { ASSERT (Gicr !=3D NULL); - ASSERT (GicRedisributorInfo !=3D NULL); + ASSERT (GicRedistributorInfo !=3D NULL); =20 Gicr->Type =3D EFI_ACPI_6_3_GICR; Gicr->Length =3D sizeof (EFI_ACPI_6_3_GICR_STRUCTURE); Gicr->Reserved =3D EFI_ACPI_RESERVED_WORD; Gicr->DiscoveryRangeBaseAddress =3D - GicRedisributorInfo->DiscoveryRangeBaseAddress; - Gicr->DiscoveryRangeLength =3D GicRedisributorInfo->DiscoveryRangeLength= ; + GicRedistributorInfo->DiscoveryRangeBaseAddress; + Gicr->DiscoveryRangeLength =3D GicRedistributorInfo->DiscoveryRangeLengt= h; } =20 /** Add the GIC Redistributor Information to the MADT Table. diff --git a/DynamicTablesPkg/Library/Acpi/Arm/AcpiSpcrLibArm/SpcrGenerator= .c b/DynamicTablesPkg/Library/Acpi/Arm/AcpiSpcrLibArm/SpcrGenerator.c index 4b2580da7df9b4472ae9bcc3df2138a9e13004d0..b80e98ee7e143e39c540557d53a= 4129bf4ac5eb7 100644 --- a/DynamicTablesPkg/Library/Acpi/Arm/AcpiSpcrLibArm/SpcrGenerator.c +++ b/DynamicTablesPkg/Library/Acpi/Arm/AcpiSpcrLibArm/SpcrGenerator.c @@ -1,7 +1,7 @@ /** @file SPCR Table Generator =20 - 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 =20 @par Reference(s): @@ -189,7 +189,7 @@ BuildSpcrTable ( Status =3D EFI_INVALID_PARAMETER; DEBUG (( DEBUG_ERROR, - "ERROR: SPCR: Uart port sybtype is invalid. PortSubtype =3D 0x%x\n", + "ERROR: SPCR: Uart port subtype is invalid. PortSubtype =3D 0x%x\n", SerialPortInfo->PortSubtype )); goto error_handler; @@ -224,7 +224,7 @@ BuildSpcrTable ( Status =3D EFI_INVALID_PARAMETER; DEBUG (( DEBUG_ERROR, - "ERROR: SPCR: Invalid Port Sybtype (must be < 256). Status =3D %r\n"= , + "ERROR: SPCR: Invalid Port subtype (must be < 256). Status =3D %r\n"= , Status )); goto error_handler; diff --git a/DynamicTablesPkg/Library/Acpi/Arm/AcpiSratLibArm/SratGenerator= .c b/DynamicTablesPkg/Library/Acpi/Arm/AcpiSratLibArm/SratGenerator.c index 620e2929ef2460b6bf318fa85f8bca984608b955..6844bb40eb02e994bb6a4edfaf2= 5689685ca01fc 100644 --- a/DynamicTablesPkg/Library/Acpi/Arm/AcpiSratLibArm/SratGenerator.c +++ b/DynamicTablesPkg/Library/Acpi/Arm/AcpiSratLibArm/SratGenerator.c @@ -1,7 +1,7 @@ /** @file SRAT Table Generator =20 - Copyright (c) 2019, ARM Limited. All rights reserved. + Copyright (c) 2019 - 2020, ARM Limited. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent =20 @par Reference(s): @@ -101,7 +101,7 @@ GET_OBJECT_LIST ( /** Return the PCI Device information in BDF format =20 PCI Bus Number - Max 256 busses (Bits 15:8 of BDF) - PCI Device Mumber - Max 32 devices (Bits 7:3 of BDF) + PCI Device Number - Max 32 devices (Bits 7:3 of BDF) PCI Function Number - Max 8 functions (Bits 2:0 of BDF) =20 @param [in] DeviceHandlePci Pointer to the PCI Device Handle. diff --git a/DynamicTablesPkg/Readme.md b/DynamicTablesPkg/Readme.md index 93fd1f313aa5227df5c1ccc82dfe17cb4c8f9e0a..bcaae6daa5fff24d9f62639149e= 9f82c2665c682 100644 --- a/DynamicTablesPkg/Readme.md +++ b/DynamicTablesPkg/Readme.md @@ -136,4 +136,4 @@ Documentation =20 Refer to the following presentation from *UEFI Plugfest Seattle 2018*: =20 -[Dynamic Tables Framework: A Step Towards Automatic Generation of Advanced= Configuration and Power Interface (ACPI) & System Management BIOS (SMBIOS)= Tables =E2=80=93 Sami Mujawar (Arm).](http://www.uefi.org/sites/default/fi= les/resources/Arm_Dynamic%20Tables%20Framework%20A%20Step%20Towards%20Autom= atic%20Generation%20of%20Advanced%20Configuration%20and%20Power%20Interface= %20%28ACPI%29%20%26%20System%20Management%20BIOS%20%28SMBIOS%29%20Tables%20= _0.pdf) +[Dynamic Tables Framework: A Step Towards Automatic Generation of Advanced= Configuration and Power Interface (ACPI) & System Management BIOS (SMBIOS)= Tables](http://www.uefi.org/sites/default/files/resources/Arm_Dynamic%20Ta= bles%20Framework%20A%20Step%20Towards%20Automatic%20Generation%20of%20Advan= ced%20Configuration%20and%20Power%20Interface%20%28ACPI%29%20%26%20System%2= 0Management%20BIOS%20%28SMBIOS%29%20Tables%20_0.pdf) --=20 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'