TianoCore EDK2 master
|
#include <AmlNodeDefines.h>
#include <AmlCoreInterface.h>
#include <Tree/AmlNode.h>
#include <Tree/AmlTree.h>
Go to the source code of this file.
Functions | |
EFI_STATUS EFIAPI | AmlCloneNode (IN AML_NODE_HEADER *Node, OUT AML_NODE_HEADER **ClonedNode) |
EFI_STATUS EFIAPI | AmlCloneTree (IN AML_NODE_HEADER *Node, OUT AML_NODE_HEADER **ClonedNode) |
AML Clone.
Copyright (c) 2019 - 2020, Arm Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file AmlClone.c.
EFI_STATUS EFIAPI AmlCloneNode | ( | IN AML_NODE_HEADER * | Node, |
OUT AML_NODE_HEADER ** | ClonedNode | ||
) |
Clone a node.
This function does not clone the children nodes. The cloned node returned is not attached to any tree.
[in] | Node | Pointer to a node. |
[out] | ClonedNode | Pointer holding the cloned node. |
EFI_SUCCESS | The function completed successfully. |
EFI_INVALID_PARAMETER | Invalid parameter. |
EFI_OUT_OF_RESOURCES | Could not allocate memory. |
Definition at line 29 of file AmlClone.c.
EFI_STATUS EFIAPI AmlCloneTree | ( | IN AML_NODE_HEADER * | Node, |
OUT AML_NODE_HEADER ** | ClonedNode | ||
) |
Clone a node and its children (clone a tree branch).
The cloned branch returned is not attached to any tree.
[in] | Node | Pointer to a node. Node is the head of the branch to clone. |
[out] | ClonedNode | Pointer holding the head of the created cloned branch. |
EFI_SUCCESS | The function completed successfully. |
EFI_INVALID_PARAMETER | Invalid parameter. |
EFI_OUT_OF_RESOURCES | Could not allocate memory. |
Definition at line 102 of file AmlClone.c.