53 if (CurrRdElement ==
NULL) {
61 sizeof (ACPI_LARGE_RESOURCE_HEADER)))
92 IN OUT BOOLEAN *InFunctionDesc
99 (InFunctionDesc ==
NULL))
106 if (CurrRdElement ==
NULL) {
116 ACPI_SMALL_START_DEPENDENT_DESCRIPTOR_NAME
120 *InFunctionDesc =
TRUE;
128 ACPI_SMALL_END_DEPENDENT_DESCRIPTOR_NAME
132 if (*InFunctionDesc) {
133 *InFunctionDesc =
FALSE;
174 UINT32 CurrRdElementSize;
175 BOOLEAN InFunctionDesc;
187 if (EFI_ERROR (Status)) {
193 if (CurrRdElement ==
NULL) {
207 InFunctionDesc =
FALSE;
212 if ((FreeSpace == 0) ||
213 (CurrRdElement ==
NULL) ||
214 (CurrRdElementSize == 0))
223 if (CurrRdElementSize > FreeSpace) {
225 }
else if (CurrRdElementSize == FreeSpace) {
241 if (EFI_ERROR (Status)) {
278 UINT32 CurrRdElementSize;
287 return EFI_INVALID_PARAMETER;
295 if (FreeSpace == 0) {
304 (
CONST UINT8 *)CurrRdElement,
308 if (EFI_ERROR (Status)) {
317 if (EFI_ERROR (Status)) {
324 if (EFI_ERROR (Status)) {
329 AMLDBG_DUMP_RAW (CurrRdElement, CurrRdElementSize);
337 if (FreeSpace != CurrRdElementSize) {
339 return EFI_INVALID_PARAMETER;
#define AML_HAS_BYTE_LIST
BOOLEAN EFIAPI AmlNodeHasAttribute(IN CONST AML_OBJECT_NODE *ObjectNode, IN AML_OP_ATTRIBUTE Attribute)
EFI_STATUS EFIAPI AmlCreateDataNode(IN EAML_NODE_DATA_TYPE DataType, IN CONST UINT8 *Data, IN UINT32 DataSize, OUT AML_DATA_NODE **NewDataNodePtr)
STATIC BOOLEAN EFIAPI AmlRdCheckFunctionDescNesting(IN CONST AML_STREAM *FStream, IN OUT BOOLEAN *InFunctionDesc)
EFI_STATUS EFIAPI AmlParseResourceData(IN AML_OBJECT_NODE *BufferNode, IN AML_STREAM *FStream)
BOOLEAN EFIAPI AmlRdIsResourceDataBuffer(IN CONST AML_STREAM *FStream)
UINT32 EFIAPI AmlRdStreamGetRdSize(IN CONST AML_STREAM *FStream)
UINT32 EFIAPI AmlStreamGetFreeSpace(IN CONST AML_STREAM *Stream)
EFI_STATUS EFIAPI AmlStreamProgress(IN AML_STREAM *Stream, IN UINT32 Offset)
UINT8 *EFIAPI AmlStreamGetCurrPos(IN CONST AML_STREAM *Stream)
EFI_STATUS EFIAPI AmlStreamInitSubStream(IN CONST AML_STREAM *Stream, OUT AML_STREAM *SubStream)
#define IS_STREAM_FORWARD(Stream)
#define IS_STREAM(Stream)
#define IS_END_OF_STREAM(Stream)
EFI_STATUS EFIAPI AmlVarListAddTailInternal(IN AML_NODE_HEADER *ParentNode, IN AML_NODE_HEADER *NewNode)
#define AML_RD_IS_LARGE(Header)
UINT32 EFIAPI AmlRdGetSize(IN CONST AML_RD_HEADER *Header)
BOOLEAN EFIAPI AmlRdCompareDescId(IN CONST AML_RD_HEADER *Header, IN AML_RD_HEADER DescriptorId)
#define AML_RD_BUILD_SMALL_DESC_ID(Id)
@ EAmlNodeDataTypeResourceData
Resource data element.
EFI_STATUS EFIAPI AmlDeleteTree(IN AML_NODE_HANDLE Node)