]>
Commit | Line | Data |
---|---|---|
42eedea9 | 1 | /** @file \r |
4135253b | 2 | ACPI Watchdog Resource Table (WDRT) as defined at\r |
3 | Microsoft Windows Hardware Developer Central.\r | |
568eb0cb | 4 | \r |
4135253b | 5 | Copyright (c) 2006 - 2008, Intel Corporation\r |
568eb0cb | 6 | All rights reserved. This program and the accompanying materials \r |
7 | are licensed and made available under the terms and conditions of the BSD License \r | |
8 | which accompanies this distribution. The full text of the license may be found at \r | |
9 | http://opensource.org/licenses/bsd-license.php \r | |
10 | \r | |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r | |
13 | **/\r | |
14 | \r | |
15 | #ifndef _WATCHDOG_RESOURCE_TABLE_H_\r | |
16 | #define _WATCHDOG_RESOURCE_TABLE_H_\r | |
17 | \r | |
ecc40942 | 18 | #include <IndustryStandard/Acpi.h>\r |
568eb0cb | 19 | \r |
1bc5d021 | 20 | ///\r |
21 | /// Watchdog Resource Table definition.\r | |
22 | ///\r | |
568eb0cb | 23 | typedef struct {\r |
24 | EFI_ACPI_DESCRIPTION_HEADER Header;\r | |
25 | EFI_ACPI_2_0_GENERIC_ADDRESS_STRUCTURE ControlRegisterAddress;\r | |
26 | EFI_ACPI_2_0_GENERIC_ADDRESS_STRUCTURE CountRegisterAddress;\r | |
27 | UINT16 PCIDeviceID;\r | |
28 | UINT16 PCIVendorID;\r | |
29 | UINT8 PCIBusNumber;\r | |
30 | UINT8 PCIDeviceNumber;\r | |
31 | UINT8 PCIFunctionNumber;\r | |
32 | UINT8 PCISegment;\r | |
33 | UINT16 MaxCount;\r | |
34 | UINT8 Units;\r | |
35 | } EFI_ACPI_WATCHDOG_RESOURCE_1_0_TABLE;\r | |
36 | \r | |
568eb0cb | 37 | //\r |
38 | // WDRT Revision (defined in spec)\r | |
39 | //\r | |
40 | #define EFI_ACPI_WATCHDOG_RESOURCE_1_0_TABLE_REVISION 0x01\r | |
568eb0cb | 41 | \r |
42 | //\r | |
43 | // WDRT 1.0 Count Unit\r | |
44 | //\r | |
45 | #define EFI_ACPI_WDRT_1_0_COUNT_UNIT_1_SEC_PER_COUNT 1\r | |
46 | #define EFI_ACPI_WDRT_1_0_COUNT_UNIT_100_MILLISEC_PER_COUNT 2\r | |
47 | #define EFI_ACPI_WDRT_1_0_COUNT_UNIT_10_MILLISEC_PER_COUNT 3\r | |
48 | \r | |
568eb0cb | 49 | #endif\r |