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