]> git.proxmox.com Git - mirror_edk2.git/blobdiff - DynamicTablesPkg/Library/Common/AmlLib/Api/AmlApi.c
DynamicTablesPkg: Remove deprecated APIs
[mirror_edk2.git] / DynamicTablesPkg / Library / Common / AmlLib / Api / AmlApi.c
index 519afdc1eafa4de89ea97f4468941bddec09801f..9f162abe2d090be16d09579415ee8fe58d794813 100644 (file)
@@ -429,88 +429,3 @@ AmlAttachNode (
 {\r
   return AmlVarListAddTail (ParentNode, NewNode);\r
 }\r
-\r
-// DEPRECATED APIS\r
-#ifndef DISABLE_NEW_DEPRECATED_INTERFACES\r
-\r
-/** DEPRECATED API\r
-\r
-  Get the first Resource Data element contained in a "_CRS" object.\r
-\r
-  In the following ASL code, the function will return the Resource Data\r
-  node corresponding to the "QWordMemory ()" ASL macro.\r
-  Name (_CRS, ResourceTemplate() {\r
-      QWordMemory (...) {...},\r
-      Interrupt (...) {...}\r
-    }\r
-  )\r
-\r
-  Note:\r
-   - The "_CRS" object must be declared using ASL "Name (Declare Named Object)".\r
-   - "_CRS" declared using ASL "Method (Declare Control Method)" is not\r
-     supported.\r
-\r
-  @ingroup UserApis\r
-\r
-  @param  [in] NameOpCrsNode  NameOp object node defining a "_CRS" object.\r
-                              Must have an OpCode=AML_NAME_OP, SubOpCode=0.\r
-                              NameOp object nodes are defined in ASL\r
-                              using the "Name ()" function.\r
-  @param  [out] OutRdNode     Pointer to the first Resource Data element of\r
-                              the "_CRS" object. A Resource Data element\r
-                              is stored in a data node.\r
-\r
-  @retval EFI_SUCCESS             The function completed successfully.\r
-  @retval EFI_INVALID_PARAMETER   Invalid parameter.\r
-**/\r
-EFI_STATUS\r
-EFIAPI\r
-AmlNameOpCrsGetFirstRdNode (\r
-  IN  AML_OBJECT_NODE_HANDLE  NameOpCrsNode,\r
-  OUT AML_DATA_NODE_HANDLE    *OutRdNode\r
-  )\r
-{\r
-  return AmlNameOpGetFirstRdNode (NameOpCrsNode, OutRdNode);\r
-}\r
-\r
-/** DEPRECATED API\r
-\r
-  Get the Resource Data element following the CurrRdNode Resource Data.\r
-\r
-  In the following ASL code, if CurrRdNode corresponds to the first\r
-  "QWordMemory ()" ASL macro, the function will return the Resource Data\r
-  node corresponding to the "Interrupt ()" ASL macro.\r
-  Name (_CRS, ResourceTemplate() {\r
-      QwordMemory (...) {...},\r
-      Interrupt (...) {...}\r
-    }\r
-  )\r
-\r
-  The CurrRdNode Resource Data node must be defined in an object named "_CRS"\r
-  and defined by a "Name ()" ASL function.\r
-\r
-  @ingroup UserApis\r
-\r
-  @param  [in]  CurrRdNode   Pointer to the current Resource Data element of\r
-                             the "_CRS" variable.\r
-  @param  [out] OutRdNode    Pointer to the Resource Data element following\r
-                             the CurrRdNode.\r
-                             Contain a NULL pointer if CurrRdNode is the\r
-                             last Resource Data element in the list.\r
-                             The "End Tag" is not considered as a resource\r
-                             data element and is not returned.\r
-\r
-  @retval EFI_SUCCESS             The function completed successfully.\r
-  @retval EFI_INVALID_PARAMETER   Invalid parameter.\r
-**/\r
-EFI_STATUS\r
-EFIAPI\r
-AmlNameOpCrsGetNextRdNode (\r
-  IN  AML_DATA_NODE_HANDLE  CurrRdNode,\r
-  OUT AML_DATA_NODE_HANDLE  *OutRdNode\r
-  )\r
-{\r
-  return AmlNameOpGetNextRdNode (CurrRdNode, OutRdNode);\r
-}\r
-\r
-#endif // DISABLE_NEW_DEPRECATED_INTERFACES\r