]>
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 |
9df063a0 HT |
5 | Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r |
6 | This program and the accompanying materials \r | |
568eb0cb | 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 |
766f4bc1 | 20 | //\r |
21 | // Ensure proper structure formats\r | |
22 | //\r | |
23 | #pragma pack(1)\r | |
24 | \r | |
1bc5d021 | 25 | ///\r |
26 | /// Watchdog Resource Table definition.\r | |
27 | ///\r | |
568eb0cb | 28 | typedef struct {\r |
29 | EFI_ACPI_DESCRIPTION_HEADER Header;\r | |
30 | EFI_ACPI_2_0_GENERIC_ADDRESS_STRUCTURE ControlRegisterAddress;\r | |
31 | EFI_ACPI_2_0_GENERIC_ADDRESS_STRUCTURE CountRegisterAddress;\r | |
32 | UINT16 PCIDeviceID;\r | |
33 | UINT16 PCIVendorID;\r | |
34 | UINT8 PCIBusNumber;\r | |
35 | UINT8 PCIDeviceNumber;\r | |
36 | UINT8 PCIFunctionNumber;\r | |
37 | UINT8 PCISegment;\r | |
38 | UINT16 MaxCount;\r | |
39 | UINT8 Units;\r | |
40 | } EFI_ACPI_WATCHDOG_RESOURCE_1_0_TABLE;\r | |
41 | \r | |
766f4bc1 | 42 | #pragma pack()\r |
43 | \r | |
568eb0cb | 44 | //\r |
45 | // WDRT Revision (defined in spec)\r | |
46 | //\r | |
47 | #define EFI_ACPI_WATCHDOG_RESOURCE_1_0_TABLE_REVISION 0x01\r | |
568eb0cb | 48 | \r |
49 | //\r | |
50 | // WDRT 1.0 Count Unit\r | |
51 | //\r | |
52 | #define EFI_ACPI_WDRT_1_0_COUNT_UNIT_1_SEC_PER_COUNT 1\r | |
53 | #define EFI_ACPI_WDRT_1_0_COUNT_UNIT_100_MILLISEC_PER_COUNT 2\r | |
54 | #define EFI_ACPI_WDRT_1_0_COUNT_UNIT_10_MILLISEC_PER_COUNT 3\r | |
55 | \r | |
568eb0cb | 56 | #endif\r |