2 Header file for AcpiView
4 Copyright (c) 2016 - 2020, ARM Limited. All rights reserved.
5 SPDX-License-Identifier: BSD-2-Clause-Patent
12 A macro to define the max file name length
14 #define MAX_FILE_NAME_LEN 128
17 Offset to the RSDP revision from the start of the RSDP
19 #define RSDP_REVISION_OFFSET 15
22 Offset to the RSDP length from the start of the RSDP
24 #define RSDP_LENGTH_OFFSET 20
27 This function resets the ACPI table error counter to Zero.
35 This function returns the ACPI table error count.
37 @retval Returns the count of errors detected in the ACPI tables.
45 This function resets the ACPI table warning counter to Zero.
53 This function returns the ACPI table warning count.
55 @retval Returns the count of warning detected in the ACPI tables.
63 This function processes the table reporting options for the ACPI table.
65 @param [in] Signature The ACPI table Signature.
66 @param [in] TablePtr Pointer to the ACPI table data.
67 @param [in] Length The length of the ACPI table.
69 @retval Returns TRUE if the ACPI table should be traced.
72 ProcessTableReportOptions (
73 IN CONST UINT32 Signature
,
74 IN CONST UINT8
*TablePtr
,
75 IN CONST UINT32 Length
79 This function iterates the configuration table entries in the
80 system table, retrieves the RSDP pointer and starts parsing the ACPI tables.
82 @param [in] SystemTable Pointer to the EFI system table.
84 @retval EFI_NOT_FOUND The RSDP pointer was not found.
85 @retval EFI_UNSUPPORTED The RSDP version was less than 2.
86 @retval EFI_SUCCESS The command was successful.
91 IN EFI_SYSTEM_TABLE
*SystemTable