]> git.proxmox.com Git - mirror_edk2.git/commit
DynamicTablesPkg: Deprecate Crs specific methods in AmlLib
authorPierre Gondois <Pierre.Gondois@arm.com>
Thu, 30 Sep 2021 07:48:20 +0000 (08:48 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 1 Oct 2021 10:57:43 +0000 (10:57 +0000)
commit691c5f776274d88b13113f67d8dbac0a3298150c
tree91cd7497e4d73ac615d2d8b5b84573bccd27beb8
parent7a8c037e9ea70b52a0464a9cf7b11d017820cf20
DynamicTablesPkg: Deprecate Crs specific methods in AmlLib

Some functions in the AmlLib have 'Crs' in their name and can only
be applied to '_CRS' AML objects. To re-use them on AML objects that
have different names:
 - Rename them and remove the '_CRS' name check.
 - Create aliases having of the 'Crs' function prototypes. These
   aliases are available when DISABLE_NEW_DEPRECATED_INTERFACES
   is not defined. They will be deprecated in a near future.

The deprecated functions are:
- AmlNameOpCrsGetFirstRdNode()
- AmlNameOpCrsGetNextRdNode()
- AmlCodeGenCrsAddRdInterrupt()

Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com>
DynamicTablesPkg/Include/Library/AmlLib/AmlLib.h
DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtCmn600LibArm/SsdtCmn600Generator.c
DynamicTablesPkg/Library/Common/AmlLib/Api/AmlApi.c
DynamicTablesPkg/Library/Common/AmlLib/CodeGen/AmlResourceDataCodeGen.c
DynamicTablesPkg/Library/Common/SsdtSerialPortFixupLib/SsdtSerialPortFixupLib.c