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
13
14//
15// Ensure proper structure formats
16//
17#pragma pack(1)
18
22typedef 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;
33
37typedef struct {
39 UINT32 EventTimerBlockId;
40 EFI_ACPI_2_0_GENERIC_ADDRESS_STRUCTURE BaseAddressLower32Bit;
41 UINT8 HpetNumber;
42 UINT16 MainCounterMinimumClockTickInPeriodicMode;
43 UINT8 PageProtectionAndOemAttribute;
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