TianoCore EDK2 master
Loading...
Searching...
No Matches
AmlDbgPrint.h File Reference
#include <AmlInclude.h>

Go to the source code of this file.

Macros

#define AMLDBG_DUMP_RAW(Ptr, Length)    AmlDbgDumpRaw (Ptr, Length)
 
#define AMLDBG_PRINT_CHARS(ErrorLevel, Buffer, Size)    AmlDbgPrintChars (ErrorLevel, Buffer, Size)
 
#define AMLDBG_PRINT_NAMESEG(Buffer)    AmlDbgPrintNameSeg (Buffer)
 
#define AMLDBG_PRINT_NAMESTR(Buffer, NewLine)    AmlDbgPrintNameString (Buffer,NewLine)
 
#define AMLDBG_PRINT_NODE(Node)    AmlDbgPrintNode (Node)
 
#define AMLDBG_PRINT_TREE(Node)    AmlDbgPrintTree (Node)
 
#define AMLDBG_PRINT_NAMESPACE(RootNode)    AmlDbgPrintNameSpace (RootNode)
 

Functions

VOID EFIAPI AmlDbgDumpRaw (IN CONST UINT8 *Ptr, IN UINT32 Length)
 
VOID EFIAPI AmlDbgPrintChars (IN UINT32 ErrorLevel, IN CONST CHAR8 *Buffer, IN UINT32 Size)
 
VOID EFIAPI AmlDbgPrintNameSeg (IN CONST CHAR8 *Buffer)
 
VOID EFIAPI AmlDbgPrintNameString (IN CONST CHAR8 *Buffer, IN BOOLEAN NewLine)
 
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

AML Debug Print.

Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.
Copyright (c) 2019 - 2020, Arm Limited. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file AmlDbgPrint.h.

Macro Definition Documentation

◆ AMLDBG_DUMP_RAW

#define AMLDBG_DUMP_RAW (   Ptr,
  Length 
)     AmlDbgDumpRaw (Ptr, Length)

Definition at line 139 of file AmlDbgPrint.h.

◆ AMLDBG_PRINT_CHARS

#define AMLDBG_PRINT_CHARS (   ErrorLevel,
  Buffer,
  Size 
)     AmlDbgPrintChars (ErrorLevel, Buffer, Size)

Definition at line 142 of file AmlDbgPrint.h.

◆ AMLDBG_PRINT_NAMESEG

#define AMLDBG_PRINT_NAMESEG (   Buffer)     AmlDbgPrintNameSeg (Buffer)

Definition at line 145 of file AmlDbgPrint.h.

◆ AMLDBG_PRINT_NAMESPACE

#define AMLDBG_PRINT_NAMESPACE (   RootNode)     AmlDbgPrintNameSpace (RootNode)

Definition at line 157 of file AmlDbgPrint.h.

◆ AMLDBG_PRINT_NAMESTR

#define AMLDBG_PRINT_NAMESTR (   Buffer,
  NewLine 
)     AmlDbgPrintNameString (Buffer,NewLine)

Definition at line 148 of file AmlDbgPrint.h.

◆ AMLDBG_PRINT_NODE

#define AMLDBG_PRINT_NODE (   Node)     AmlDbgPrintNode (Node)

Definition at line 151 of file AmlDbgPrint.h.

◆ AMLDBG_PRINT_TREE

#define AMLDBG_PRINT_TREE (   Node)     AmlDbgPrintTree (Node)

Definition at line 154 of file AmlDbgPrint.h.

Function Documentation

◆ AmlDbgDumpRaw()

VOID EFIAPI AmlDbgDumpRaw ( IN CONST UINT8 *  Ptr,
IN UINT32  Length 
)

This function performs a raw data dump of the ACPI table.

Parameters
[in]PtrPointer to the start of the table buffer.
[in]LengthThe length of the buffer.

Definition at line 506 of file AmlDbgPrint.c.

◆ AmlDbgPrintNameSeg()

VOID EFIAPI AmlDbgPrintNameSeg ( IN CONST CHAR8 *  Buffer)

Print an AML NameSeg. Don't print trailing underscores ('_').

Parameters
[in]BufferBuffer containing an AML NameSeg.

Definition at line 81 of file AmlDbgPrint.c.

◆ AmlDbgPrintNameString()

VOID EFIAPI AmlDbgPrintNameString ( IN CONST CHAR8 *  Buffer,
IN BOOLEAN  NewLine 
)

Print an AML NameString.

Parameters
[in]BufferBuffer containing an AML NameString.
[in]NewLinePrint a newline char at the end of the NameString.

Definition at line 121 of file AmlDbgPrint.c.