TianoCore EDK2 master
Loading...
Searching...
No Matches
Print APIs for debugging.

Functions

VOID EFIAPI AmlDbgPrintChars (IN UINT32 ErrorLevel, IN CONST CHAR8 *Buffer, IN UINT32 Size)
 
VOID EFIAPI AmlDbgPrintNode (IN AML_NODE_HANDLE Node)
 
VOID EFIAPI AmlDbgPrintTree (IN AML_NODE_HANDLE Node)
 
EFI_STATUS EFIAPI AmlDbgPrintNameSpace (IN AML_ROOT_NODE_HANDLE RootNode)
 

Detailed Description

Print APIs provide a way to print:

Function Documentation

◆ AmlDbgPrintChars()

VOID EFIAPI AmlDbgPrintChars ( IN UINT32  ErrorLevel,
IN CONST CHAR8 *  Buffer,
IN UINT32  Size 
)

Print Size chars at Buffer address.

Parameters
[in]ErrorLevelError level for the DEBUG macro.
[in]BufferBuffer containing the chars.
[in]SizeNumber of chars to print.

Definition at line 56 of file AmlDbgPrint.c.

◆ AmlDbgPrintNameSpace()

EFI_STATUS EFIAPI AmlDbgPrintNameSpace ( IN AML_ROOT_NODE_HANDLE  RootNode)

Print the absolute pathnames in the AML namespace of all the nodes in the tree starting from the Root node.

Parameters
[in]RootNodePointer to a root node.
Return values
EFI_SUCCESSThe function completed successfully.
EFI_BUFFER_TOO_SMALLNo space left in the buffer.
EFI_INVALID_PARAMETERInvalid parameter.
EFI_OUT_OF_RESOURCESOut of memory.

◆ AmlDbgPrintNode()

VOID EFIAPI AmlDbgPrintNode ( IN AML_NODE_HANDLE  Node)

Print Node information.

Parameters
[in]NodePointer to the Node to print. Can be a root/object/data node.

◆ AmlDbgPrintTree()

VOID EFIAPI AmlDbgPrintTree ( IN AML_NODE_HANDLE  Node)

Recursively print the subtree under the Node.

Parameters
[in]NodePointer to the root of the subtree to print. Can be a root/object/data node.