TianoCore EDK2 master
Loading...
Searching...
No Matches
AmlChild.c File Reference
#include "AcpiTable.h"

Go to the source code of this file.

Functions

EFI_STATUS AmlGetChildFromObjectBuffer (IN EFI_AML_HANDLE *AmlParentHandle, IN UINT8 *CurrentBuffer, OUT VOID **Buffer)
 
EFI_STATUS AmlGetChildFromRoot (IN EFI_AML_HANDLE *AmlParentHandle, IN EFI_AML_HANDLE *AmlHandle, OUT VOID **Buffer)
 
EFI_STATUS AmlGetChildFromOptionList (IN EFI_AML_HANDLE *AmlParentHandle, IN EFI_AML_HANDLE *AmlHandle, OUT VOID **Buffer)
 
EFI_STATUS AmlGetChildFromObjectChildList (IN EFI_AML_HANDLE *AmlParentHandle, IN EFI_AML_HANDLE *AmlHandle, OUT VOID **Buffer)
 
EFI_STATUS AmlGetChildFromNonRoot (IN EFI_AML_HANDLE *AmlParentHandle, IN EFI_AML_HANDLE *AmlHandle, OUT VOID **Buffer)
 

Detailed Description

ACPI Sdt Protocol Driver

Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file AmlChild.c.

Function Documentation

◆ AmlGetChildFromNonRoot()

EFI_STATUS AmlGetChildFromNonRoot ( IN EFI_AML_HANDLE AmlParentHandle,
IN EFI_AML_HANDLE AmlHandle,
OUT VOID **  Buffer 
)

Return the child ACPI objects from Non-Root Handle.

Parameters
[in]AmlParentHandleParent handle. It is Non-Root Handle.
[in]AmlHandleThe previously returned handle or NULL to start with the first handle.
[out]BufferOn return, points to the next returned ACPI handle or NULL if there are no child objects.
Return values
EFI_SUCCESSSuccess
EFI_INVALID_PARAMETERParentHandle is NULL or does not refer to a valid ACPI object.

Definition at line 249 of file AmlChild.c.

◆ AmlGetChildFromObjectBuffer()

EFI_STATUS AmlGetChildFromObjectBuffer ( IN EFI_AML_HANDLE AmlParentHandle,
IN UINT8 *  CurrentBuffer,
OUT VOID **  Buffer 
)

Return the child objects buffer from AML Handle's buffer.

Parameters
[in]AmlParentHandleParent handle.
[in]CurrentBufferThe current child buffer.
[out]BufferOn return, points to the next returned child buffer or NULL if there are no child buffer.
Return values
EFI_SUCCESSSuccess
EFI_INVALID_PARAMETERAmlParentHandle does not refer to a valid ACPI object.

Definition at line 23 of file AmlChild.c.

◆ AmlGetChildFromObjectChildList()

EFI_STATUS AmlGetChildFromObjectChildList ( IN EFI_AML_HANDLE AmlParentHandle,
IN EFI_AML_HANDLE AmlHandle,
OUT VOID **  Buffer 
)

Return the child objects buffer from AML Handle's object child list.

Parameters
[in]AmlParentHandleParent handle.
[in]AmlHandleThe current child handle.
[out]BufferOn return, points to the next returned child buffer or NULL if there are no child buffer.
Return values
EFI_SUCCESSSuccess
EFI_INVALID_PARAMETERAmlParentHandle does not refer to a valid ACPI object.

Definition at line 182 of file AmlChild.c.

◆ AmlGetChildFromOptionList()

EFI_STATUS AmlGetChildFromOptionList ( IN EFI_AML_HANDLE AmlParentHandle,
IN EFI_AML_HANDLE AmlHandle,
OUT VOID **  Buffer 
)

Return the child objects buffer from AML Handle's option list.

Parameters
[in]AmlParentHandleParent handle.
[in]AmlHandleThe current child handle.
[out]BufferOn return, points to the next returned child buffer or NULL if there are no child buffer.
Return values
EFI_SUCCESSSuccess
EFI_INVALID_PARAMETERAmlParentHandle does not refer to a valid ACPI object.

Definition at line 113 of file AmlChild.c.

◆ AmlGetChildFromRoot()

EFI_STATUS AmlGetChildFromRoot ( IN EFI_AML_HANDLE AmlParentHandle,
IN EFI_AML_HANDLE AmlHandle,
OUT VOID **  Buffer 
)

Return the child ACPI objects from Root Handle.

Parameters
[in]AmlParentHandleParent handle. It is Root Handle.
[in]AmlHandleThe previously returned handle or NULL to start with the first handle.
[out]BufferOn return, points to the next returned ACPI handle or NULL if there are no child objects.
Return values
EFI_SUCCESSSuccess
EFI_INVALID_PARAMETERParentHandle is NULL or does not refer to a valid ACPI object.

Definition at line 81 of file AmlChild.c.