From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web09.6095.1624446342821242559 for ; Wed, 23 Jun 2021 04:05:43 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: pierre.gondois@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 489C631B; Wed, 23 Jun 2021 04:05:41 -0700 (PDT) Received: from e120189.arm.com (unknown [10.57.78.245]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 279C73F719; Wed, 23 Jun 2021 04:05:39 -0700 (PDT) From: "PierreGondois" To: devel@edk2.groups.io, Sami.Mujawar@arm.com, Alexei.Fedorov@arm.com Subject: [PATCH v1 00/10] Various DynamicTablesPkg modifications Date: Wed, 23 Jun 2021 12:05:14 +0100 Message-Id: <20210623110525.6171-1-Pierre.Gondois@arm.com> X-Mailer: git-send-email 2.17.1 From: Pierre Gondois This patch-set aggregates various modifications in the DynamicTablesPkg: - Extract an AcpiTableHelperLib from TableHelperLib to remove the dependency of some utility functions over configuration manager definitions - Add a HexFromAscii() function - Add a AmlGetEisaIdFromString() function - Add a configuration manager object parser - Use %a instead of %s in when printing AmlLib - Update the .ci.yaml once to prepare for other incoming patches - Modify the generic prototype of the AmlResourceDataCodeGen functions. This also means deprecating some functions. The modifications can be seen at: https://github.com/PierreARM/edk2/tree/1718_Various_DynamicTablesPkg_modifications_v1 The result of the CI can be seen at: https://github.com/tianocore/edk2/pull/1744 (Failed due timed out connection) Pierre Gondois (9): DynamicTablesPkg: Extract AcpiTableHelperLib from TableHelperLib DynamicTablesPkg: Update TableHelperLib.inf DynamicTablesPkg: Rename single char input parameter DynamicTablesPkg: Add HexFromAscii() to AcpiHelperLib DynamicTablesPkg: Add AmlGetEisaIdFromString() to AcpiHelperLib DynamicTablesPkg: Use %a formatter in AmlDbgPrint DynamicTablesPkg: Update DynamicTablesPkg.ci.yaml DynamicTablesPkg: Deprecate Crs specific methods in AmlLib DynamicTablesPkg: Rework AmlResourceDataCodegen.c/h Sami Mujawar (1): DynamicTablesPkg: Add Configuration Manager Object parser DynamicTablesPkg/DynamicTables.dsc.inc | 3 +- DynamicTablesPkg/DynamicTablesPkg.ci.yaml | 29 + DynamicTablesPkg/DynamicTablesPkg.dec | 4 + DynamicTablesPkg/DynamicTablesPkg.dsc | 1 + .../Include/Library/AcpiHelperLib.h | 91 +++ .../Include/Library/AmlLib/AmlLib.h | 225 ++++-- .../Include/Library/TableHelperLib.h | 49 +- .../SsdtCmn600Generator.c | 14 +- .../AcpiSsdtCmn600LibArm/SsdtCmn600LibArm.inf | 3 +- .../SsdtSerialPortGenerator.c | 3 +- .../SsdtSerialPortLibArm.inf | 4 +- .../Library/Common/AcpiHelperLib/AcpiHelper.c | 208 ++++++ .../Common/AcpiHelperLib/AcpiHelperLib.inf | 25 + .../Common/AmlLib/AmlDbgPrint/AmlDbgPrint.c | 16 +- .../Library/Common/AmlLib/AmlLib.inf | 3 +- .../Library/Common/AmlLib/Api/AmlApi.c | 147 +++- .../AmlLib/CodeGen/AmlResourceDataCodeGen.c | 194 ++--- .../AmlLib/CodeGen/AmlResourceDataCodeGen.h | 67 +- .../SsdtSerialPortFixupLib.c | 6 +- .../SsdtSerialPortFixupLib.inf | 1 + .../ConfigurationManagerObjectParser.c | 678 ++++++++++++++++++ .../ConfigurationManagerObjectParser.h | 73 ++ .../Common/TableHelperLib/TableHelper.c | 96 --- .../Common/TableHelperLib/TableHelperLib.inf | 13 +- 24 files changed, 1575 insertions(+), 378 deletions(-) create mode 100644 DynamicTablesPkg/Include/Library/AcpiHelperLib.h create mode 100644 DynamicTablesPkg/Library/Common/AcpiHelperLib/AcpiHelper.c create mode 100644 DynamicTablesPkg/Library/Common/AcpiHelperLib/AcpiHelperLib.inf create mode 100644 DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerObjectParser.c create mode 100644 DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerObjectParser.h -- 2.17.1