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.web10.4760.1622585095299456357 for ; Tue, 01 Jun 2021 15:04:55 -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 898F06D; Tue, 1 Jun 2021 15:04:54 -0700 (PDT) Received: from e120189.arm.com (unknown [10.57.3.149]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id DA9FF3F774; Tue, 1 Jun 2021 15:04:52 -0700 (PDT) From: "PierreGondois" To: devel@edk2.groups.io, dandan.bi@intel.com, gaoliming@byosoft.com.cn, michael.d.kinney@intel.com, Sami.Mujawar@arm.com, Alexei.Fedorov@arm.com Subject: [PATCH v1 0/2] Define AML_NAME_SEG_SIZE Date: Tue, 1 Jun 2021 23:04:48 +0100 Message-Id: <20210601220450.28003-1-Pierre.Gondois@arm.com> X-Mailer: git-send-email 2.17.1 From: Pierre Gondois There is currently multiple AML_NAME_SEG_SIZE define in the edk2 repository. One in the MdeModulePkg and one in the DynamicTablesPkg package. Since the value can be inferred from the ACPI specification, it could be moved to MdePkg/Include/IndustryStandard/ and avoid re-definitions The two patches should be merged at once to avoid having multiple definitions of AML_NAME_SEG_SIZE. The changes can be seen at: https://github.com/PierreARM/edk2/tree/1750_Add_AML_NAMESEG_SIZE_v1 The results of the CI can be seen at: https://github.com/tianocore/edk2/pull/1681 Pierre Gondois (2): MdePkg/MdeModulePkg: Move AML_NAME_SEG_SIZE definition DynamicTablesPkg: Use AML_NAME_SEG_SIZE define .../Acpi/Arm/AcpiSsdtCmn600LibArm/SsdtCmn600Generator.c | 4 ++-- .../AcpiSsdtSerialPortLibArm/SsdtSerialPortGenerator.c | 4 ++-- DynamicTablesPkg/Library/Common/AmlLib/AmlDefines.h | 9 +-------- MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiSdt.h | 1 - MdePkg/Include/IndustryStandard/AcpiAml.h | 7 ++++++- 5 files changed, 11 insertions(+), 14 deletions(-) -- 2.17.1