TianoCore EDK2 master
Loading...
Searching...
No Matches
AcpiView.c File Reference

Go to the source code of this file.

Functions

STATIC BOOLEAN DumpAcpiTableToFile (IN CONST UINT8 *Ptr, IN CONST UINTN Length)
 
BOOLEAN ProcessTableReportOptions (IN CONST UINT32 Signature, IN CONST UINT8 *TablePtr, IN CONST UINT32 Length)
 
EFI_STATUS EFIAPI AcpiView (IN EFI_SYSTEM_TABLE *SystemTable)
 

Variables

STATIC UINT32 mTableCount
 
STATIC UINT32 mBinTableCount
 

Detailed Description

Copyright (c) 2016 - 2020, ARM Limited. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent

Glossary:
  • Sbbr or SBBR - Server Base Boot Requirements
Reference(s):
  • Arm Server Base Boot Requirements 1.2, September 2019

Definition in file AcpiView.c.

Function Documentation

◆ AcpiView()

EFI_STATUS EFIAPI AcpiView ( IN EFI_SYSTEM_TABLE SystemTable)

This function iterates the configuration table entries in the system table, retrieves the RSDP pointer and starts parsing the ACPI tables.

Parameters
[in]SystemTablePointer to the EFI system table.
Return values
ReturnsEFI_NOT_FOUND if the RSDP pointer is not found. Returns EFI_UNSUPPORTED if the RSDP version is less than 2. Returns EFI_SUCCESS if successful.

Definition at line 191 of file AcpiView.c.

◆ DumpAcpiTableToFile()

STATIC BOOLEAN DumpAcpiTableToFile ( IN CONST UINT8 *  Ptr,
IN CONST UINTN  Length 
)

This function dumps the ACPI table to a file.

Parameters
[in]PtrPointer to the ACPI table data.
[in]LengthThe length of the ACPI table.
Return values
TRUESuccess.
FALSEFailure.

Definition at line 44 of file AcpiView.c.

◆ ProcessTableReportOptions()

BOOLEAN ProcessTableReportOptions ( IN CONST UINT32  Signature,
IN CONST UINT8 *  TablePtr,
IN CONST UINT32  Length 
)

This function processes the table reporting options for the ACPI table.

Parameters
[in]SignatureThe ACPI table Signature.
[in]TablePtrPointer to the ACPI table data.
[in]LengthThe length fo the ACPI table.
Return values
ReturnsTRUE if the ACPI table should be traced.

Definition at line 79 of file AcpiView.c.

Variable Documentation

◆ mBinTableCount

STATIC UINT32 mBinTableCount

Definition at line 31 of file AcpiView.c.

◆ mTableCount

STATIC UINT32 mTableCount

Definition at line 30 of file AcpiView.c.