TianoCore EDK2 master
Loading...
Searching...
No Matches
WatchdogResourceTable.h
Go to the documentation of this file.
1
9#ifndef _WATCHDOG_RESOURCE_TABLE_H_
10#define _WATCHDOG_RESOURCE_TABLE_H_
11
13
14//
15// Ensure proper structure formats
16//
17#pragma pack(1)
18
22typedef struct {
24 EFI_ACPI_2_0_GENERIC_ADDRESS_STRUCTURE ControlRegisterAddress;
25 EFI_ACPI_2_0_GENERIC_ADDRESS_STRUCTURE CountRegisterAddress;
26 UINT16 PCIDeviceID;
27 UINT16 PCIVendorID;
28 UINT8 PCIBusNumber;
29 UINT8 PCIDeviceNumber;
30 UINT8 PCIFunctionNumber;
31 UINT8 PCISegment;
32 UINT16 MaxCount;
33 UINT8 Units;
35
36#pragma pack()
37
38//
39// WDRT Revision (defined in spec)
40//
41#define EFI_ACPI_WATCHDOG_RESOURCE_1_0_TABLE_REVISION 0x01
42
43//
44// WDRT 1.0 Count Unit
45//
46#define EFI_ACPI_WDRT_1_0_COUNT_UNIT_1_SEC_PER_COUNT 1
47#define EFI_ACPI_WDRT_1_0_COUNT_UNIT_100_MILLISEC_PER_COUNT 2
48#define EFI_ACPI_WDRT_1_0_COUNT_UNIT_10_MILLISEC_PER_COUNT 3
49
50#endif