TianoCore EDK2 master
|
#include <AmlDefines.h>
#include <Include/Library/AmlLib/AmlLib.h>
#include <ResourceData/AmlResourceData.h>
Go to the source code of this file.
Typedefs | |
typedef BOOLEAN(EFIAPI * | EDKII_AML_TREE_ENUM_CALLBACK) (IN AML_NODE_HANDLE Node, IN OUT VOID *Context OPTIONAL, IN OUT EFI_STATUS *Status OPTIONAL) |
AML Core Interface.
Copyright (c) 2019 - 2020, Arm Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file AmlCoreInterface.h.
EFI_STATUS EFIAPI AmlAppendRdNode | ( | IN AML_OBJECT_NODE_HANDLE | BufferOpNode, |
IN AML_DATA_NODE_HANDLE | NewRdNode | ||
) |
Append a Resource Data node to the BufferOpNode.
The Resource Data node is added at the end of the variable list of arguments of the BufferOpNode, but before the End Tag. If no End Tag is found, the function returns an error.
[in] | BufferOpNode | Buffer node containing resource data elements. |
[in] | NewRdNode | The new Resource Data node to add. |
EFI_SUCCESS | The function completed successfully. |
EFI_INVALID_PARAMETER | Invalid parameter. |
EFI_STATUS EFIAPI AmlUpdateInteger | ( | IN AML_OBJECT_NODE_HANDLE | IntegerOpNode, |
IN UINT64 | NewInteger | ||
) |
Update an object node representing an integer with a new value.
The object node must have one of the following OpCodes:
The following OpCode is not supported:
[in] | IntegerOpNode | Pointer an object node containing an integer. Must not be an object node with an AML_ONES_OP OpCode. |
[in] | NewInteger | New integer value to set. |
EFI_SUCCESS | The function completed successfully. |
EFI_INVALID_PARAMETER | Invalid parameter. |