2 Header file for AcpiView
4 Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17 /** A macro to define the max file name length
19 #define MAX_FILE_NAME_LEN 128
21 /** Offset to the RSDP revision from the start of the RSDP
23 #define RSDP_REVISION_OFFSET 15
25 /** Offset to the RSDP length from the start of the RSDP
27 #define RSDP_LENGTH_OFFSET 20
29 /** The EREPORT_OPTION enum describes ACPI table Reporting options.
31 typedef enum ReportOption
{
32 EREPORT_ALL
, ///< Report All tables.
33 EREPORT_SELECTED
, ///< Report Selected table.
34 EREPORT_TABLE_LIST
, ///< Report List of tables.
35 EREPORT_DUMP_BIN_FILE
, ///< Dump selected table to a file.
39 /** 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.
55 /** This function resets the ACPI table warning counter to Zero.
62 /** This function returns the ACPI table warning count.
64 @retval Returns the count of warning detected in the ACPI tables.
71 /** This function returns the colour highlighting status.
73 @retval TRUE if colour highlighting is enabled.
76 GetColourHighlighting (
80 /** This function sets the colour highlighting status.
84 SetColourHighlighting (
88 /** This function processes the table reporting options for the ACPI table.
90 @param [in] Signature The ACPI table Signature.
91 @param [in] TablePtr Pointer to the ACPI table data.
92 @param [in] Length The length fo the ACPI table.
94 @retval Returns TRUE if the ACPI table should be traced.
97 ProcessTableReportOptions (
98 IN CONST UINT32 Signature
,
99 IN CONST UINT8
* TablePtr
,
100 IN CONST UINT32 Length
103 #endif // ACPIVIEW_H_