TianoCore EDK2 master
Loading...
Searching...
No Matches
AcpiViewConfig.c File Reference

Go to the source code of this file.

Functions

VOID EFIAPI AcpiConfigSetDefaults (VOID)
 
STATIC UINT32 ConvertStrToAcpiSignature (IN CONST CHAR16 *Str)
 
VOID EFIAPI SelectAcpiTable (IN CONST CHAR16 *TableName)
 
VOID EFIAPI GetSelectedAcpiTable (OUT SELECTED_ACPI_TABLE **SelectedAcpiTable)
 
BOOLEAN EFIAPI GetColourHighlighting (VOID)
 
VOID EFIAPI SetColourHighlighting (BOOLEAN Highlight)
 
BOOLEAN EFIAPI GetConsistencyChecking (VOID)
 
VOID EFIAPI SetConsistencyChecking (BOOLEAN ConsistencyChecking)
 
EREPORT_OPTION EFIAPI GetReportOption (VOID)
 
VOID EFIAPI SetReportOption (EREPORT_OPTION ReportType)
 
BOOLEAN EFIAPI GetMandatoryTableValidate (VOID)
 
VOID EFIAPI SetMandatoryTableValidate (BOOLEAN Validate)
 
UINTN EFIAPI GetMandatoryTableSpec (VOID)
 
VOID EFIAPI SetMandatoryTableSpec (UINTN Spec)
 

Variables

STATIC BOOLEAN mConsistencyCheck
 
STATIC BOOLEAN mColourHighlighting
 
STATIC EREPORT_OPTION mReportType
 
STATIC BOOLEAN mMandatoryTableValidate
 
STATIC UINTN mMandatoryTableSpec
 
SELECTED_ACPI_TABLE mSelectedAcpiTable
 

Detailed Description

State and accessors for 'acpiview' configuration.

Copyright (c) 2016 - 2020, ARM Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file AcpiViewConfig.c.

Function Documentation

◆ AcpiConfigSetDefaults()

VOID EFIAPI AcpiConfigSetDefaults ( VOID  )

Reset the AcpiView user configuration to defaults

Definition at line 28 of file AcpiViewConfig.c.

◆ ConvertStrToAcpiSignature()

STATIC UINT32 ConvertStrToAcpiSignature ( IN CONST CHAR16 *  Str)

This function converts a string to ACPI table signature.

Parameters
[in]StrPointer to the string to be converted to the ACPI table signature.
Return values
TheACPI table signature.

Definition at line 51 of file AcpiViewConfig.c.

◆ GetColourHighlighting()

BOOLEAN EFIAPI GetColourHighlighting ( VOID  )

This function returns the colour highlighting status.

Return values
TRUEColour highlighting is enabled.

Definition at line 115 of file AcpiViewConfig.c.

◆ GetConsistencyChecking()

BOOLEAN EFIAPI GetConsistencyChecking ( VOID  )

This function returns the consistency checking status.

Return values
TRUEConsistency checking is enabled.

Definition at line 143 of file AcpiViewConfig.c.

◆ GetMandatoryTableSpec()

UINTN EFIAPI GetMandatoryTableSpec ( VOID  )

This function returns the identifier of specification to validate ACPI table requirements against.

Returns
ID of specification listing mandatory tables.

Definition at line 228 of file AcpiViewConfig.c.

◆ GetMandatoryTableValidate()

BOOLEAN EFIAPI GetMandatoryTableValidate ( VOID  )

This function returns the ACPI table requirements validation flag.

Return values
TRUECheck for mandatory table presence should be performed.

Definition at line 199 of file AcpiViewConfig.c.

◆ GetReportOption()

EREPORT_OPTION EFIAPI GetReportOption ( VOID  )

This function returns the report options.

Returns
The current report option.

Definition at line 171 of file AcpiViewConfig.c.

◆ GetSelectedAcpiTable()

VOID EFIAPI GetSelectedAcpiTable ( OUT SELECTED_ACPI_TABLE **  SelectedAcpiTable)

This function returns the selected ACPI table.

Parameters
[out]SelectedAcpiTablePointer that will contain the returned struct.

Definition at line 101 of file AcpiViewConfig.c.

◆ SelectAcpiTable()

VOID EFIAPI SelectAcpiTable ( IN CONST CHAR16 *  TableName)

This function selects an ACPI table in current context. The string name of the table is converted into UINT32 table signature.

Parameters
[in]TableNameThe name of the ACPI table to select.

Definition at line 84 of file AcpiViewConfig.c.

◆ SetColourHighlighting()

VOID EFIAPI SetColourHighlighting ( BOOLEAN  Highlight)

This function sets the colour highlighting status.

Parameters
[in]HighlightThe highlight status.

Definition at line 129 of file AcpiViewConfig.c.

◆ SetConsistencyChecking()

VOID EFIAPI SetConsistencyChecking ( BOOLEAN  ConsistencyChecking)

This function sets the consistency checking status.

Parameters
[in]ConsistencyCheckingThe consistency checking status.

Definition at line 157 of file AcpiViewConfig.c.

◆ SetMandatoryTableSpec()

VOID EFIAPI SetMandatoryTableSpec ( UINTN  Spec)

This function sets the identifier of specification to validate ACPI table requirements against.

Parameters
[in]SpecID of specification listing mandatory tables.

Definition at line 243 of file AcpiViewConfig.c.

◆ SetMandatoryTableValidate()

VOID EFIAPI SetMandatoryTableValidate ( BOOLEAN  Validate)

This function sets the ACPI table requirements validation flag.

Parameters
[in]ValidateEnable/Disable ACPI table requirements validation.

Definition at line 213 of file AcpiViewConfig.c.

◆ SetReportOption()

VOID EFIAPI SetReportOption ( EREPORT_OPTION  ReportType)

This function sets the report options.

Parameters
[in]ReportTypeThe report option to set.

Definition at line 185 of file AcpiViewConfig.c.

Variable Documentation

◆ mColourHighlighting

STATIC BOOLEAN mColourHighlighting

Definition at line 15 of file AcpiViewConfig.c.

◆ mConsistencyCheck

STATIC BOOLEAN mConsistencyCheck

Definition at line 14 of file AcpiViewConfig.c.

◆ mMandatoryTableSpec

STATIC UINTN mMandatoryTableSpec

Definition at line 18 of file AcpiViewConfig.c.

◆ mMandatoryTableValidate

STATIC BOOLEAN mMandatoryTableValidate

Definition at line 17 of file AcpiViewConfig.c.

◆ mReportType

STATIC EREPORT_OPTION mReportType

Definition at line 16 of file AcpiViewConfig.c.

◆ mSelectedAcpiTable

SELECTED_ACPI_TABLE mSelectedAcpiTable

Definition at line 21 of file AcpiViewConfig.c.