1 /******************************************************************************
3 * Name: actbl2.h - ACPI Specification Revision 2.0 Tables
5 *****************************************************************************/
8 * Copyright (C) 2000 - 2010, Intel Corp.
11 * Redistribution and use in source and binary forms, with or without
12 * modification, are permitted provided that the following conditions
14 * 1. Redistributions of source code must retain the above copyright
15 * notice, this list of conditions, and the following disclaimer,
16 * without modification.
17 * 2. Redistributions in binary form must reproduce at minimum a disclaimer
18 * substantially similar to the "NO WARRANTY" disclaimer below
19 * ("Disclaimer") and any redistribution must be conditioned upon
20 * including a substantially similar Disclaimer requirement for further
21 * binary redistribution.
22 * 3. Neither the names of the above-listed copyright holders nor the names
23 * of any contributors may be used to endorse or promote products derived
24 * from this software without specific prior written permission.
26 * Alternatively, this software may be distributed under the terms of the
27 * GNU General Public License ("GPL") version 2 as published by the Free
28 * Software Foundation.
31 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
32 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
33 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR
34 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
35 * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
36 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
37 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
38 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
39 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
40 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
41 * POSSIBILITY OF SUCH DAMAGES.
47 /*******************************************************************************
49 * Additional ACPI Tables (2)
51 * These tables are not consumed directly by the ACPICA subsystem, but are
52 * included here to support device drivers and the AML disassembler.
54 * The tables in this file are defined by third-party specifications, and are
55 * not defined directly by the ACPI specification itself.
57 ******************************************************************************/
60 * Values for description table header signatures for tables defined in this
61 * file. Useful because they make it more difficult to inadvertently type in
62 * the wrong signature.
64 #define ACPI_SIG_ASF "ASF!" /* Alert Standard Format table */
65 #define ACPI_SIG_BOOT "BOOT" /* Simple Boot Flag Table */
66 #define ACPI_SIG_DBGP "DBGP" /* Debug Port table */
67 #define ACPI_SIG_DMAR "DMAR" /* DMA Remapping table */
68 #define ACPI_SIG_HPET "HPET" /* High Precision Event Timer table */
69 #define ACPI_SIG_IBFT "IBFT" /* i_sCSI Boot Firmware Table */
70 #define ACPI_SIG_IVRS "IVRS" /* I/O Virtualization Reporting Structure */
71 #define ACPI_SIG_MCFG "MCFG" /* PCI Memory Mapped Configuration table */
72 #define ACPI_SIG_MCHI "MCHI" /* Management Controller Host Interface table */
73 #define ACPI_SIG_SLIC "SLIC" /* Software Licensing Description Table */
74 #define ACPI_SIG_SPCR "SPCR" /* Serial Port Console Redirection table */
75 #define ACPI_SIG_SPMI "SPMI" /* Server Platform Management Interface table */
76 #define ACPI_SIG_TCPA "TCPA" /* Trusted Computing Platform Alliance table */
77 #define ACPI_SIG_UEFI "UEFI" /* Uefi Boot Optimization Table */
78 #define ACPI_SIG_WAET "WAET" /* Windows ACPI Emulated devices Table */
79 #define ACPI_SIG_WDAT "WDAT" /* Watchdog Action Table */
80 #define ACPI_SIG_WDRT "WDRT" /* Watchdog Resource Table */
83 * All tables must be byte-packed to match the ACPI specification, since
84 * the tables are provided by the system BIOS.
89 * Note about bitfields: The u8 type is used for bitfields in ACPI tables.
90 * This is the only type that is even remotely portable. Anything else is not
91 * portable, so do not use any other bitfield types.
94 /*******************************************************************************
96 * ASF - Alert Standard Format table (Signature "ASF!")
99 * Conforms to the Alert Standard Format Specification V2.0, 23 April 2003
101 ******************************************************************************/
103 struct acpi_table_asf
{
104 struct acpi_table_header header
; /* Common ACPI table header */
107 /* ASF subtable header */
109 struct acpi_asf_header
{
115 /* Values for Type field above */
118 ACPI_ASF_TYPE_INFO
= 0,
119 ACPI_ASF_TYPE_ALERT
= 1,
120 ACPI_ASF_TYPE_CONTROL
= 2,
121 ACPI_ASF_TYPE_BOOT
= 3,
122 ACPI_ASF_TYPE_ADDRESS
= 4,
123 ACPI_ASF_TYPE_RESERVED
= 5
130 /* 0: ASF Information */
132 struct acpi_asf_info
{
133 struct acpi_asf_header header
;
135 u8 min_poll_interval
;
142 /* Masks for Flags field above */
144 #define ACPI_ASF_SMBUS_PROTOCOLS (1)
148 struct acpi_asf_alert
{
149 struct acpi_asf_header header
;
156 struct acpi_asf_alert_data
{
171 /* 2: ASF Remote Control */
173 struct acpi_asf_remote
{
174 struct acpi_asf_header header
;
180 struct acpi_asf_control_data
{
187 /* 3: ASF RMCP Boot Options */
189 struct acpi_asf_rmcp
{
190 struct acpi_asf_header header
;
202 struct acpi_asf_address
{
203 struct acpi_asf_header header
;
208 /*******************************************************************************
210 * BOOT - Simple Boot Flag Table
213 * Conforms to the "Simple Boot Flag Specification", Version 2.1
215 ******************************************************************************/
217 struct acpi_table_boot
{
218 struct acpi_table_header header
; /* Common ACPI table header */
219 u8 cmos_index
; /* Index in CMOS RAM for the boot register */
223 /*******************************************************************************
225 * DBGP - Debug Port table
228 * Conforms to the "Debug Port Specification", Version 1.00, 2/9/2000
230 ******************************************************************************/
232 struct acpi_table_dbgp
{
233 struct acpi_table_header header
; /* Common ACPI table header */
234 u8 type
; /* 0=full 16550, 1=subset of 16550 */
236 struct acpi_generic_address debug_port
;
239 /*******************************************************************************
241 * DMAR - DMA Remapping table
244 * Conforms to "Intel Virtualization Technology for Directed I/O",
245 * Version 1.2, Sept. 2008
247 ******************************************************************************/
249 struct acpi_table_dmar
{
250 struct acpi_table_header header
; /* Common ACPI table header */
251 u8 width
; /* Host Address Width */
256 /* Masks for Flags field above */
258 #define ACPI_DMAR_INTR_REMAP (1)
260 /* DMAR subtable header */
262 struct acpi_dmar_header
{
267 /* Values for subtable type in struct acpi_dmar_header */
269 enum acpi_dmar_type
{
270 ACPI_DMAR_TYPE_HARDWARE_UNIT
= 0,
271 ACPI_DMAR_TYPE_RESERVED_MEMORY
= 1,
272 ACPI_DMAR_TYPE_ATSR
= 2,
273 ACPI_DMAR_HARDWARE_AFFINITY
= 3,
274 ACPI_DMAR_TYPE_RESERVED
= 4 /* 4 and greater are reserved */
277 /* DMAR Device Scope structure */
279 struct acpi_dmar_device_scope
{
287 /* Values for entry_type in struct acpi_dmar_device_scope */
289 enum acpi_dmar_scope_type
{
290 ACPI_DMAR_SCOPE_TYPE_NOT_USED
= 0,
291 ACPI_DMAR_SCOPE_TYPE_ENDPOINT
= 1,
292 ACPI_DMAR_SCOPE_TYPE_BRIDGE
= 2,
293 ACPI_DMAR_SCOPE_TYPE_IOAPIC
= 3,
294 ACPI_DMAR_SCOPE_TYPE_HPET
= 4,
295 ACPI_DMAR_SCOPE_TYPE_RESERVED
= 5 /* 5 and greater are reserved */
298 struct acpi_dmar_pci_path
{
304 * DMAR Sub-tables, correspond to Type in struct acpi_dmar_header
307 /* 0: Hardware Unit Definition */
309 struct acpi_dmar_hardware_unit
{
310 struct acpi_dmar_header header
;
314 u64 address
; /* Register Base Address */
317 /* Masks for Flags field above */
319 #define ACPI_DMAR_INCLUDE_ALL (1)
321 /* 1: Reserved Memory Defininition */
323 struct acpi_dmar_reserved_memory
{
324 struct acpi_dmar_header header
;
327 u64 base_address
; /* 4_k aligned base address */
328 u64 end_address
; /* 4_k aligned limit address */
331 /* Masks for Flags field above */
333 #define ACPI_DMAR_ALLOW_ALL (1)
335 /* 2: Root Port ATS Capability Reporting Structure */
337 struct acpi_dmar_atsr
{
338 struct acpi_dmar_header header
;
344 /* Masks for Flags field above */
346 #define ACPI_DMAR_ALL_PORTS (1)
348 /* 3: Remapping Hardware Static Affinity Structure */
350 struct acpi_dmar_rhsa
{
351 struct acpi_dmar_header header
;
354 u32 proximity_domain
;
357 /*******************************************************************************
359 * HPET - High Precision Event Timer table
362 * Conforms to "IA-PC HPET (High Precision Event Timers) Specification",
363 * Version 1.0a, October 2004
365 ******************************************************************************/
367 struct acpi_table_hpet
{
368 struct acpi_table_header header
; /* Common ACPI table header */
369 u32 id
; /* Hardware ID of event timer block */
370 struct acpi_generic_address address
; /* Address of event timer block */
371 u8 sequence
; /* HPET sequence number */
372 u16 minimum_tick
; /* Main counter min tick, periodic mode */
376 /* Masks for Flags field above */
378 #define ACPI_HPET_PAGE_PROTECT_MASK (3)
380 /* Values for Page Protect flags */
382 enum acpi_hpet_page_protect
{
383 ACPI_HPET_NO_PAGE_PROTECT
= 0,
384 ACPI_HPET_PAGE_PROTECT4
= 1,
385 ACPI_HPET_PAGE_PROTECT64
= 2
388 /*******************************************************************************
390 * IBFT - Boot Firmware Table
393 * Conforms to "iSCSI Boot Firmware Table (iBFT) as Defined in ACPI 3.0b
394 * Specification", Version 1.01, March 1, 2007
396 * Note: It appears that this table is not intended to appear in the RSDT/XSDT.
397 * Therefore, it is not currently supported by the disassembler.
399 ******************************************************************************/
401 struct acpi_table_ibft
{
402 struct acpi_table_header header
; /* Common ACPI table header */
406 /* IBFT common subtable header */
408 struct acpi_ibft_header
{
416 /* Values for Type field above */
418 enum acpi_ibft_type
{
419 ACPI_IBFT_TYPE_NOT_USED
= 0,
420 ACPI_IBFT_TYPE_CONTROL
= 1,
421 ACPI_IBFT_TYPE_INITIATOR
= 2,
422 ACPI_IBFT_TYPE_NIC
= 3,
423 ACPI_IBFT_TYPE_TARGET
= 4,
424 ACPI_IBFT_TYPE_EXTENSIONS
= 5,
425 ACPI_IBFT_TYPE_RESERVED
= 6 /* 6 and greater are reserved */
430 struct acpi_ibft_control
{
431 struct acpi_ibft_header header
;
433 u16 initiator_offset
;
440 struct acpi_ibft_initiator
{
441 struct acpi_ibft_header header
;
444 u8 primary_server
[16];
445 u8 secondary_server
[16];
450 struct acpi_ibft_nic
{
451 struct acpi_ibft_header header
;
453 u8 subnet_mask_prefix
;
457 u8 secondary_dns
[16];
466 struct acpi_ibft_target
{
467 struct acpi_ibft_header header
;
468 u8 target_ip_address
[16];
469 u16 target_ip_socket
;
470 u8 target_boot_lun
[8];
473 u16 target_name_length
;
474 u16 target_name_offset
;
475 u16 chap_name_length
;
476 u16 chap_name_offset
;
477 u16 chap_secret_length
;
478 u16 chap_secret_offset
;
479 u16 reverse_chap_name_length
;
480 u16 reverse_chap_name_offset
;
481 u16 reverse_chap_secret_length
;
482 u16 reverse_chap_secret_offset
;
485 /*******************************************************************************
487 * IVRS - I/O Virtualization Reporting Structure
490 * Conforms to "AMD I/O Virtualization Technology (IOMMU) Specification",
491 * Revision 1.26, February 2009.
493 ******************************************************************************/
495 struct acpi_table_ivrs
{
496 struct acpi_table_header header
; /* Common ACPI table header */
497 u32 info
; /* Common virtualization info */
501 /* Values for Info field above */
503 #define ACPI_IVRS_PHYSICAL_SIZE 0x00007F00 /* 7 bits, physical address size */
504 #define ACPI_IVRS_VIRTUAL_SIZE 0x003F8000 /* 7 bits, virtual address size */
505 #define ACPI_IVRS_ATS_RESERVED 0x00400000 /* ATS address translation range reserved */
507 /* IVRS subtable header */
509 struct acpi_ivrs_header
{
510 u8 type
; /* Subtable type */
512 u16 length
; /* Subtable length */
513 u16 device_id
; /* ID of IOMMU */
516 /* Values for subtable Type above */
518 enum acpi_ivrs_type
{
519 ACPI_IVRS_TYPE_HARDWARE
= 0x10,
520 ACPI_IVRS_TYPE_MEMORY1
= 0x20,
521 ACPI_IVRS_TYPE_MEMORY2
= 0x21,
522 ACPI_IVRS_TYPE_MEMORY3
= 0x22
525 /* Masks for Flags field above for IVHD subtable */
527 #define ACPI_IVHD_TT_ENABLE (1)
528 #define ACPI_IVHD_PASS_PW (1<<1)
529 #define ACPI_IVHD_RES_PASS_PW (1<<2)
530 #define ACPI_IVHD_ISOC (1<<3)
531 #define ACPI_IVHD_IOTLB (1<<4)
533 /* Masks for Flags field above for IVMD subtable */
535 #define ACPI_IVMD_UNITY (1)
536 #define ACPI_IVMD_READ (1<<1)
537 #define ACPI_IVMD_WRITE (1<<2)
538 #define ACPI_IVMD_EXCLUSION_RANGE (1<<3)
541 * IVRS subtables, correspond to Type in struct acpi_ivrs_header
544 /* 0x10: I/O Virtualization Hardware Definition Block (IVHD) */
546 struct acpi_ivrs_hardware
{
547 struct acpi_ivrs_header header
;
548 u16 capability_offset
; /* Offset for IOMMU control fields */
549 u64 base_address
; /* IOMMU control registers */
550 u16 pci_segment_group
;
551 u16 info
; /* MSI number and unit ID */
555 /* Masks for Info field above */
557 #define ACPI_IVHD_MSI_NUMBER_MASK 0x001F /* 5 bits, MSI message number */
558 #define ACPI_IVHD_UNIT_ID_MASK 0x1F00 /* 5 bits, unit_iD */
561 * Device Entries for IVHD subtable, appear after struct acpi_ivrs_hardware structure.
562 * Upper two bits of the Type field are the (encoded) length of the structure.
563 * Currently, only 4 and 8 byte entries are defined. 16 and 32 byte entries
564 * are reserved for future use but not defined.
566 struct acpi_ivrs_de_header
{
572 /* Length of device entry is in the top two bits of Type field above */
574 #define ACPI_IVHD_ENTRY_LENGTH 0xC0
576 /* Values for device entry Type field above */
578 enum acpi_ivrs_device_entry_type
{
579 /* 4-byte device entries, all use struct acpi_ivrs_device4 */
581 ACPI_IVRS_TYPE_PAD4
= 0,
582 ACPI_IVRS_TYPE_ALL
= 1,
583 ACPI_IVRS_TYPE_SELECT
= 2,
584 ACPI_IVRS_TYPE_START
= 3,
585 ACPI_IVRS_TYPE_END
= 4,
587 /* 8-byte device entries */
589 ACPI_IVRS_TYPE_PAD8
= 64,
590 ACPI_IVRS_TYPE_NOT_USED
= 65,
591 ACPI_IVRS_TYPE_ALIAS_SELECT
= 66, /* Uses struct acpi_ivrs_device8a */
592 ACPI_IVRS_TYPE_ALIAS_START
= 67, /* Uses struct acpi_ivrs_device8a */
593 ACPI_IVRS_TYPE_EXT_SELECT
= 70, /* Uses struct acpi_ivrs_device8b */
594 ACPI_IVRS_TYPE_EXT_START
= 71, /* Uses struct acpi_ivrs_device8b */
595 ACPI_IVRS_TYPE_SPECIAL
= 72 /* Uses struct acpi_ivrs_device8c */
598 /* Values for Data field above */
600 #define ACPI_IVHD_INIT_PASS (1)
601 #define ACPI_IVHD_EINT_PASS (1<<1)
602 #define ACPI_IVHD_NMI_PASS (1<<2)
603 #define ACPI_IVHD_SYSTEM_MGMT (3<<4)
604 #define ACPI_IVHD_LINT0_PASS (1<<6)
605 #define ACPI_IVHD_LINT1_PASS (1<<7)
607 /* Types 0-4: 4-byte device entry */
609 struct acpi_ivrs_device4
{
610 struct acpi_ivrs_de_header header
;
613 /* Types 66-67: 8-byte device entry */
615 struct acpi_ivrs_device8a
{
616 struct acpi_ivrs_de_header header
;
622 /* Types 70-71: 8-byte device entry */
624 struct acpi_ivrs_device8b
{
625 struct acpi_ivrs_de_header header
;
629 /* Values for extended_data above */
631 #define ACPI_IVHD_ATS_DISABLED (1<<31)
633 /* Type 72: 8-byte device entry */
635 struct acpi_ivrs_device8c
{
636 struct acpi_ivrs_de_header header
;
642 /* Values for Variety field above */
644 #define ACPI_IVHD_IOAPIC 1
645 #define ACPI_IVHD_HPET 2
647 /* 0x20, 0x21, 0x22: I/O Virtualization Memory Definition Block (IVMD) */
649 struct acpi_ivrs_memory
{
650 struct acpi_ivrs_header header
;
657 /*******************************************************************************
659 * MCFG - PCI Memory Mapped Configuration table and sub-table
662 * Conforms to "PCI Firmware Specification", Revision 3.0, June 20, 2005
664 ******************************************************************************/
666 struct acpi_table_mcfg
{
667 struct acpi_table_header header
; /* Common ACPI table header */
673 struct acpi_mcfg_allocation
{
674 u64 address
; /* Base address, processor-relative */
675 u16 pci_segment
; /* PCI segment group number */
676 u8 start_bus_number
; /* Starting PCI Bus number */
677 u8 end_bus_number
; /* Final PCI Bus number */
681 /*******************************************************************************
683 * MCHI - Management Controller Host Interface Table
686 * Conforms to "Management Component Transport Protocol (MCTP) Host
687 * Interface Specification", Revision 1.0.0a, October 13, 2009
689 ******************************************************************************/
691 struct acpi_table_mchi
{
692 struct acpi_table_header header
; /* Common ACPI table header */
699 u32 global_interrupt
;
700 struct acpi_generic_address control_register
;
707 /*******************************************************************************
709 * SPCR - Serial Port Console Redirection table
712 * Conforms to "Serial Port Console Redirection Table",
713 * Version 1.00, January 11, 2002
715 ******************************************************************************/
717 struct acpi_table_spcr
{
718 struct acpi_table_header header
; /* Common ACPI table header */
719 u8 interface_type
; /* 0=full 16550, 1=subset of 16550 */
721 struct acpi_generic_address serial_port
;
741 /* Masks for pci_flags field above */
743 #define ACPI_SPCR_DO_NOT_DISABLE (1)
745 /*******************************************************************************
747 * SPMI - Server Platform Management Interface table
750 * Conforms to "Intelligent Platform Management Interface Specification
751 * Second Generation v2.0", Document Revision 1.0, February 12, 2004 with
752 * June 12, 2009 markup.
754 ******************************************************************************/
756 struct acpi_table_spmi
{
757 struct acpi_table_header header
; /* Common ACPI table header */
759 u8 reserved
; /* Must be 1 */
760 u16 spec_revision
; /* Version of IPMI */
762 u8 gpe_number
; /* GPE assigned */
766 struct acpi_generic_address ipmi_register
;
774 /* Values for interface_type above */
776 enum acpi_spmi_interface_types
{
777 ACPI_SPMI_NOT_USED
= 0,
778 ACPI_SPMI_KEYBOARD
= 1,
780 ACPI_SPMI_BLOCK_TRANSFER
= 3,
782 ACPI_SPMI_RESERVED
= 5 /* 5 and above are reserved */
785 /*******************************************************************************
787 * TCPA - Trusted Computing Platform Alliance table
790 * Conforms to "TCG PC Specific Implementation Specification",
791 * Version 1.1, August 18, 2003
793 ******************************************************************************/
795 struct acpi_table_tcpa
{
796 struct acpi_table_header header
; /* Common ACPI table header */
798 u32 max_log_length
; /* Maximum length for the event log area */
799 u64 log_address
; /* Address of the event log area */
802 /*******************************************************************************
804 * UEFI - UEFI Boot optimization Table
807 * Conforms to "Unified Extensible Firmware Interface Specification",
808 * Version 2.3, May 8, 2009
810 ******************************************************************************/
812 struct acpi_table_uefi
{
813 struct acpi_table_header header
; /* Common ACPI table header */
814 u8 identifier
[16]; /* UUID identifier */
815 u16 data_offset
; /* Offset of remaining data in table */
818 /*******************************************************************************
820 * WAET - Windows ACPI Emulated devices Table
823 * Conforms to "Windows ACPI Emulated Devices Table", version 1.0, April 6, 2009
825 ******************************************************************************/
827 struct acpi_table_waet
{
828 struct acpi_table_header header
; /* Common ACPI table header */
832 /* Masks for Flags field above */
834 #define ACPI_WAET_RTC_NO_ACK (1) /* RTC requires no int acknowledge */
835 #define ACPI_WAET_TIMER_ONE_READ (1<<1) /* PM timer requires only one read */
837 /*******************************************************************************
839 * WDAT - Watchdog Action Table
842 * Conforms to "Hardware Watchdog Timers Design Specification",
843 * Copyright 2006 Microsoft Corporation.
845 ******************************************************************************/
847 struct acpi_table_wdat
{
848 struct acpi_table_header header
; /* Common ACPI table header */
849 u32 header_length
; /* Watchdog Header Length */
850 u16 pci_segment
; /* PCI Segment number */
851 u8 pci_bus
; /* PCI Bus number */
852 u8 pci_device
; /* PCI Device number */
853 u8 pci_function
; /* PCI Function number */
855 u32 timer_period
; /* Period of one timer count (msec) */
856 u32 max_count
; /* Maximum counter value supported */
857 u32 min_count
; /* Minimum counter value */
860 u32 entries
; /* Number of watchdog entries that follow */
863 /* Masks for Flags field above */
865 #define ACPI_WDAT_ENABLED (1)
866 #define ACPI_WDAT_STOPPED 0x80
868 /* WDAT Instruction Entries (actions) */
870 struct acpi_wdat_entry
{
874 struct acpi_generic_address register_region
;
875 u32 value
; /* Value used with Read/Write register */
876 u32 mask
; /* Bitmask required for this register instruction */
879 /* Values for Action field above */
881 enum acpi_wdat_actions
{
883 ACPI_WDAT_GET_CURRENT_COUNTDOWN
= 4,
884 ACPI_WDAT_GET_COUNTDOWN
= 5,
885 ACPI_WDAT_SET_COUNTDOWN
= 6,
886 ACPI_WDAT_GET_RUNNING_STATE
= 8,
887 ACPI_WDAT_SET_RUNNING_STATE
= 9,
888 ACPI_WDAT_GET_STOPPED_STATE
= 10,
889 ACPI_WDAT_SET_STOPPED_STATE
= 11,
890 ACPI_WDAT_GET_REBOOT
= 16,
891 ACPI_WDAT_SET_REBOOT
= 17,
892 ACPI_WDAT_GET_SHUTDOWN
= 18,
893 ACPI_WDAT_SET_SHUTDOWN
= 19,
894 ACPI_WDAT_GET_STATUS
= 32,
895 ACPI_WDAT_SET_STATUS
= 33,
896 ACPI_WDAT_ACTION_RESERVED
= 34 /* 34 and greater are reserved */
899 /* Values for Instruction field above */
901 enum acpi_wdat_instructions
{
902 ACPI_WDAT_READ_VALUE
= 0,
903 ACPI_WDAT_READ_COUNTDOWN
= 1,
904 ACPI_WDAT_WRITE_VALUE
= 2,
905 ACPI_WDAT_WRITE_COUNTDOWN
= 3,
906 ACPI_WDAT_INSTRUCTION_RESERVED
= 4, /* 4 and greater are reserved */
907 ACPI_WDAT_PRESERVE_REGISTER
= 0x80 /* Except for this value */
910 /*******************************************************************************
912 * WDRT - Watchdog Resource Table
915 * Conforms to "Watchdog Timer Hardware Requirements for Windows Server 2003",
916 * Version 1.01, August 28, 2006
918 ******************************************************************************/
920 struct acpi_table_wdrt
{
921 struct acpi_table_header header
; /* Common ACPI table header */
922 struct acpi_generic_address control_register
;
923 struct acpi_generic_address count_register
;
926 u8 pci_bus
; /* PCI Bus number */
927 u8 pci_device
; /* PCI Device number */
928 u8 pci_function
; /* PCI Function number */
929 u8 pci_segment
; /* PCI Segment number */
930 u16 max_count
; /* Maximum counter value supported */
934 /* Reset to default packing */
938 #endif /* __ACTBL2_H__ */