1 /****************************************************************************** 2 * 3 * Module Name: ahtable - Table of known ACPI tables with descriptions 4 * 5 *****************************************************************************/ 6 7 /* 8 * Copyright (C) 2000 - 2015, Intel Corp. 9 * All rights reserved. 10 * 11 * Redistribution and use in source and binary forms, with or without 12 * modification, are permitted provided that the following conditions 13 * are met: 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. 25 * 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. 29 * 30 * NO WARRANTY 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. 42 */ 43 44 #include <contrib/dev/acpica/include/acpi.h> 45 #include <contrib/dev/acpica/include/accommon.h> 46 47 48 /* Local prototypes */ 49 50 const AH_TABLE * 51 AcpiAhGetTableInfo ( 52 char *Signature); 53 54 extern const AH_TABLE AcpiSupportedTables[]; 55 56 57 /******************************************************************************* 58 * 59 * FUNCTION: AcpiAhGetTableInfo 60 * 61 * PARAMETERS: Signature - ACPI signature (4 chars) to match 62 * 63 * RETURN: Pointer to a valid AH_TABLE. Null if no match found. 64 * 65 * DESCRIPTION: Find a match in the "help" table of supported ACPI tables 66 * 67 ******************************************************************************/ 68 69 const AH_TABLE * 70 AcpiAhGetTableInfo ( 71 char *Signature) 72 { 73 const AH_TABLE *Info; 74 75 76 for (Info = AcpiSupportedTables; Info->Signature; Info++) 77 { 78 if (ACPI_COMPARE_NAME (Signature, Info->Signature)) 79 { 80 return (Info); 81 } 82 } 83 84 return (NULL); 85 } 86 87 88 /* 89 * Note: Any tables added here should be duplicated within AcpiDmTableData 90 * in the file common/dmtable.c 91 */ 92 const AH_TABLE AcpiSupportedTables[] = 93 { 94 {ACPI_SIG_ASF, "Alert Standard Format table"}, 95 {ACPI_SIG_BERT, "Boot Error Record Table"}, 96 {ACPI_SIG_BGRT, "Boot Graphics Resource Table"}, 97 {ACPI_SIG_BOOT, "Simple Boot Flag Table"}, 98 {ACPI_SIG_CPEP, "Corrected Platform Error Polling table"}, 99 {ACPI_SIG_CSRT, "Core System Resource Table"}, 100 {ACPI_SIG_DBG2, "Debug Port table type 2"}, 101 {ACPI_SIG_DBGP, "Debug Port table"}, 102 {ACPI_SIG_DMAR, "DMA Remapping table"}, 103 {ACPI_SIG_DRTM, "Dynamic Root of Trust for Measurement table"}, 104 {ACPI_SIG_DSDT, "Differentiated System Description Table (AML table)"}, 105 {ACPI_SIG_ECDT, "Embedded Controller Boot Resources Table"}, 106 {ACPI_SIG_EINJ, "Error Injection table"}, 107 {ACPI_SIG_ERST, "Error Record Serialization Table"}, 108 {ACPI_SIG_FACS, "Firmware ACPI Control Structure"}, 109 {ACPI_SIG_FADT, "Fixed ACPI Description Table (FADT)"}, 110 {ACPI_SIG_FPDT, "Firmware Performance Data Table"}, 111 {ACPI_SIG_GTDT, "Generic Timer Description Table"}, 112 {ACPI_SIG_HEST, "Hardware Error Source Table"}, 113 {ACPI_SIG_HPET, "High Precision Event Timer table"}, 114 {ACPI_SIG_IORT, "IO Remapping Table"}, 115 {ACPI_SIG_IVRS, "I/O Virtualization Reporting Structure"}, 116 {ACPI_SIG_LPIT, "Low Power Idle Table"}, 117 {ACPI_SIG_MADT, "Multiple APIC Description Table (MADT)"}, 118 {ACPI_SIG_MCFG, "Memory Mapped Configuration table"}, 119 {ACPI_SIG_MCHI, "Management Controller Host Interface table"}, 120 {ACPI_SIG_MPST, "Memory Power State Table"}, 121 {ACPI_SIG_MSCT, "Maximum System Characteristics Table"}, 122 {ACPI_SIG_MSDM, "Microsoft Data Management table"}, 123 {ACPI_SIG_MTMR, "MID Timer Table"}, 124 {ACPI_SIG_NFIT, "NVDIMM Firmware Interface Table"}, 125 {ACPI_SIG_PCCT, "Platform Communications Channel Table"}, 126 {ACPI_SIG_PMTT, "Platform Memory Topology Table"}, 127 {ACPI_RSDP_NAME,"Root System Description Pointer"}, 128 {ACPI_SIG_RSDT, "Root System Description Table"}, 129 {ACPI_SIG_S3PT, "S3 Performance Table"}, 130 {ACPI_SIG_SBST, "Smart Battery Specification Table"}, 131 {ACPI_SIG_SLIC, "Software Licensing Description Table"}, 132 {ACPI_SIG_SLIT, "System Locality Information Table"}, 133 {ACPI_SIG_SPCR, "Serial Port Console Redirection table"}, 134 {ACPI_SIG_SPMI, "Server Platform Management Interface table"}, 135 {ACPI_SIG_SRAT, "System Resource Affinity Table"}, 136 {ACPI_SIG_SSDT, "Secondary System Description Table (AML table)"}, 137 {ACPI_SIG_STAO, "Status Override table"}, 138 {ACPI_SIG_TCPA, "Trusted Computing Platform Alliance table"}, 139 {ACPI_SIG_TPM2, "Trusted Platform Module hardware interface table"}, 140 {ACPI_SIG_UEFI, "UEFI Boot Optimization Table"}, 141 {ACPI_SIG_VRTC, "Virtual Real-Time Clock Table"}, 142 {ACPI_SIG_WAET, "Windows ACPI Emulated Devices Table"}, 143 {ACPI_SIG_WDAT, "Watchdog Action Table"}, 144 {ACPI_SIG_WDDT, "Watchdog Description Table"}, 145 {ACPI_SIG_WDRT, "Watchdog Resource Table"}, 146 {ACPI_SIG_WPBT, "Windows Platform Binary Table"}, 147 {ACPI_SIG_XENV, "Xen Environment table"}, 148 {ACPI_SIG_XSDT, "Extended System Description Table"}, 149 {NULL, NULL} 150 }; 151