aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2010-07-05 21:58:11 -0400
committerLen Brown <len.brown@intel.com>2010-07-06 22:34:27 -0400
commit9d8b5e7b28179784e2c6250086a44021fbb9c5a0 (patch)
tree11bbf5eca71def280ea5f10c0c55517ffc0c54be /include/acpi
parent546eb57695875712f676e5f729159b0779f1c0af (diff)
ACPICA: Add support for WDDT - Watchdog Descriptor Table
Header file support. Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi')
-rw-r--r--include/acpi/actbl2.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h
index 0a600b8e53f4..d4136b28011f 100644
--- a/include/acpi/actbl2.h
+++ b/include/acpi/actbl2.h
@@ -77,6 +77,7 @@
77#define ACPI_SIG_UEFI "UEFI" /* Uefi Boot Optimization Table */ 77#define ACPI_SIG_UEFI "UEFI" /* Uefi Boot Optimization Table */
78#define ACPI_SIG_WAET "WAET" /* Windows ACPI Emulated devices Table */ 78#define ACPI_SIG_WAET "WAET" /* Windows ACPI Emulated devices Table */
79#define ACPI_SIG_WDAT "WDAT" /* Watchdog Action Table */ 79#define ACPI_SIG_WDAT "WDAT" /* Watchdog Action Table */
80#define ACPI_SIG_WDDT "WDDT" /* Watchdog Timer Description Table */
80#define ACPI_SIG_WDRT "WDRT" /* Watchdog Resource Table */ 81#define ACPI_SIG_WDRT "WDRT" /* Watchdog Resource Table */
81 82
82#ifdef ACPI_UNDEFINED_TABLES 83#ifdef ACPI_UNDEFINED_TABLES
@@ -918,6 +919,44 @@ enum acpi_wdat_instructions {
918 919
919/******************************************************************************* 920/*******************************************************************************
920 * 921 *
922 * WDDT - Watchdog Descriptor Table
923 * Version 1
924 *
925 * Conforms to "Using the Intel ICH Family Watchdog Timer (WDT)",
926 * Version 001, September 2002
927 *
928 ******************************************************************************/
929
930struct acpi_table_wddt {
931 struct acpi_table_header header; /* Common ACPI table header */
932 u16 spec_version;
933 u16 table_version;
934 u16 pci_vendor_id;
935 struct acpi_generic_address address;
936 u16 max_count; /* Maximum counter value supported */
937 u16 min_count; /* Minimum counter value supported */
938 u16 period;
939 u16 status;
940 u16 capability;
941};
942
943/* Flags for Status field above */
944
945#define ACPI_WDDT_AVAILABLE (1)
946#define ACPI_WDDT_ACTIVE (1<<1)
947#define ACPI_WDDT_TCO_OS_OWNED (1<<2)
948#define ACPI_WDDT_USER_RESET (1<<11)
949#define ACPI_WDDT_WDT_RESET (1<<12)
950#define ACPI_WDDT_POWER_FAIL (1<<13)
951#define ACPI_WDDT_UNKNOWN_RESET (1<<14)
952
953/* Flags for Capability field above */
954
955#define ACPI_WDDT_AUTO_RESET (1)
956#define ACPI_WDDT_ALERT_SUPPORT (1<<1)
957
958/*******************************************************************************
959 *
921 * WDRT - Watchdog Resource Table 960 * WDRT - Watchdog Resource Table
922 * Version 1 961 * Version 1
923 * 962 *