2 Header file for AcpiView
4 Copyright (c) 2016 - 2019, 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 The EREPORT_OPTION enum describes ACPI table Reporting options.
29 typedef enum ReportOption
{
30 ReportAll
, ///< Report All tables.
31 ReportSelected
, ///< Report Selected table.
32 ReportTableList
, ///< Report List of tables.
33 ReportDumpBinFile
, ///< Dump selected table to a file.
38 This function resets the ACPI table error counter to Zero.
46 This function returns the ACPI table error count.
48 @retval Returns the count of errors detected in the ACPI tables.
56 This function resets the ACPI table warning counter to Zero.
64 This function returns the ACPI table warning count.
66 @retval Returns the count of warning detected in the ACPI tables.
74 This function returns the colour highlighting status.
76 @retval TRUE if colour highlighting is enabled.
79 GetColourHighlighting (
84 This function sets the colour highlighting status.
86 @param Highlight The Highlight status.
90 SetColourHighlighting (
95 This function returns the consistency checking status.
97 @retval TRUE if consistency checking is enabled.
100 GetConsistencyChecking (
105 This function sets the consistency checking status.
107 @param ConsistencyChecking The consistency checking status.
111 SetConsistencyChecking (
112 BOOLEAN ConsistencyChecking
116 This function processes the table reporting options for the ACPI table.
118 @param [in] Signature The ACPI table Signature.
119 @param [in] TablePtr Pointer to the ACPI table data.
120 @param [in] Length The length fo the ACPI table.
122 @retval Returns TRUE if the ACPI table should be traced.
125 ProcessTableReportOptions (
126 IN CONST UINT32 Signature
,
127 IN CONST UINT8
* TablePtr
,
128 IN CONST UINT32 Length
131 #endif // ACPIVIEW_H_