TianoCore EDK2
master
Loading...
Searching...
No Matches
HighPrecisionEventTimerTable.h
Go to the documentation of this file.
1
9
#ifndef _HIGH_PRECISION_EVENT_TIMER_TABLE_H_
10
#define _HIGH_PRECISION_EVENT_TIMER_TABLE_H_
11
12
#include <
IndustryStandard/Acpi.h
>
13
14
//
15
// Ensure proper structure formats
16
//
17
#pragma pack(1)
18
22
typedef
union
{
23
struct
{
24
UINT32 Revision : 8;
25
UINT32 NumberOfTimers : 5;
26
UINT32 CounterSize : 1;
27
UINT32 Reserved : 1;
28
UINT32 LegacyRoute : 1;
29
UINT32 VendorId : 16;
30
} Bits;
31
UINT32 Uint32;
32
}
EFI_ACPI_HIGH_PRECISION_EVENT_TIMER_BLOCK_ID
;
33
37
typedef
struct
{
38
EFI_ACPI_DESCRIPTION_HEADER
Header;
39
UINT32 EventTimerBlockId;
40
EFI_ACPI_2_0_GENERIC_ADDRESS_STRUCTURE
BaseAddressLower32Bit;
41
UINT8 HpetNumber;
42
UINT16 MainCounterMinimumClockTickInPeriodicMode;
43
UINT8 PageProtectionAndOemAttribute;
44
}
EFI_ACPI_HIGH_PRECISION_EVENT_TIMER_TABLE_HEADER
;
45
49
#define EFI_ACPI_HIGH_PRECISION_EVENT_TIMER_TABLE_REVISION 0x01
50
51
//
52
// Page protection setting
53
// Values 3 through 15 are reserved for use by the specification
54
//
55
#define EFI_ACPI_NO_PAGE_PROTECTION 0
56
#define EFI_ACPI_4KB_PAGE_PROTECTION 1
57
#define EFI_ACPI_64KB_PAGE_PROTECTION 2
58
59
#pragma pack()
60
61
#endif
Acpi.h
EFI_ACPI_2_0_GENERIC_ADDRESS_STRUCTURE
Definition:
Acpi20.h:47
EFI_ACPI_DESCRIPTION_HEADER
Definition:
Acpi10.h:27
EFI_ACPI_HIGH_PRECISION_EVENT_TIMER_TABLE_HEADER
Definition:
HighPrecisionEventTimerTable.h:37
EFI_ACPI_HIGH_PRECISION_EVENT_TIMER_BLOCK_ID
Definition:
HighPrecisionEventTimerTable.h:22
MdePkg
Include
IndustryStandard
HighPrecisionEventTimerTable.h
Generated on Fri Nov 15 2024 18:01:14 for TianoCore EDK2 by
1.9.6