TianoCore EDK2 master
|
#include <Library/PrintLib.h>
#include <Library/UefiLib.h>
#include <Library/ShellLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/DebugLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/AcpiViewCommandLib.h>
#include "AcpiParser.h"
#include "AcpiTableParser.h"
#include "AcpiView.h"
#include "AcpiViewConfig.h"
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 |
Copyright (c) 2016 - 2020, ARM Limited. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file AcpiView.c.
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.
[in] | SystemTable | Pointer to the EFI system table. |
Returns | EFI_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.
This function dumps the ACPI table to a file.
[in] | Ptr | Pointer to the ACPI table data. |
[in] | Length | The length of the ACPI table. |
TRUE | Success. |
FALSE | Failure. |
Definition at line 44 of file AcpiView.c.
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.
[in] | Signature | The ACPI table Signature. |
[in] | TablePtr | Pointer to the ACPI table data. |
[in] | Length | The length fo the ACPI table. |
Returns | TRUE if the ACPI table should be traced. |
Definition at line 79 of file AcpiView.c.
STATIC UINT32 mBinTableCount |
Definition at line 31 of file AcpiView.c.
STATIC UINT32 mTableCount |
Definition at line 30 of file AcpiView.c.