2 Header file for 'acpiview' configuration.
4 Copyright (c) 2016 - 2020, ARM Limited. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
8 #ifndef ACPI_VIEW_CONFIG_H_
9 #define ACPI_VIEW_CONFIG_H_
12 This function returns the colour highlighting status.
14 @retval TRUE Colour highlighting is enabled.
18 GetColourHighlighting (
23 This function sets the colour highlighting status.
25 @param [in] Highlight The highlight status.
29 SetColourHighlighting (
34 This function returns the consistency checking status.
36 @retval TRUE Consistency checking is enabled.
40 GetConsistencyChecking (
45 This function sets the consistency checking status.
47 @param [in] ConsistencyChecking The consistency checking status.
51 SetConsistencyChecking (
52 BOOLEAN ConsistencyChecking
56 This function returns the ACPI table requirements validation flag.
58 @retval TRUE Check for mandatory table presence should be performed.
62 GetMandatoryTableValidate (
67 This function sets the ACPI table requirements validation flag.
69 @param [in] Validate Enable/Disable ACPI table requirements validation.
73 SetMandatoryTableValidate (
78 This function returns the identifier of specification to validate ACPI table
81 @return ID of specification listing mandatory tables.
85 GetMandatoryTableSpec (
90 This function sets the identifier of specification to validate ACPI table
93 @param [in] Spec ID of specification listing mandatory tables.
97 SetMandatoryTableSpec (
102 The EREPORT_OPTION enum describes ACPI table Reporting options.
105 ReportAll
, ///< Report All tables.
106 ReportSelected
, ///< Report Selected table.
107 ReportTableList
, ///< Report List of tables.
108 ReportDumpBinFile
, ///< Dump selected table to a file.
113 This function returns the report options.
115 @return The current report option.
124 This function sets the report options.
126 @param [in] ReportType The report option to set.
131 EREPORT_OPTION ReportType
135 A structure holding the user selection detailing which
136 ACPI table is to be examined by the AcpiView code.
139 UINT32 Type
; ///< 32bit signature of the selected ACPI table.
140 CONST CHAR16
* Name
; ///< User friendly name of the selected ACPI table.
141 BOOLEAN Found
; ///< The selected table has been found in the system.
142 } SELECTED_ACPI_TABLE
;
145 This function returns the selected ACPI table.
147 @param [out] SelectedAcpiTable Pointer that will contain the returned struct.
151 GetSelectedAcpiTable (
152 OUT SELECTED_ACPI_TABLE
** SelectedAcpiTable
156 This function selects an ACPI table in current context.
157 The string name of the table is converted into UINT32
160 @param [in] TableName The name of the ACPI table to select.
165 CONST CHAR16
* TableName
169 Reset the AcpiView user configuration to defaults.
173 AcpiConfigSetDefaults (
177 #endif // ACPI_VIEW_CONFIG_H_