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.
18 A macro to define the max file name length
20 #define MAX_FILE_NAME_LEN 128
23 Offset to the RSDP revision from the start of the RSDP
25 #define RSDP_REVISION_OFFSET 15
28 Offset to the RSDP length from the start of the RSDP
30 #define RSDP_LENGTH_OFFSET 20
33 The EREPORT_OPTION enum describes ACPI table Reporting options.
35 typedef enum ReportOption
{
36 ReportAll
, ///< Report All tables.
37 ReportSelected
, ///< Report Selected table.
38 ReportTableList
, ///< Report List of tables.
39 ReportDumpBinFile
, ///< Dump selected table to a file.
44 This function resets the ACPI table error counter to Zero.
52 This function returns the ACPI table error count.
54 @retval Returns the count of errors detected in the ACPI tables.
62 This function resets the ACPI table warning counter to Zero.
70 This function returns the ACPI table warning count.
72 @retval Returns the count of warning detected in the ACPI tables.
80 This function returns the colour highlighting status.
82 @retval TRUE if colour highlighting is enabled.
85 GetColourHighlighting (
90 This function sets the colour highlighting status.
92 @param Highlight The Highlight status.
96 SetColourHighlighting (
101 This function processes the table reporting options for the ACPI table.
103 @param [in] Signature The ACPI table Signature.
104 @param [in] TablePtr Pointer to the ACPI table data.
105 @param [in] Length The length fo the ACPI table.
107 @retval Returns TRUE if the ACPI table should be traced.
110 ProcessTableReportOptions (
111 IN CONST UINT32 Signature
,
112 IN CONST UINT8
* TablePtr
,
113 IN CONST UINT32 Length
116 #endif // ACPIVIEW_H_