|
TianoCore EDK2 master
|
#include "AcpiTable.h"Go to the source code of this file.
ACPI Sdt Protocol Driver
Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file AmlNamespace.c.
| EFI_STATUS AmlConstructNodeList | ( | IN EFI_AML_HANDLE * | AmlHandle, |
| IN EFI_AML_NODE_LIST * | AmlRootNodeList, | ||
| IN EFI_AML_NODE_LIST * | AmlParentNodeList | ||
| ) |
Construct node list according to the AML handle.
| [in] | AmlHandle | AML handle. |
| [in] | AmlRootNodeList | AML root node list. |
| [in] | AmlParentNodeList | AML parent node list. |
| EFI_SUCCESS | Success. |
| EFI_INVALID_PARAMETER | AML handle does not refer to a valid ACPI object. |
Definition at line 379 of file AmlNamespace.c.
| EFI_STATUS AmlConstructNodeListForChild | ( | IN EFI_AML_HANDLE * | AmlHandle, |
| IN EFI_AML_NODE_LIST * | AmlRootNodeList, | ||
| IN EFI_AML_NODE_LIST * | AmlParentNodeList | ||
| ) |
Construct child node list according to the AML handle.
| [in] | AmlHandle | AML handle. |
| [in] | AmlRootNodeList | AML root node list. |
| [in] | AmlParentNodeList | AML parent node list. |
| EFI_SUCCESS | Success. |
| EFI_INVALID_PARAMETER | AML handle does not refer to a valid ACPI object. |
Definition at line 288 of file AmlNamespace.c.
| EFI_AML_NODE_LIST * AmlCreateNode | ( | IN UINT8 * | NameSeg, |
| IN EFI_AML_NODE_LIST * | Parent, | ||
| IN AML_BYTE_ENCODING * | AmlByteEncoding | ||
| ) |
Create AML Node.
| [in] | NameSeg | AML NameSeg. |
| [in] | Parent | AML parent node list. |
| [in] | AmlByteEncoding | AML Byte Encoding. |
Definition at line 38 of file AmlNamespace.c.
| VOID AmlDestructNodeList | ( | IN EFI_AML_NODE_LIST * | AmlParentNodeList | ) |
Destruct node list
| [in] | AmlParentNodeList | AML parent node list. |
Definition at line 425 of file AmlNamespace.c.
| VOID AmlDumpNodeInfo | ( | IN EFI_AML_NODE_LIST * | AmlParentNodeList, |
| IN UINTN | Level | ||
| ) |
Dump node list
| [in] | AmlParentNodeList | AML parent node list. |
| [in] | Level | Output debug level. |
Definition at line 471 of file AmlNamespace.c.
| EFI_AML_NODE_LIST * AmlFindNodeInTheTree | ( | IN UINT8 * | NameString, |
| IN EFI_AML_NODE_LIST * | AmlRootNodeList, | ||
| IN EFI_AML_NODE_LIST * | AmlParentNodeList, | ||
| IN BOOLEAN | Create | ||
| ) |
Find the AML NameString in the children of AmlParentNodeList or AmlRootNodeList.
| [in] | NameString | AML NameString. |
| [in] | AmlRootNodeList | AML root node list. |
| [in] | AmlParentNodeList | AML parent node list. |
| [in] | Create | TRUE means to create node if not found. |
Definition at line 127 of file AmlNamespace.c.
| EFI_AML_NODE_LIST * AmlFindNodeInThis | ( | IN UINT8 * | NameSeg, |
| IN EFI_AML_NODE_LIST * | AmlParentNodeList, | ||
| IN BOOLEAN | Create | ||
| ) |
Find the AML NameSeg in the children of AmlParentNodeList.
| [in] | NameSeg | AML NameSeg. |
| [in] | AmlParentNodeList | AML parent node list. |
| [in] | Create | TRUE means to create node if not found. |
Definition at line 71 of file AmlNamespace.c.
| EFI_STATUS AmlFindPath | ( | IN EFI_AML_HANDLE * | AmlHandle, |
| IN UINT8 * | AmlPath, | ||
| OUT VOID ** | Buffer, | ||
| IN BOOLEAN | FromRoot | ||
| ) |
Returns the handle of the ACPI object representing the specified ACPI AML path
| [in] | AmlHandle | Points to the handle of the object representing the starting point for the path search. |
| [in] | AmlPath | Points to the ACPI AML path. |
| [out] | Buffer | On return, points to the ACPI object which represents AcpiPath, relative to HandleIn. |
| [in] | FromRoot | TRUE means to find AML path from \ (Root) Node. FALSE means to find AML path from this Node (The HandleIn). |
| EFI_SUCCESS | Success |
| EFI_INVALID_PARAMETER | HandleIn does not refer to a valid ACPI object. |
Definition at line 517 of file AmlNamespace.c.
| EFI_AML_NODE_LIST * AmlInsertNodeToTree | ( | IN UINT8 * | NameString, |
| IN VOID * | Buffer, | ||
| IN UINTN | Size, | ||
| IN EFI_AML_NODE_LIST * | AmlRootNodeList, | ||
| IN EFI_AML_NODE_LIST * | AmlParentNodeList | ||
| ) |
Insert the NameString to the AmlNodeList.
| [in] | NameString | AML NameString. |
| [in] | Buffer | Buffer for the Node. |
| [in] | Size | Size for the Node. |
| [in] | AmlRootNodeList | AML root node list. |
| [in] | AmlParentNodeList | AML parent node list. |
Definition at line 216 of file AmlNamespace.c.