diff options
Diffstat (limited to 'include/acpi/actbl2.h')
-rw-r--r-- | include/acpi/actbl2.h | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h index 5b02e307bff3..d4136b28011f 100644 --- a/include/acpi/actbl2.h +++ b/include/acpi/actbl2.h | |||
@@ -69,6 +69,7 @@ | |||
69 | #define ACPI_SIG_IBFT "IBFT" /* i_sCSI Boot Firmware Table */ | 69 | #define ACPI_SIG_IBFT "IBFT" /* i_sCSI Boot Firmware Table */ |
70 | #define ACPI_SIG_IVRS "IVRS" /* I/O Virtualization Reporting Structure */ | 70 | #define ACPI_SIG_IVRS "IVRS" /* I/O Virtualization Reporting Structure */ |
71 | #define ACPI_SIG_MCFG "MCFG" /* PCI Memory Mapped Configuration table */ | 71 | #define ACPI_SIG_MCFG "MCFG" /* PCI Memory Mapped Configuration table */ |
72 | #define ACPI_SIG_MCHI "MCHI" /* Management Controller Host Interface table */ | ||
72 | #define ACPI_SIG_SLIC "SLIC" /* Software Licensing Description Table */ | 73 | #define ACPI_SIG_SLIC "SLIC" /* Software Licensing Description Table */ |
73 | #define ACPI_SIG_SPCR "SPCR" /* Serial Port Console Redirection table */ | 74 | #define ACPI_SIG_SPCR "SPCR" /* Serial Port Console Redirection table */ |
74 | #define ACPI_SIG_SPMI "SPMI" /* Server Platform Management Interface table */ | 75 | #define ACPI_SIG_SPMI "SPMI" /* Server Platform Management Interface table */ |
@@ -76,8 +77,18 @@ | |||
76 | #define ACPI_SIG_UEFI "UEFI" /* Uefi Boot Optimization Table */ | 77 | #define ACPI_SIG_UEFI "UEFI" /* Uefi Boot Optimization Table */ |
77 | #define ACPI_SIG_WAET "WAET" /* Windows ACPI Emulated devices Table */ | 78 | #define ACPI_SIG_WAET "WAET" /* Windows ACPI Emulated devices Table */ |
78 | #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 */ | ||
79 | #define ACPI_SIG_WDRT "WDRT" /* Watchdog Resource Table */ | 81 | #define ACPI_SIG_WDRT "WDRT" /* Watchdog Resource Table */ |
80 | 82 | ||
83 | #ifdef ACPI_UNDEFINED_TABLES | ||
84 | /* | ||
85 | * These tables have been seen in the field, but no definition has been found | ||
86 | */ | ||
87 | #define ACPI_SIG_ATKG "ATKG" | ||
88 | #define ACPI_SIG_GSCI "GSCI" /* GMCH SCI table */ | ||
89 | #define ACPI_SIG_IEIT "IEIT" | ||
90 | #endif | ||
91 | |||
81 | /* | 92 | /* |
82 | * All tables must be byte-packed to match the ACPI specification, since | 93 | * All tables must be byte-packed to match the ACPI specification, since |
83 | * the tables are provided by the system BIOS. | 94 | * the tables are provided by the system BIOS. |
@@ -679,6 +690,32 @@ struct acpi_mcfg_allocation { | |||
679 | 690 | ||
680 | /******************************************************************************* | 691 | /******************************************************************************* |
681 | * | 692 | * |
693 | * MCHI - Management Controller Host Interface Table | ||
694 | * Version 1 | ||
695 | * | ||
696 | * Conforms to "Management Component Transport Protocol (MCTP) Host | ||
697 | * Interface Specification", Revision 1.0.0a, October 13, 2009 | ||
698 | * | ||
699 | ******************************************************************************/ | ||
700 | |||
701 | struct acpi_table_mchi { | ||
702 | struct acpi_table_header header; /* Common ACPI table header */ | ||
703 | u8 interface_type; | ||
704 | u8 protocol; | ||
705 | u64 protocol_data; | ||
706 | u8 interrupt_type; | ||
707 | u8 gpe; | ||
708 | u8 pci_device_flag; | ||
709 | u32 global_interrupt; | ||
710 | struct acpi_generic_address control_register; | ||
711 | u8 pci_segment; | ||
712 | u8 pci_bus; | ||
713 | u8 pci_device; | ||
714 | u8 pci_function; | ||
715 | }; | ||
716 | |||
717 | /******************************************************************************* | ||
718 | * | ||
682 | * SPCR - Serial Port Console Redirection table | 719 | * SPCR - Serial Port Console Redirection table |
683 | * Version 1 | 720 | * Version 1 |
684 | * | 721 | * |
@@ -882,6 +919,44 @@ enum acpi_wdat_instructions { | |||
882 | 919 | ||
883 | /******************************************************************************* | 920 | /******************************************************************************* |
884 | * | 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 | |||
930 | struct 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 | * | ||
885 | * WDRT - Watchdog Resource Table | 960 | * WDRT - Watchdog Resource Table |
886 | * Version 1 | 961 | * Version 1 |
887 | * | 962 | * |