49 CHAR8 *NewAmlNameString;
50 UINT32 NewAmlNameStringSize;
53 if ((DeviceOpNode ==
NULL) ||
56 (NewNameString ==
NULL))
59 return EFI_INVALID_PARAMETER;
68 if ((DeviceNameDataNode ==
NULL) ||
73 return EFI_INVALID_PARAMETER;
77 if (EFI_ERROR (Status)) {
83 if (EFI_ERROR (Status)) {
92 (UINT8 *)NewAmlNameString,
127 if ((NameOpNode ==
NULL) ||
132 return EFI_INVALID_PARAMETER;
143 if ((IntegerOpNode ==
NULL) ||
147 return EFI_INVALID_PARAMETER;
185 if ((NameOpNode ==
NULL) ||
190 return EFI_INVALID_PARAMETER;
200 if ((StringOpNode ==
NULL) ||
204 return EFI_INVALID_PARAMETER;
213 if ((StringDataNode ==
NULL) ||
217 return EFI_INVALID_PARAMETER;
267 if ((NameOpNode ==
NULL) ||
273 return EFI_INVALID_PARAMETER;
284 if ((BufferOpNode ==
NULL) ||
289 return EFI_INVALID_PARAMETER;
298 if ((FirstRdNode ==
NULL) ||
303 return EFI_INVALID_PARAMETER;
306 *OutRdNode = FirstRdNode;
347 if ((CurrRdNode ==
NULL) ||
353 return EFI_INVALID_PARAMETER;
362 if ((BufferOpNode ==
NULL) ||
366 return EFI_INVALID_PARAMETER;
373 if ((NameOpNode ==
NULL) ||
377 return EFI_INVALID_PARAMETER;
EFI_STATUS EFIAPI AmlAttachNode(IN AML_NODE_HANDLE ParentNode, IN AML_NODE_HANDLE NewNode)
BOOLEAN EFIAPI AmlNodeHasDataType(IN AML_DATA_NODE_HANDLE DataNode, IN EAML_NODE_DATA_TYPE DataType)
BOOLEAN EFIAPI AmlNodeHasOpCode(IN AML_OBJECT_NODE_HANDLE ObjectNode, IN UINT8 OpCode, IN UINT8 SubOpCode)
BOOLEAN EFIAPI AmlNodeHasRdDataType(IN AML_DATA_NODE_HANDLE RdNode, IN AML_RD_HEADER RdDataType)
EFI_STATUS EFIAPI AmlUpdateInteger(IN AML_OBJECT_NODE_HANDLE IntegerOpNode, IN UINT64 NewInteger)
void * AML_DATA_NODE_HANDLE
void * AML_OBJECT_NODE_HANDLE
UINTN EFIAPI AsciiStrLen(IN CONST CHAR8 *String)
EFI_STATUS EFIAPI AmlGetNameStringSize(IN CONST CHAR8 *AmlPath, OUT UINT32 *AmlPathSizePtr)
EFI_STATUS EFIAPI ConvertAslNameToAmlName(IN CONST CHAR8 *AslPath, OUT CHAR8 **OutAmlPath)
VOID EFIAPI FreePool(IN VOID *Buffer)
#define ASSERT_EFI_ERROR(StatusParameter)
AML_NODE_HANDLE EFIAPI AmlGetParent(IN AML_NODE_HANDLE Node)
AML_NODE_HANDLE EFIAPI AmlGetFixedArgument(IN AML_OBJECT_NODE_HANDLE ObjectNode, IN EAML_PARSE_INDEX Index)
AML_NODE_HANDLE EFIAPI AmlGetNextVariableArgument(IN AML_NODE_HANDLE Node, IN AML_NODE_HANDLE CurrVarArg)
EFI_STATUS EFIAPI AmlUpdateDataNode(IN AML_DATA_NODE_HANDLE DataNode, IN EAML_NODE_DATA_TYPE DataType, IN UINT8 *Buffer, IN UINT32 Size)
EAML_NODE_TYPE EFIAPI AmlGetNodeType(IN AML_NODE_HANDLE Node)
#define AML_RD_BUILD_SMALL_DESC_ID(Id)
EFI_STATUS EFIAPI AmlVarListAddTail(IN AML_NODE_HANDLE ParentNode, IN AML_NODE_HANDLE NewNode)
@ EAmlParseIndexTerm1
Second fixed argument index.
@ EAmlParseIndexTerm0
First fixed argument index.
@ EAmlNodeDataTypeString
EAmlString, NULL terminated string.
@ EAmlNodeDataTypeResourceData
Resource data element.
@ EAmlNodeDataTypeNameString
EFI_STATUS EFIAPI AmlNameOpGetNextRdNode(IN AML_DATA_NODE_HANDLE CurrRdNode, OUT AML_DATA_NODE_HANDLE *OutRdNode)
EFI_STATUS EFIAPI AmlNameOpGetFirstRdNode(IN AML_OBJECT_NODE_HANDLE NameOpNode, OUT AML_DATA_NODE_HANDLE *OutRdNode)
EFI_STATUS EFIAPI AmlDeviceOpUpdateName(IN AML_OBJECT_NODE_HANDLE DeviceOpNode, IN CONST CHAR8 *NewNameString)
EFI_STATUS EFIAPI AmlNameOpUpdateInteger(IN AML_OBJECT_NODE_HANDLE NameOpNode, IN UINT64 NewInt)
EFI_STATUS EFIAPI AmlNameOpUpdateString(IN AML_OBJECT_NODE_HANDLE NameOpNode, IN CONST CHAR8 *NewName)