TianoCore EDK2 master
|
Go to the source code of this file.
Functions | |
VOID EFIAPI | DumpHpetPageProtectionFlag (IN CONST CHAR16 *Format OPTIONAL, IN UINT8 *Ptr, IN UINT32 Length) |
VOID EFIAPI | DumpHpetFlag (IN CONST CHAR16 *Format OPTIONAL, IN UINT8 *Ptr, IN UINT32 Length) |
VOID EFIAPI | DumpCounterSize (IN CONST CHAR16 *Format OPTIONAL, IN UINT8 *Ptr, IN UINT32 Length) |
STATIC VOID EFIAPI | ValidateHpetRevId (IN UINT8 *Ptr, IN UINT32 Length, IN VOID *Context) |
VOID EFIAPI | DumpHpetEventTimerBlockId (IN CONST CHAR16 *Format OPTIONAL, IN UINT8 *Ptr, IN UINT32 Length) |
VOID EFIAPI | ParseAcpiHpet (IN BOOLEAN Trace, IN UINT8 *Ptr, IN UINT32 AcpiTableLength, IN UINT8 AcpiTableRevision) |
HPET table parser
Copyright (c) 2024, Arm Limited. All rights reserved. Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file HpetParser.c.
This function prints HPET Counter size fields. If no format string is specified the Format must be NULL.
[in] | Format | Optional format string for tracing the data. |
[in] | Ptr | Pointer to the start of the buffer. |
Definition at line 105 of file HpetParser.c.
VOID EFIAPI DumpHpetEventTimerBlockId | ( | IN CONST CHAR16 *Format | OPTIONAL, |
IN UINT8 * | Ptr, | ||
IN UINT32 | Length | ||
) |
This function prints Hardware ID of HPET Event timer block. If no format string is specified the Format must be NULL.
[in] | Format | Optional format string for tracing the data. |
[in] | Ptr | Pointer to the start of the buffer. |
Definition at line 170 of file HpetParser.c.
This function prints HPET Flags fields. If no format string is specified the Format must be NULL.
[in] | Format | Optional format string for tracing the data. |
[in] | Ptr | Pointer to the start of the buffer. |
Definition at line 74 of file HpetParser.c.
VOID EFIAPI DumpHpetPageProtectionFlag | ( | IN CONST CHAR16 *Format | OPTIONAL, |
IN UINT8 * | Ptr, | ||
IN UINT32 | Length | ||
) |
This function prints HPET page protection flags. If no format string is specified the Format must be NULL.
[in] | Format | Optional format string for tracing the data. |
[in] | Ptr | Pointer to the start of the buffer. |
Definition at line 26 of file HpetParser.c.
VOID EFIAPI ParseAcpiHpet | ( | IN BOOLEAN | Trace, |
IN UINT8 * | Ptr, | ||
IN UINT32 | AcpiTableLength, | ||
IN UINT8 | AcpiTableRevision | ||
) |
This function parses the ACPI HPET table.
[in] | Trace | If TRUE, trace the ACPI fields. |
[in] | Ptr | Pointer to the start of the buffer. |
[in] | AcpiTableLength | Length of the ACPI table. |
[in] | AcpiTableRevision | Revision of the ACPI table. |
Definition at line 214 of file HpetParser.c.
This function validates the flags.
[in] | Ptr | Pointer to the start of the field data. |
[in] | Length | Length of the field. |
[in] | Context | Pointer to context specific information e.g. this could be a pointer to the ACPI table header. |
Definition at line 135 of file HpetParser.c.
STATIC ACPI_DESCRIPTION_HEADER_INFO AcpiHdrInfo |
Definition at line 15 of file HpetParser.c.
STATIC CONST ACPI_PARSER DumpHpetFlagParser[] |
An ACPI_PARSER array describing the ACPI HPET flags.
Definition at line 60 of file HpetParser.c.
STATIC CONST ACPI_PARSER HpetEventTimerBlockIdFlagParser[] |
An ACPI_PARSER array describing the ACPI HPET Event Timer Block ID.
Definition at line 152 of file HpetParser.c.
STATIC CONST ACPI_PARSER HpetParser[] |
An ACPI_PARSER array describing the ACPI HPET Table.
Definition at line 195 of file HpetParser.c.