1ff879b07SJung-uk Kim /****************************************************************************** 2ff879b07SJung-uk Kim * 3ff879b07SJung-uk Kim * Module Name: dmtbinfo2 - Table info for non-AML tables 4ff879b07SJung-uk Kim * 5ff879b07SJung-uk Kim *****************************************************************************/ 6ff879b07SJung-uk Kim 7ff879b07SJung-uk Kim /****************************************************************************** 8ff879b07SJung-uk Kim * 9ff879b07SJung-uk Kim * 1. Copyright Notice 10ff879b07SJung-uk Kim * 11e5e1f58aSJung-uk Kim * Some or all of this work - Copyright (c) 1999 - 2019, Intel Corp. 12ff879b07SJung-uk Kim * All rights reserved. 13ff879b07SJung-uk Kim * 14ff879b07SJung-uk Kim * 2. License 15ff879b07SJung-uk Kim * 16ff879b07SJung-uk Kim * 2.1. This is your license from Intel Corp. under its intellectual property 17ff879b07SJung-uk Kim * rights. You may have additional license terms from the party that provided 18ff879b07SJung-uk Kim * you this software, covering your right to use that party's intellectual 19ff879b07SJung-uk Kim * property rights. 20ff879b07SJung-uk Kim * 21ff879b07SJung-uk Kim * 2.2. Intel grants, free of charge, to any person ("Licensee") obtaining a 22ff879b07SJung-uk Kim * copy of the source code appearing in this file ("Covered Code") an 23ff879b07SJung-uk Kim * irrevocable, perpetual, worldwide license under Intel's copyrights in the 24ff879b07SJung-uk Kim * base code distributed originally by Intel ("Original Intel Code") to copy, 25ff879b07SJung-uk Kim * make derivatives, distribute, use and display any portion of the Covered 26ff879b07SJung-uk Kim * Code in any form, with the right to sublicense such rights; and 27ff879b07SJung-uk Kim * 28ff879b07SJung-uk Kim * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent 29ff879b07SJung-uk Kim * license (with the right to sublicense), under only those claims of Intel 30ff879b07SJung-uk Kim * patents that are infringed by the Original Intel Code, to make, use, sell, 31ff879b07SJung-uk Kim * offer to sell, and import the Covered Code and derivative works thereof 32ff879b07SJung-uk Kim * solely to the minimum extent necessary to exercise the above copyright 33ff879b07SJung-uk Kim * license, and in no event shall the patent license extend to any additions 34ff879b07SJung-uk Kim * to or modifications of the Original Intel Code. No other license or right 35ff879b07SJung-uk Kim * is granted directly or by implication, estoppel or otherwise; 36ff879b07SJung-uk Kim * 37ff879b07SJung-uk Kim * The above copyright and patent license is granted only if the following 38ff879b07SJung-uk Kim * conditions are met: 39ff879b07SJung-uk Kim * 40ff879b07SJung-uk Kim * 3. Conditions 41ff879b07SJung-uk Kim * 42ff879b07SJung-uk Kim * 3.1. Redistribution of Source with Rights to Further Distribute Source. 43ff879b07SJung-uk Kim * Redistribution of source code of any substantial portion of the Covered 44ff879b07SJung-uk Kim * Code or modification with rights to further distribute source must include 45ff879b07SJung-uk Kim * the above Copyright Notice, the above License, this list of Conditions, 46ff879b07SJung-uk Kim * and the following Disclaimer and Export Compliance provision. In addition, 47ff879b07SJung-uk Kim * Licensee must cause all Covered Code to which Licensee contributes to 48ff879b07SJung-uk Kim * contain a file documenting the changes Licensee made to create that Covered 49ff879b07SJung-uk Kim * Code and the date of any change. Licensee must include in that file the 50ff879b07SJung-uk Kim * documentation of any changes made by any predecessor Licensee. Licensee 51ff879b07SJung-uk Kim * must include a prominent statement that the modification is derived, 52ff879b07SJung-uk Kim * directly or indirectly, from Original Intel Code. 53ff879b07SJung-uk Kim * 54ff879b07SJung-uk Kim * 3.2. Redistribution of Source with no Rights to Further Distribute Source. 55ff879b07SJung-uk Kim * Redistribution of source code of any substantial portion of the Covered 56ff879b07SJung-uk Kim * Code or modification without rights to further distribute source must 57ff879b07SJung-uk Kim * include the following Disclaimer and Export Compliance provision in the 58ff879b07SJung-uk Kim * documentation and/or other materials provided with distribution. In 59ff879b07SJung-uk Kim * addition, Licensee may not authorize further sublicense of source of any 60ff879b07SJung-uk Kim * portion of the Covered Code, and must include terms to the effect that the 61ff879b07SJung-uk Kim * license from Licensee to its licensee is limited to the intellectual 62ff879b07SJung-uk Kim * property embodied in the software Licensee provides to its licensee, and 63ff879b07SJung-uk Kim * not to intellectual property embodied in modifications its licensee may 64ff879b07SJung-uk Kim * make. 65ff879b07SJung-uk Kim * 66ff879b07SJung-uk Kim * 3.3. Redistribution of Executable. Redistribution in executable form of any 67ff879b07SJung-uk Kim * substantial portion of the Covered Code or modification must reproduce the 68ff879b07SJung-uk Kim * above Copyright Notice, and the following Disclaimer and Export Compliance 69ff879b07SJung-uk Kim * provision in the documentation and/or other materials provided with the 70ff879b07SJung-uk Kim * distribution. 71ff879b07SJung-uk Kim * 72ff879b07SJung-uk Kim * 3.4. Intel retains all right, title, and interest in and to the Original 73ff879b07SJung-uk Kim * Intel Code. 74ff879b07SJung-uk Kim * 75ff879b07SJung-uk Kim * 3.5. Neither the name Intel nor any other trademark owned or controlled by 76ff879b07SJung-uk Kim * Intel shall be used in advertising or otherwise to promote the sale, use or 77ff879b07SJung-uk Kim * other dealings in products derived from or relating to the Covered Code 78ff879b07SJung-uk Kim * without prior written authorization from Intel. 79ff879b07SJung-uk Kim * 80ff879b07SJung-uk Kim * 4. Disclaimer and Export Compliance 81ff879b07SJung-uk Kim * 82ff879b07SJung-uk Kim * 4.1. INTEL MAKES NO WARRANTY OF ANY KIND REGARDING ANY SOFTWARE PROVIDED 83ff879b07SJung-uk Kim * HERE. ANY SOFTWARE ORIGINATING FROM INTEL OR DERIVED FROM INTEL SOFTWARE 84ff879b07SJung-uk Kim * IS PROVIDED "AS IS," AND INTEL WILL NOT PROVIDE ANY SUPPORT, ASSISTANCE, 85ff879b07SJung-uk Kim * INSTALLATION, TRAINING OR OTHER SERVICES. INTEL WILL NOT PROVIDE ANY 86ff879b07SJung-uk Kim * UPDATES, ENHANCEMENTS OR EXTENSIONS. INTEL SPECIFICALLY DISCLAIMS ANY 87ff879b07SJung-uk Kim * IMPLIED WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT AND FITNESS FOR A 88ff879b07SJung-uk Kim * PARTICULAR PURPOSE. 89ff879b07SJung-uk Kim * 90ff879b07SJung-uk Kim * 4.2. IN NO EVENT SHALL INTEL HAVE ANY LIABILITY TO LICENSEE, ITS LICENSEES 91ff879b07SJung-uk Kim * OR ANY OTHER THIRD PARTY, FOR ANY LOST PROFITS, LOST DATA, LOSS OF USE OR 92ff879b07SJung-uk Kim * COSTS OF PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY INDIRECT, 93ff879b07SJung-uk Kim * SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THIS AGREEMENT, UNDER ANY 94ff879b07SJung-uk Kim * CAUSE OF ACTION OR THEORY OF LIABILITY, AND IRRESPECTIVE OF WHETHER INTEL 95ff879b07SJung-uk Kim * HAS ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES. THESE LIMITATIONS 96ff879b07SJung-uk Kim * SHALL APPLY NOTWITHSTANDING THE FAILURE OF THE ESSENTIAL PURPOSE OF ANY 97ff879b07SJung-uk Kim * LIMITED REMEDY. 98ff879b07SJung-uk Kim * 99ff879b07SJung-uk Kim * 4.3. Licensee shall not export, either directly or indirectly, any of this 100ff879b07SJung-uk Kim * software or system incorporating such software without first obtaining any 101ff879b07SJung-uk Kim * required license or other approval from the U. S. Department of Commerce or 102ff879b07SJung-uk Kim * any other agency or department of the United States Government. In the 103ff879b07SJung-uk Kim * event Licensee exports any such software from the United States or 104ff879b07SJung-uk Kim * re-exports any such software from a foreign destination, Licensee shall 105ff879b07SJung-uk Kim * ensure that the distribution and export/re-export of the software is in 106ff879b07SJung-uk Kim * compliance with all laws, regulations, orders, or other restrictions of the 107ff879b07SJung-uk Kim * U.S. Export Administration Regulations. Licensee agrees that neither it nor 108ff879b07SJung-uk Kim * any of its subsidiaries will export/re-export any technical data, process, 109ff879b07SJung-uk Kim * software, or service, directly or indirectly, to any country for which the 110ff879b07SJung-uk Kim * United States government or any agency thereof requires an export license, 111ff879b07SJung-uk Kim * other governmental approval, or letter of assurance, without first obtaining 112ff879b07SJung-uk Kim * such license, approval or letter. 113ff879b07SJung-uk Kim * 114ff879b07SJung-uk Kim ***************************************************************************** 115ff879b07SJung-uk Kim * 116ff879b07SJung-uk Kim * Alternatively, you may choose to be licensed under the terms of the 117ff879b07SJung-uk Kim * following license: 118ff879b07SJung-uk Kim * 119ff879b07SJung-uk Kim * Redistribution and use in source and binary forms, with or without 120ff879b07SJung-uk Kim * modification, are permitted provided that the following conditions 121ff879b07SJung-uk Kim * are met: 122ff879b07SJung-uk Kim * 1. Redistributions of source code must retain the above copyright 123ff879b07SJung-uk Kim * notice, this list of conditions, and the following disclaimer, 124ff879b07SJung-uk Kim * without modification. 125ff879b07SJung-uk Kim * 2. Redistributions in binary form must reproduce at minimum a disclaimer 126ff879b07SJung-uk Kim * substantially similar to the "NO WARRANTY" disclaimer below 127ff879b07SJung-uk Kim * ("Disclaimer") and any redistribution must be conditioned upon 128ff879b07SJung-uk Kim * including a substantially similar Disclaimer requirement for further 129ff879b07SJung-uk Kim * binary redistribution. 130ff879b07SJung-uk Kim * 3. Neither the names of the above-listed copyright holders nor the names 131ff879b07SJung-uk Kim * of any contributors may be used to endorse or promote products derived 132ff879b07SJung-uk Kim * from this software without specific prior written permission. 133ff879b07SJung-uk Kim * 134ff879b07SJung-uk Kim * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 135ff879b07SJung-uk Kim * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 136ff879b07SJung-uk Kim * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 137ff879b07SJung-uk Kim * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 138ff879b07SJung-uk Kim * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 139ff879b07SJung-uk Kim * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 140ff879b07SJung-uk Kim * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 141ff879b07SJung-uk Kim * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 142ff879b07SJung-uk Kim * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 143ff879b07SJung-uk Kim * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 144ff879b07SJung-uk Kim * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 145ff879b07SJung-uk Kim * 146ff879b07SJung-uk Kim * Alternatively, you may choose to be licensed under the terms of the 147ff879b07SJung-uk Kim * GNU General Public License ("GPL") version 2 as published by the Free 148ff879b07SJung-uk Kim * Software Foundation. 149ff879b07SJung-uk Kim * 150ff879b07SJung-uk Kim *****************************************************************************/ 151ff879b07SJung-uk Kim 152ff879b07SJung-uk Kim #include <contrib/dev/acpica/include/acpi.h> 153ff879b07SJung-uk Kim #include <contrib/dev/acpica/include/accommon.h> 154ff879b07SJung-uk Kim #include <contrib/dev/acpica/include/acdisasm.h> 155ff879b07SJung-uk Kim #include <contrib/dev/acpica/include/actbinfo.h> 156ff879b07SJung-uk Kim 157ff879b07SJung-uk Kim /* This module used for application-level code only */ 158ff879b07SJung-uk Kim 159ff879b07SJung-uk Kim #define _COMPONENT ACPI_CA_DISASSEMBLER 160ff879b07SJung-uk Kim ACPI_MODULE_NAME ("dmtbinfo2") 161ff879b07SJung-uk Kim 162ff879b07SJung-uk Kim /* 163ff879b07SJung-uk Kim * How to add a new table: 164ff879b07SJung-uk Kim * 165ff879b07SJung-uk Kim * - Add the C table definition to the actbl1.h or actbl2.h header. 166ff879b07SJung-uk Kim * - Add ACPI_xxxx_OFFSET macro(s) for the table (and subtables) to list below. 167ff879b07SJung-uk Kim * - Define the table in this file (for the disassembler). If any 168ff879b07SJung-uk Kim * new data types are required (ACPI_DMT_*), see below. 169ff879b07SJung-uk Kim * - Add an external declaration for the new table definition (AcpiDmTableInfo*) 170ff879b07SJung-uk Kim * in acdisam.h 171ff879b07SJung-uk Kim * - Add new table definition to the dispatch table in dmtable.c (AcpiDmTableData) 172ff879b07SJung-uk Kim * If a simple table (with no subtables), no disassembly code is needed. 173ff879b07SJung-uk Kim * Otherwise, create the AcpiDmDump* function for to disassemble the table 174ff879b07SJung-uk Kim * and add it to the dmtbdump.c file. 175ff879b07SJung-uk Kim * - Add an external declaration for the new AcpiDmDump* function in acdisasm.h 176ff879b07SJung-uk Kim * - Add the new AcpiDmDump* function to the dispatch table in dmtable.c 177ff879b07SJung-uk Kim * - Create a template for the new table 178ff879b07SJung-uk Kim * - Add data table compiler support 179ff879b07SJung-uk Kim * 180ff879b07SJung-uk Kim * How to add a new data type (ACPI_DMT_*): 181ff879b07SJung-uk Kim * 182ff879b07SJung-uk Kim * - Add new type at the end of the ACPI_DMT list in acdisasm.h 183ff879b07SJung-uk Kim * - Add length and implementation cases in dmtable.c (disassembler) 184ff879b07SJung-uk Kim * - Add type and length cases in dtutils.c (DT compiler) 185ff879b07SJung-uk Kim */ 186ff879b07SJung-uk Kim 187ff879b07SJung-uk Kim /* 188ff879b07SJung-uk Kim * Remaining tables are not consumed directly by the ACPICA subsystem 189ff879b07SJung-uk Kim */ 190ff879b07SJung-uk Kim 191ff879b07SJung-uk Kim 192ff879b07SJung-uk Kim /******************************************************************************* 193ff879b07SJung-uk Kim * 194ff879b07SJung-uk Kim * IORT - IO Remapping Table 195ff879b07SJung-uk Kim * 196ff879b07SJung-uk Kim ******************************************************************************/ 197ff879b07SJung-uk Kim 198ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoIort[] = 199ff879b07SJung-uk Kim { 200ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_IORT_OFFSET (NodeCount), "Node Count", 0}, 201ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_IORT_OFFSET (NodeOffset), "Node Offset", 0}, 202ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_IORT_OFFSET (Reserved), "Reserved", 0}, 203ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 204ff879b07SJung-uk Kim }; 205ff879b07SJung-uk Kim 206ff879b07SJung-uk Kim /* Optional padding field */ 207ff879b07SJung-uk Kim 208ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoIortPad[] = 209ff879b07SJung-uk Kim { 210ff879b07SJung-uk Kim {ACPI_DMT_RAW_BUFFER, 0, "Optional Padding", DT_OPTIONAL}, 211ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 212ff879b07SJung-uk Kim }; 213ff879b07SJung-uk Kim 214ff879b07SJung-uk Kim /* Common Subtable header (one per Subtable) */ 215ff879b07SJung-uk Kim 216ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoIortHdr[] = 217ff879b07SJung-uk Kim { 218ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_IORTH_OFFSET (Type), "Type", 0}, 219ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_IORTH_OFFSET (Length), "Length", DT_LENGTH}, 220ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_IORTH_OFFSET (Revision), "Revision", 0}, 221ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_IORTH_OFFSET (Reserved), "Reserved", 0}, 222ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_IORTH_OFFSET (MappingCount), "Mapping Count", 0}, 223ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_IORTH_OFFSET (MappingOffset), "Mapping Offset", 0}, 224ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 225ff879b07SJung-uk Kim }; 226ff879b07SJung-uk Kim 227ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoIortMap[] = 228ff879b07SJung-uk Kim { 229ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_IORTM_OFFSET (InputBase), "Input base", DT_OPTIONAL}, 230ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_IORTM_OFFSET (IdCount), "ID Count", 0}, 231ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_IORTM_OFFSET (OutputBase), "Output Base", 0}, 232ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_IORTM_OFFSET (OutputReference), "Output Reference", 0}, 233ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_IORTM_OFFSET (Flags), "Flags (decoded below)", 0}, 234ff879b07SJung-uk Kim {ACPI_DMT_FLAG0, ACPI_IORTM_FLAG_OFFSET (Flags, 0), "Single Mapping", 0}, 235ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 236ff879b07SJung-uk Kim }; 237ff879b07SJung-uk Kim 238ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoIortAcc[] = 239ff879b07SJung-uk Kim { 240ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_IORTA_OFFSET (CacheCoherency), "Cache Coherency", 0}, 241ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_IORTA_OFFSET (Hints), "Hints (decoded below)", 0}, 242ff879b07SJung-uk Kim {ACPI_DMT_FLAG0, ACPI_IORTA_FLAG_OFFSET (Hints, 0), "Transient", 0}, 243ff879b07SJung-uk Kim {ACPI_DMT_FLAG1, ACPI_IORTA_FLAG_OFFSET (Hints, 0), "Write Allocate", 0}, 244ff879b07SJung-uk Kim {ACPI_DMT_FLAG2, ACPI_IORTA_FLAG_OFFSET (Hints, 0), "Read Allocate", 0}, 245ff879b07SJung-uk Kim {ACPI_DMT_FLAG3, ACPI_IORTA_FLAG_OFFSET (Hints, 0), "Override", 0}, 246ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_IORTA_OFFSET (Reserved), "Reserved", 0}, 247ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_IORTA_OFFSET (MemoryFlags), "Memory Flags (decoded below)", 0}, 248ff879b07SJung-uk Kim {ACPI_DMT_FLAG0, ACPI_IORTA_FLAG_OFFSET (MemoryFlags, 0), "Coherency", 0}, 249ff879b07SJung-uk Kim {ACPI_DMT_FLAG1, ACPI_IORTA_FLAG_OFFSET (MemoryFlags, 0), "Device Attribute", 0}, 250ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 251ff879b07SJung-uk Kim }; 252ff879b07SJung-uk Kim 253ff879b07SJung-uk Kim /* IORT subtables */ 254ff879b07SJung-uk Kim 255ff879b07SJung-uk Kim /* 0x00: ITS Group */ 256ff879b07SJung-uk Kim 257ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoIort0[] = 258ff879b07SJung-uk Kim { 259ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_IORT0_OFFSET (ItsCount), "ItsCount", 0}, 260ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 261ff879b07SJung-uk Kim }; 262ff879b07SJung-uk Kim 263ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoIort0a[] = 264ff879b07SJung-uk Kim { 265ff879b07SJung-uk Kim {ACPI_DMT_UINT32, 0, "Identifiers", DT_OPTIONAL}, 266ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 267ff879b07SJung-uk Kim }; 268ff879b07SJung-uk Kim 269ff879b07SJung-uk Kim /* 0x01: Named Component */ 270ff879b07SJung-uk Kim 271ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoIort1[] = 272ff879b07SJung-uk Kim { 273ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_IORT1_OFFSET (NodeFlags), "Node Flags", 0}, 274ff879b07SJung-uk Kim {ACPI_DMT_IORTMEM, ACPI_IORT1_OFFSET (MemoryProperties), "Memory Properties", 0}, 275ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_IORT1_OFFSET (MemoryAddressLimit), "Memory Size Limit", 0}, 276ff879b07SJung-uk Kim {ACPI_DMT_STRING, ACPI_IORT1_OFFSET (DeviceName[0]), "Device Name", 0}, 277ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 278ff879b07SJung-uk Kim }; 279ff879b07SJung-uk Kim 280ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoIort1a[] = 281ff879b07SJung-uk Kim { 282ff879b07SJung-uk Kim {ACPI_DMT_RAW_BUFFER, 0, "Padding", DT_OPTIONAL}, 283ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 284ff879b07SJung-uk Kim }; 285ff879b07SJung-uk Kim 286ff879b07SJung-uk Kim /* 0x02: PCI Root Complex */ 287ff879b07SJung-uk Kim 288ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoIort2[] = 289ff879b07SJung-uk Kim { 290ff879b07SJung-uk Kim {ACPI_DMT_IORTMEM, ACPI_IORT2_OFFSET (MemoryProperties), "Memory Properties", 0}, 291ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_IORT2_OFFSET (AtsAttribute), "ATS Attribute", 0}, 292ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_IORT2_OFFSET (PciSegmentNumber), "PCI Segment Number", 0}, 2933d90091dSJung-uk Kim {ACPI_DMT_UINT8, ACPI_IORT2_OFFSET (MemoryAddressLimit), "Memory Size Limit", 0}, 2943d90091dSJung-uk Kim {ACPI_DMT_UINT24, ACPI_IORT2_OFFSET (Reserved[0]), "Reserved", 0}, 295ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 296ff879b07SJung-uk Kim }; 297ff879b07SJung-uk Kim 298ff879b07SJung-uk Kim /* 0x03: SMMUv1/2 */ 299ff879b07SJung-uk Kim 300ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoIort3[] = 301ff879b07SJung-uk Kim { 302ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_IORT3_OFFSET (BaseAddress), "Base Address", 0}, 303ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_IORT3_OFFSET (Span), "Span", 0}, 304ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_IORT3_OFFSET (Model), "Model", 0}, 305ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_IORT3_OFFSET (Flags), "Flags (decoded below)", 0}, 306ff879b07SJung-uk Kim {ACPI_DMT_FLAG0, ACPI_IORT3_FLAG_OFFSET (Flags, 0), "DVM Supported", 0}, 307ff879b07SJung-uk Kim {ACPI_DMT_FLAG1, ACPI_IORT3_FLAG_OFFSET (Flags, 0), "Coherent Walk", 0}, 308ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_IORT3_OFFSET (GlobalInterruptOffset), "Global Interrupt Offset", 0}, 309ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_IORT3_OFFSET (ContextInterruptCount), "Context Interrupt Count", 0}, 310ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_IORT3_OFFSET (ContextInterruptOffset), "Context Interrupt Offset", 0}, 311ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_IORT3_OFFSET (PmuInterruptCount), "PMU Interrupt Count", 0}, 312ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_IORT3_OFFSET (PmuInterruptOffset), "PMU Interrupt Offset", 0}, 313ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 314ff879b07SJung-uk Kim }; 315ff879b07SJung-uk Kim 316ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoIort3a[] = 317ff879b07SJung-uk Kim { 318ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_IORT3A_OFFSET (NSgIrpt), "NSgIrpt", 0}, 319ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_IORT3A_OFFSET (NSgIrptFlags), "NSgIrpt Flags (decoded below)", 0}, 320ff879b07SJung-uk Kim {ACPI_DMT_FLAG0, ACPI_IORT3a_FLAG_OFFSET (NSgIrptFlags, 0), "Edge Triggered", 0}, 321ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_IORT3A_OFFSET (NSgCfgIrpt), "NSgCfgIrpt", 0}, 322ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_IORT3A_OFFSET (NSgCfgIrptFlags), "NSgCfgIrpt Flags (decoded below)", 0}, 323ff879b07SJung-uk Kim {ACPI_DMT_FLAG0, ACPI_IORT3a_FLAG_OFFSET (NSgCfgIrptFlags, 0), "Edge Triggered", 0}, 324ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 325ff879b07SJung-uk Kim }; 326ff879b07SJung-uk Kim 327ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoIort3b[] = 328ff879b07SJung-uk Kim { 329ff879b07SJung-uk Kim {ACPI_DMT_UINT64, 0, "Context Interrupt", DT_OPTIONAL}, 330ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 331ff879b07SJung-uk Kim }; 332ff879b07SJung-uk Kim 333ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoIort3c[] = 334ff879b07SJung-uk Kim { 335ff879b07SJung-uk Kim {ACPI_DMT_UINT64, 0, "PMU Interrupt", DT_OPTIONAL}, 336ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 337ff879b07SJung-uk Kim }; 338ff879b07SJung-uk Kim 339ff879b07SJung-uk Kim /* 0x04: SMMUv3 */ 340ff879b07SJung-uk Kim 341ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoIort4[] = 342ff879b07SJung-uk Kim { 343ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_IORT4_OFFSET (BaseAddress), "Base Address", 0}, 344ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_IORT4_OFFSET (Flags), "Flags (decoded below)", 0}, 345ff879b07SJung-uk Kim {ACPI_DMT_FLAG0, ACPI_IORT4_FLAG_OFFSET (Flags, 0), "COHACC Override", 0}, 346ff879b07SJung-uk Kim {ACPI_DMT_FLAG1, ACPI_IORT4_FLAG_OFFSET (Flags, 0), "HTTU Override", 0}, 347ff879b07SJung-uk Kim {ACPI_DMT_FLAG3, ACPI_IORT4_FLAG_OFFSET (Flags, 0), "Proximity Domain Valid", 0}, 348ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_IORT4_OFFSET (Reserved), "Reserved", 0}, 349ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_IORT4_OFFSET (VatosAddress), "VATOS Address", 0}, 350ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_IORT4_OFFSET (Model), "Model", 0}, 351ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_IORT4_OFFSET (EventGsiv), "Event GSIV", 0}, 352ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_IORT4_OFFSET (PriGsiv), "PRI GSIV", 0}, 353ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_IORT4_OFFSET (GerrGsiv), "GERR GSIV", 0}, 354ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_IORT4_OFFSET (SyncGsiv), "Sync GSIV", 0}, 3553d90091dSJung-uk Kim {ACPI_DMT_UINT32, ACPI_IORT4_OFFSET (Pxm), "Proximity Domain", 0}, 356ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_IORT4_OFFSET (IdMappingIndex), "Device ID Mapping Index", 0}, 357ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 358ff879b07SJung-uk Kim }; 359ff879b07SJung-uk Kim 3603d90091dSJung-uk Kim /* 0x05: PMCG */ 3613d90091dSJung-uk Kim 3623d90091dSJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoIort5[] = 3633d90091dSJung-uk Kim { 3643d90091dSJung-uk Kim {ACPI_DMT_UINT64, ACPI_IORT5_OFFSET (Page0BaseAddress), "Page 0 Base Address", 0}, 3653d90091dSJung-uk Kim {ACPI_DMT_UINT32, ACPI_IORT5_OFFSET (OverflowGsiv), "Overflow Interrupt GSIV", 0}, 3663d90091dSJung-uk Kim {ACPI_DMT_UINT32, ACPI_IORT5_OFFSET (NodeReference), "Node Reference", 0}, 3673d90091dSJung-uk Kim {ACPI_DMT_UINT64, ACPI_IORT5_OFFSET (Page1BaseAddress), "Page 1 Base Address", 0}, 3683d90091dSJung-uk Kim ACPI_DMT_TERMINATOR 3693d90091dSJung-uk Kim }; 3703d90091dSJung-uk Kim 371ff879b07SJung-uk Kim 372ff879b07SJung-uk Kim /******************************************************************************* 373ff879b07SJung-uk Kim * 374ff879b07SJung-uk Kim * IVRS - I/O Virtualization Reporting Structure 375ff879b07SJung-uk Kim * 376ff879b07SJung-uk Kim ******************************************************************************/ 377ff879b07SJung-uk Kim 378ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoIvrs[] = 379ff879b07SJung-uk Kim { 380ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_IVRS_OFFSET (Info), "Virtualization Info", 0}, 381ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_IVRS_OFFSET (Reserved), "Reserved", 0}, 382ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 383ff879b07SJung-uk Kim }; 384ff879b07SJung-uk Kim 385ff879b07SJung-uk Kim /* Common Subtable header (one per Subtable) */ 386ff879b07SJung-uk Kim 387ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoIvrsHdr[] = 388ff879b07SJung-uk Kim { 389ff879b07SJung-uk Kim {ACPI_DMT_IVRS, ACPI_IVRSH_OFFSET (Type), "Subtable Type", 0}, 390ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_IVRSH_OFFSET (Flags), "Flags", 0}, 391ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_IVRSH_OFFSET (Length), "Length", DT_LENGTH}, 392ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_IVRSH_OFFSET (DeviceId), "DeviceId", 0}, 393ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 394ff879b07SJung-uk Kim }; 395ff879b07SJung-uk Kim 396ff879b07SJung-uk Kim /* IVRS subtables */ 397ff879b07SJung-uk Kim 398ff879b07SJung-uk Kim /* 0x10: I/O Virtualization Hardware Definition (IVHD) Block */ 399ff879b07SJung-uk Kim 400ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoIvrs0[] = 401ff879b07SJung-uk Kim { 402ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_IVRS0_OFFSET (CapabilityOffset), "Capability Offset", 0}, 403ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_IVRS0_OFFSET (BaseAddress), "Base Address", 0}, 404ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_IVRS0_OFFSET (PciSegmentGroup), "PCI Segment Group", 0}, 405ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_IVRS0_OFFSET (Info), "Virtualization Info", 0}, 406ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_IVRS0_OFFSET (Reserved), "Reserved", 0}, 407ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 408ff879b07SJung-uk Kim }; 409ff879b07SJung-uk Kim 410ff879b07SJung-uk Kim /* 0x20, 0x21, 0x22: I/O Virtualization Memory Definition (IVMD) Block */ 411ff879b07SJung-uk Kim 412ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoIvrs1[] = 413ff879b07SJung-uk Kim { 414ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_IVRS1_OFFSET (AuxData), "Auxiliary Data", 0}, 415ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_IVRS1_OFFSET (Reserved), "Reserved", 0}, 416ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_IVRS1_OFFSET (StartAddress), "Start Address", 0}, 417ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_IVRS1_OFFSET (MemoryLength), "Memory Length", 0}, 418ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 419ff879b07SJung-uk Kim }; 420ff879b07SJung-uk Kim 421ff879b07SJung-uk Kim /* Device entry header for IVHD block */ 422ff879b07SJung-uk Kim 423ff879b07SJung-uk Kim #define ACPI_DMT_IVRS_DE_HEADER \ 424ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_IVRSD_OFFSET (Type), "Entry Type", 0}, \ 425ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_IVRSD_OFFSET (Id), "Device ID", 0}, \ 426ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_IVRSD_OFFSET (DataSetting), "Data Setting", 0} 427ff879b07SJung-uk Kim 428ff879b07SJung-uk Kim /* 4-byte device entry */ 429ff879b07SJung-uk Kim 430ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoIvrs4[] = 431ff879b07SJung-uk Kim { 432ff879b07SJung-uk Kim ACPI_DMT_IVRS_DE_HEADER, 433ff879b07SJung-uk Kim {ACPI_DMT_EXIT, 0, NULL, 0}, 434ff879b07SJung-uk Kim }; 435ff879b07SJung-uk Kim 436ff879b07SJung-uk Kim /* 8-byte device entry */ 437ff879b07SJung-uk Kim 438ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoIvrs8a[] = 439ff879b07SJung-uk Kim { 440ff879b07SJung-uk Kim ACPI_DMT_IVRS_DE_HEADER, 441ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_IVRS8A_OFFSET (Reserved1), "Reserved", 0}, 442ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_IVRS8A_OFFSET (UsedId), "Source Used Device ID", 0}, 443ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_IVRS8A_OFFSET (Reserved2), "Reserved", 0}, 444ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 445ff879b07SJung-uk Kim }; 446ff879b07SJung-uk Kim 447ff879b07SJung-uk Kim /* 8-byte device entry */ 448ff879b07SJung-uk Kim 449ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoIvrs8b[] = 450ff879b07SJung-uk Kim { 451ff879b07SJung-uk Kim ACPI_DMT_IVRS_DE_HEADER, 452ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_IVRS8B_OFFSET (ExtendedData), "Extended Data", 0}, 453ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 454ff879b07SJung-uk Kim }; 455ff879b07SJung-uk Kim 456ff879b07SJung-uk Kim /* 8-byte device entry */ 457ff879b07SJung-uk Kim 458ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoIvrs8c[] = 459ff879b07SJung-uk Kim { 460ff879b07SJung-uk Kim ACPI_DMT_IVRS_DE_HEADER, 461ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_IVRS8C_OFFSET (Handle), "Handle", 0}, 462ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_IVRS8C_OFFSET (UsedId), "Source Used Device ID", 0}, 463ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_IVRS8C_OFFSET (Variety), "Variety", 0}, 464ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 465ff879b07SJung-uk Kim }; 466ff879b07SJung-uk Kim 467ff879b07SJung-uk Kim 468ff879b07SJung-uk Kim /******************************************************************************* 469ff879b07SJung-uk Kim * 470ff879b07SJung-uk Kim * LPIT - Low Power Idle Table 471ff879b07SJung-uk Kim * 472ff879b07SJung-uk Kim ******************************************************************************/ 473ff879b07SJung-uk Kim 474ff879b07SJung-uk Kim /* Main table consists only of the standard ACPI table header */ 475ff879b07SJung-uk Kim 476ff879b07SJung-uk Kim /* Common Subtable header (one per Subtable) */ 477ff879b07SJung-uk Kim 478ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoLpitHdr[] = 479ff879b07SJung-uk Kim { 480ff879b07SJung-uk Kim {ACPI_DMT_LPIT, ACPI_LPITH_OFFSET (Type), "Subtable Type", 0}, 481ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_LPITH_OFFSET (Length), "Length", DT_LENGTH}, 482ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_LPITH_OFFSET (UniqueId), "Unique ID", 0}, 483ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_LPITH_OFFSET (Reserved), "Reserved", 0}, 484ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_LPITH_OFFSET (Flags), "Flags (decoded below)", DT_FLAG}, 485ff879b07SJung-uk Kim {ACPI_DMT_FLAG0, ACPI_LPITH_FLAG_OFFSET (Flags, 0), "State Disabled", 0}, 486ff879b07SJung-uk Kim {ACPI_DMT_FLAG1, ACPI_LPITH_FLAG_OFFSET (Flags, 0), "No Counter", 0}, 487ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 488ff879b07SJung-uk Kim }; 489ff879b07SJung-uk Kim 490ff879b07SJung-uk Kim /* LPIT Subtables */ 491ff879b07SJung-uk Kim 492ff879b07SJung-uk Kim /* 0: Native C-state */ 493ff879b07SJung-uk Kim 494ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoLpit0[] = 495ff879b07SJung-uk Kim { 496ff879b07SJung-uk Kim {ACPI_DMT_GAS, ACPI_LPIT0_OFFSET (EntryTrigger), "Entry Trigger", 0}, 497ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_LPIT0_OFFSET (Residency), "Residency", 0}, 498ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_LPIT0_OFFSET (Latency), "Latency", 0}, 499ff879b07SJung-uk Kim {ACPI_DMT_GAS, ACPI_LPIT0_OFFSET (ResidencyCounter), "Residency Counter", 0}, 500ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_LPIT0_OFFSET (CounterFrequency), "Counter Frequency", 0}, 501ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 502ff879b07SJung-uk Kim }; 503ff879b07SJung-uk Kim 504ff879b07SJung-uk Kim 505ff879b07SJung-uk Kim /******************************************************************************* 506ff879b07SJung-uk Kim * 507ff879b07SJung-uk Kim * MADT - Multiple APIC Description Table and subtables 508ff879b07SJung-uk Kim * 509ff879b07SJung-uk Kim ******************************************************************************/ 510ff879b07SJung-uk Kim 511ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoMadt[] = 512ff879b07SJung-uk Kim { 513ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_MADT_OFFSET (Address), "Local Apic Address", 0}, 514ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_MADT_OFFSET (Flags), "Flags (decoded below)", DT_FLAG}, 515ff879b07SJung-uk Kim {ACPI_DMT_FLAG0, ACPI_MADT_FLAG_OFFSET (Flags,0), "PC-AT Compatibility", 0}, 516ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 517ff879b07SJung-uk Kim }; 518ff879b07SJung-uk Kim 519ff879b07SJung-uk Kim /* Common Subtable header (one per Subtable) */ 520ff879b07SJung-uk Kim 521ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoMadtHdr[] = 522ff879b07SJung-uk Kim { 523ff879b07SJung-uk Kim {ACPI_DMT_MADT, ACPI_MADTH_OFFSET (Type), "Subtable Type", 0}, 524ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_MADTH_OFFSET (Length), "Length", DT_LENGTH}, 525ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 526ff879b07SJung-uk Kim }; 527ff879b07SJung-uk Kim 528ff879b07SJung-uk Kim /* MADT Subtables */ 529ff879b07SJung-uk Kim 530ff879b07SJung-uk Kim /* 0: processor APIC */ 531ff879b07SJung-uk Kim 532ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoMadt0[] = 533ff879b07SJung-uk Kim { 534ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_MADT0_OFFSET (ProcessorId), "Processor ID", 0}, 535ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_MADT0_OFFSET (Id), "Local Apic ID", 0}, 536ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_MADT0_OFFSET (LapicFlags), "Flags (decoded below)", DT_FLAG}, 537ff879b07SJung-uk Kim {ACPI_DMT_FLAG0, ACPI_MADT0_FLAG_OFFSET (LapicFlags,0), "Processor Enabled", 0}, 538*cd6518c7SJung-uk Kim {ACPI_DMT_FLAG1, ACPI_MADT0_FLAG_OFFSET (LapicFlags,0), "Runtime Online Capable", 0}, 539ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 540ff879b07SJung-uk Kim }; 541ff879b07SJung-uk Kim 542ff879b07SJung-uk Kim /* 1: IO APIC */ 543ff879b07SJung-uk Kim 544ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoMadt1[] = 545ff879b07SJung-uk Kim { 546ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_MADT1_OFFSET (Id), "I/O Apic ID", 0}, 547ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_MADT1_OFFSET (Reserved), "Reserved", 0}, 548ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_MADT1_OFFSET (Address), "Address", 0}, 549ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_MADT1_OFFSET (GlobalIrqBase), "Interrupt", 0}, 550ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 551ff879b07SJung-uk Kim }; 552ff879b07SJung-uk Kim 553ff879b07SJung-uk Kim /* 2: Interrupt Override */ 554ff879b07SJung-uk Kim 555ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoMadt2[] = 556ff879b07SJung-uk Kim { 557ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_MADT2_OFFSET (Bus), "Bus", 0}, 558ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_MADT2_OFFSET (SourceIrq), "Source", 0}, 559ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_MADT2_OFFSET (GlobalIrq), "Interrupt", 0}, 560ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_MADT2_OFFSET (IntiFlags), "Flags (decoded below)", DT_FLAG}, 561ff879b07SJung-uk Kim {ACPI_DMT_FLAGS0, ACPI_MADT2_FLAG_OFFSET (IntiFlags,0), "Polarity", 0}, 562ff879b07SJung-uk Kim {ACPI_DMT_FLAGS2, ACPI_MADT2_FLAG_OFFSET (IntiFlags,0), "Trigger Mode", 0}, 563ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 564ff879b07SJung-uk Kim }; 565ff879b07SJung-uk Kim 566ff879b07SJung-uk Kim /* 3: NMI Sources */ 567ff879b07SJung-uk Kim 568ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoMadt3[] = 569ff879b07SJung-uk Kim { 570ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_MADT3_OFFSET (IntiFlags), "Flags (decoded below)", DT_FLAG}, 571ff879b07SJung-uk Kim {ACPI_DMT_FLAGS0, ACPI_MADT3_FLAG_OFFSET (IntiFlags,0), "Polarity", 0}, 572ff879b07SJung-uk Kim {ACPI_DMT_FLAGS2, ACPI_MADT3_FLAG_OFFSET (IntiFlags,0), "Trigger Mode", 0}, 573ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_MADT3_OFFSET (GlobalIrq), "Interrupt", 0}, 574ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 575ff879b07SJung-uk Kim }; 576ff879b07SJung-uk Kim 577ff879b07SJung-uk Kim /* 4: Local APIC NMI */ 578ff879b07SJung-uk Kim 579ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoMadt4[] = 580ff879b07SJung-uk Kim { 581ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_MADT4_OFFSET (ProcessorId), "Processor ID", 0}, 582ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_MADT4_OFFSET (IntiFlags), "Flags (decoded below)", DT_FLAG}, 583ff879b07SJung-uk Kim {ACPI_DMT_FLAGS0, ACPI_MADT4_FLAG_OFFSET (IntiFlags,0), "Polarity", 0}, 584ff879b07SJung-uk Kim {ACPI_DMT_FLAGS2, ACPI_MADT4_FLAG_OFFSET (IntiFlags,0), "Trigger Mode", 0}, 585ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_MADT4_OFFSET (Lint), "Interrupt Input LINT", 0}, 586ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 587ff879b07SJung-uk Kim }; 588ff879b07SJung-uk Kim 589ff879b07SJung-uk Kim /* 5: Address Override */ 590ff879b07SJung-uk Kim 591ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoMadt5[] = 592ff879b07SJung-uk Kim { 593ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_MADT5_OFFSET (Reserved), "Reserved", 0}, 594ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_MADT5_OFFSET (Address), "APIC Address", 0}, 595ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 596ff879b07SJung-uk Kim }; 597ff879b07SJung-uk Kim 598ff879b07SJung-uk Kim /* 6: I/O Sapic */ 599ff879b07SJung-uk Kim 600ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoMadt6[] = 601ff879b07SJung-uk Kim { 602ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_MADT6_OFFSET (Id), "I/O Sapic ID", 0}, 603ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_MADT6_OFFSET (Reserved), "Reserved", 0}, 604ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_MADT6_OFFSET (GlobalIrqBase), "Interrupt Base", 0}, 605ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_MADT6_OFFSET (Address), "Address", 0}, 606ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 607ff879b07SJung-uk Kim }; 608ff879b07SJung-uk Kim 609ff879b07SJung-uk Kim /* 7: Local Sapic */ 610ff879b07SJung-uk Kim 611ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoMadt7[] = 612ff879b07SJung-uk Kim { 613ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_MADT7_OFFSET (ProcessorId), "Processor ID", 0}, 614ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_MADT7_OFFSET (Id), "Local Sapic ID", 0}, 615ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_MADT7_OFFSET (Eid), "Local Sapic EID", 0}, 616ff879b07SJung-uk Kim {ACPI_DMT_UINT24, ACPI_MADT7_OFFSET (Reserved[0]), "Reserved", 0}, 617ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_MADT7_OFFSET (LapicFlags), "Flags (decoded below)", DT_FLAG}, 618ff879b07SJung-uk Kim {ACPI_DMT_FLAG0, ACPI_MADT7_FLAG_OFFSET (LapicFlags,0), "Processor Enabled", 0}, 619ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_MADT7_OFFSET (Uid), "Processor UID", 0}, 620ff879b07SJung-uk Kim {ACPI_DMT_STRING, ACPI_MADT7_OFFSET (UidString[0]), "Processor UID String", 0}, 621ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 622ff879b07SJung-uk Kim }; 623ff879b07SJung-uk Kim 624ff879b07SJung-uk Kim /* 8: Platform Interrupt Source */ 625ff879b07SJung-uk Kim 626ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoMadt8[] = 627ff879b07SJung-uk Kim { 628ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_MADT8_OFFSET (IntiFlags), "Flags (decoded below)", DT_FLAG}, 629ff879b07SJung-uk Kim {ACPI_DMT_FLAGS0, ACPI_MADT8_FLAG_OFFSET (IntiFlags,0), "Polarity", 0}, 630ff879b07SJung-uk Kim {ACPI_DMT_FLAGS2, ACPI_MADT8_FLAG_OFFSET (IntiFlags,0), "Trigger Mode", 0}, 631ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_MADT8_OFFSET (Type), "InterruptType", 0}, 632ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_MADT8_OFFSET (Id), "Processor ID", 0}, 633ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_MADT8_OFFSET (Eid), "Processor EID", 0}, 634ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_MADT8_OFFSET (IoSapicVector), "I/O Sapic Vector", 0}, 635ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_MADT8_OFFSET (GlobalIrq), "Interrupt", 0}, 636ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_MADT8_OFFSET (Flags), "Flags (decoded below)", DT_FLAG}, 637ff879b07SJung-uk Kim {ACPI_DMT_FLAG0, ACPI_MADT8_OFFSET (Flags), "CPEI Override", 0}, 638ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 639ff879b07SJung-uk Kim }; 640ff879b07SJung-uk Kim 641ff879b07SJung-uk Kim /* 9: Processor Local X2_APIC (ACPI 4.0) */ 642ff879b07SJung-uk Kim 643ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoMadt9[] = 644ff879b07SJung-uk Kim { 645ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_MADT9_OFFSET (Reserved), "Reserved", 0}, 646ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_MADT9_OFFSET (LocalApicId), "Processor x2Apic ID", 0}, 647ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_MADT9_OFFSET (LapicFlags), "Flags (decoded below)", DT_FLAG}, 648ff879b07SJung-uk Kim {ACPI_DMT_FLAG0, ACPI_MADT9_FLAG_OFFSET (LapicFlags,0), "Processor Enabled", 0}, 649ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_MADT9_OFFSET (Uid), "Processor UID", 0}, 650ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 651ff879b07SJung-uk Kim }; 652ff879b07SJung-uk Kim 653ff879b07SJung-uk Kim /* 10: Local X2_APIC NMI (ACPI 4.0) */ 654ff879b07SJung-uk Kim 655ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoMadt10[] = 656ff879b07SJung-uk Kim { 657ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_MADT10_OFFSET (IntiFlags), "Flags (decoded below)", DT_FLAG}, 658ff879b07SJung-uk Kim {ACPI_DMT_FLAGS0, ACPI_MADT10_FLAG_OFFSET (IntiFlags,0), "Polarity", 0}, 659ff879b07SJung-uk Kim {ACPI_DMT_FLAGS2, ACPI_MADT10_FLAG_OFFSET (IntiFlags,0), "Trigger Mode", 0}, 660ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_MADT10_OFFSET (Uid), "Processor UID", 0}, 661ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_MADT10_OFFSET (Lint), "Interrupt Input LINT", 0}, 662ff879b07SJung-uk Kim {ACPI_DMT_UINT24, ACPI_MADT10_OFFSET (Reserved[0]), "Reserved", 0}, 663ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 664ff879b07SJung-uk Kim }; 665ff879b07SJung-uk Kim 666ff879b07SJung-uk Kim /* 11: Generic Interrupt Controller (ACPI 5.0) */ 667ff879b07SJung-uk Kim 668ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoMadt11[] = 669ff879b07SJung-uk Kim { 670ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_MADT11_OFFSET (Reserved), "Reserved", 0}, 671ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_MADT11_OFFSET (CpuInterfaceNumber), "CPU Interface Number", 0}, 672ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_MADT11_OFFSET (Uid), "Processor UID", 0}, 673ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_MADT11_OFFSET (Flags), "Flags (decoded below)", DT_FLAG}, 674ff879b07SJung-uk Kim {ACPI_DMT_FLAG0, ACPI_MADT11_FLAG_OFFSET (Flags,0), "Processor Enabled", 0}, 675ff879b07SJung-uk Kim {ACPI_DMT_FLAG1, ACPI_MADT11_FLAG_OFFSET (Flags,0), "Performance Interrupt Trigger Mode", 0}, 676ff879b07SJung-uk Kim {ACPI_DMT_FLAG2, ACPI_MADT11_FLAG_OFFSET (Flags,0), "Virtual GIC Interrupt Trigger Mode", 0}, 677ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_MADT11_OFFSET (ParkingVersion), "Parking Protocol Version", 0}, 678ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_MADT11_OFFSET (PerformanceInterrupt), "Performance Interrupt", 0}, 679ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_MADT11_OFFSET (ParkedAddress), "Parked Address", 0}, 680ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_MADT11_OFFSET (BaseAddress), "Base Address", 0}, 681ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_MADT11_OFFSET (GicvBaseAddress), "Virtual GIC Base Address", 0}, 682ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_MADT11_OFFSET (GichBaseAddress), "Hypervisor GIC Base Address", 0}, 683ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_MADT11_OFFSET (VgicInterrupt), "Virtual GIC Interrupt", 0}, 684ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_MADT11_OFFSET (GicrBaseAddress), "Redistributor Base Address", 0}, 685ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_MADT11_OFFSET (ArmMpidr), "ARM MPIDR", 0}, 686ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_MADT11_OFFSET (EfficiencyClass), "Efficiency Class", 0}, 687*cd6518c7SJung-uk Kim {ACPI_DMT_UINT8, ACPI_MADT11_OFFSET (Reserved2[0]), "Reserved", 0}, 688*cd6518c7SJung-uk Kim {ACPI_DMT_UINT16, ACPI_MADT11_OFFSET (SpeInterrupt), "SPE Overflow Interrupt", 0}, 689ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 690ff879b07SJung-uk Kim }; 691ff879b07SJung-uk Kim 692ff879b07SJung-uk Kim /* 12: Generic Interrupt Distributor (ACPI 5.0) */ 693ff879b07SJung-uk Kim 694ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoMadt12[] = 695ff879b07SJung-uk Kim { 696ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_MADT12_OFFSET (Reserved), "Reserved", 0}, 697ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_MADT12_OFFSET (GicId), "Local GIC Hardware ID", 0}, 698ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_MADT12_OFFSET (BaseAddress), "Base Address", 0}, 699ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_MADT12_OFFSET (GlobalIrqBase), "Interrupt Base", 0}, 700ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_MADT12_OFFSET (Version), "Version", 0}, 701ff879b07SJung-uk Kim {ACPI_DMT_UINT24, ACPI_MADT12_OFFSET (Reserved2[0]), "Reserved", 0}, 702ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 703ff879b07SJung-uk Kim }; 704ff879b07SJung-uk Kim 705ff879b07SJung-uk Kim /* 13: Generic MSI Frame (ACPI 5.1) */ 706ff879b07SJung-uk Kim 707ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoMadt13[] = 708ff879b07SJung-uk Kim { 709ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_MADT13_OFFSET (Reserved), "Reserved", 0}, 710ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_MADT13_OFFSET (MsiFrameId), "MSI Frame ID", 0}, 711ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_MADT13_OFFSET (BaseAddress), "Base Address", 0}, 712ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_MADT13_OFFSET (Flags), "Flags (decoded below)", DT_FLAG}, 713ff879b07SJung-uk Kim {ACPI_DMT_FLAG0, ACPI_MADT13_FLAG_OFFSET (Flags,0), "Select SPI", 0}, 714ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_MADT13_OFFSET (SpiCount), "SPI Count", 0}, 715ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_MADT13_OFFSET (SpiBase), "SPI Base", 0}, 716ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 717ff879b07SJung-uk Kim }; 718ff879b07SJung-uk Kim 719ff879b07SJung-uk Kim /* 14: Generic Redistributor (ACPI 5.1) */ 720ff879b07SJung-uk Kim 721ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoMadt14[] = 722ff879b07SJung-uk Kim { 723ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_MADT14_OFFSET (Reserved), "Reserved", 0}, 724ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_MADT14_OFFSET (BaseAddress), "Base Address", 0}, 725ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_MADT14_OFFSET (Length), "Length", 0}, 726ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 727ff879b07SJung-uk Kim }; 728ff879b07SJung-uk Kim 729ff879b07SJung-uk Kim /* 15: Generic Translator (ACPI 6.0) */ 730ff879b07SJung-uk Kim 731ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoMadt15[] = 732ff879b07SJung-uk Kim { 733ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_MADT15_OFFSET (Reserved), "Reserved", 0}, 734ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_MADT15_OFFSET (TranslationId), "Translation ID", 0}, 735ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_MADT15_OFFSET (BaseAddress), "Base Address", 0}, 736ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_MADT15_OFFSET (Reserved2), "Reserved", 0}, 737ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 738ff879b07SJung-uk Kim }; 739ff879b07SJung-uk Kim 740ff879b07SJung-uk Kim 741ff879b07SJung-uk Kim /******************************************************************************* 742ff879b07SJung-uk Kim * 743ff879b07SJung-uk Kim * MCFG - PCI Memory Mapped Configuration table and Subtable 744ff879b07SJung-uk Kim * 745ff879b07SJung-uk Kim ******************************************************************************/ 746ff879b07SJung-uk Kim 747ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoMcfg[] = 748ff879b07SJung-uk Kim { 749ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_MCFG_OFFSET (Reserved[0]), "Reserved", 0}, 750ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 751ff879b07SJung-uk Kim }; 752ff879b07SJung-uk Kim 753ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoMcfg0[] = 754ff879b07SJung-uk Kim { 755ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_MCFG0_OFFSET (Address), "Base Address", 0}, 756ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_MCFG0_OFFSET (PciSegment), "Segment Group Number", 0}, 757ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_MCFG0_OFFSET (StartBusNumber), "Start Bus Number", 0}, 758ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_MCFG0_OFFSET (EndBusNumber), "End Bus Number", 0}, 759ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_MCFG0_OFFSET (Reserved), "Reserved", 0}, 760ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 761ff879b07SJung-uk Kim }; 762ff879b07SJung-uk Kim 763ff879b07SJung-uk Kim 764ff879b07SJung-uk Kim /******************************************************************************* 765ff879b07SJung-uk Kim * 766ff879b07SJung-uk Kim * MCHI - Management Controller Host Interface table 767ff879b07SJung-uk Kim * 768ff879b07SJung-uk Kim ******************************************************************************/ 769ff879b07SJung-uk Kim 770ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoMchi[] = 771ff879b07SJung-uk Kim { 772ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_MCHI_OFFSET (InterfaceType), "Interface Type", 0}, 773ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_MCHI_OFFSET (Protocol), "Protocol", 0}, 774ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_MCHI_OFFSET (ProtocolData), "Protocol Data", 0}, 775ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_MCHI_OFFSET (InterruptType), "Interrupt Type", 0}, 776ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_MCHI_OFFSET (Gpe), "Gpe", 0}, 777ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_MCHI_OFFSET (PciDeviceFlag), "Pci Device Flag", 0}, 778ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_MCHI_OFFSET (GlobalInterrupt), "Global Interrupt", 0}, 779ff879b07SJung-uk Kim {ACPI_DMT_GAS, ACPI_MCHI_OFFSET (ControlRegister), "Control Register", 0}, 780ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_MCHI_OFFSET (PciSegment), "Pci Segment", 0}, 781ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_MCHI_OFFSET (PciBus), "Pci Bus", 0}, 782ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_MCHI_OFFSET (PciDevice), "Pci Device", 0}, 783ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_MCHI_OFFSET (PciFunction), "Pci Function", 0}, 784ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 785ff879b07SJung-uk Kim }; 786ff879b07SJung-uk Kim 787ff879b07SJung-uk Kim 788ff879b07SJung-uk Kim /******************************************************************************* 789ff879b07SJung-uk Kim * 790ff879b07SJung-uk Kim * MPST - Memory Power State Table 791ff879b07SJung-uk Kim * 792ff879b07SJung-uk Kim ******************************************************************************/ 793ff879b07SJung-uk Kim 794ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoMpst[] = 795ff879b07SJung-uk Kim { 796ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_MPST_OFFSET (ChannelId), "Channel ID", 0}, 797ff879b07SJung-uk Kim {ACPI_DMT_UINT24, ACPI_MPST_OFFSET (Reserved1[0]), "Reserved", 0}, 798ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_MPST_OFFSET (PowerNodeCount), "Power Node Count", 0}, 799ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_MPST_OFFSET (Reserved2), "Reserved", 0}, 800ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 801ff879b07SJung-uk Kim }; 802ff879b07SJung-uk Kim 803ff879b07SJung-uk Kim /* MPST subtables */ 804ff879b07SJung-uk Kim 805ff879b07SJung-uk Kim /* 0: Memory Power Node Structure */ 806ff879b07SJung-uk Kim 807ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoMpst0[] = 808ff879b07SJung-uk Kim { 809ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_MPST0_OFFSET (Flags), "Flags (decoded below)", DT_FLAG}, 810ff879b07SJung-uk Kim {ACPI_DMT_FLAG0, ACPI_MPST0_FLAG_OFFSET (Flags,0), "Node Enabled", 0}, 811ff879b07SJung-uk Kim {ACPI_DMT_FLAG1, ACPI_MPST0_FLAG_OFFSET (Flags,0), "Power Managed", 0}, 812ff879b07SJung-uk Kim {ACPI_DMT_FLAG2, ACPI_MPST0_FLAG_OFFSET (Flags,0), "Hot Plug Capable", 0}, 813ff879b07SJung-uk Kim 814ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_MPST0_OFFSET (Reserved1), "Reserved", 0}, 815ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_MPST0_OFFSET (NodeId), "Node ID", 0}, 816ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_MPST0_OFFSET (Length), "Length", 0}, 817ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_MPST0_OFFSET (RangeAddress), "Range Address", 0}, 818ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_MPST0_OFFSET (RangeLength), "Range Length", 0}, 819ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_MPST0_OFFSET (NumPowerStates), "Num Power States", 0}, 820ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_MPST0_OFFSET (NumPhysicalComponents), "Num Physical Components", 0}, 821ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 822ff879b07SJung-uk Kim }; 823ff879b07SJung-uk Kim 824ff879b07SJung-uk Kim /* 0A: Sub-subtable - Memory Power State Structure (follows Memory Power Node above) */ 825ff879b07SJung-uk Kim 826ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoMpst0A[] = 827ff879b07SJung-uk Kim { 828ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_MPST0A_OFFSET (PowerState), "Power State", 0}, 829ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_MPST0A_OFFSET (InfoIndex), "InfoIndex", 0}, 830ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 831ff879b07SJung-uk Kim }; 832ff879b07SJung-uk Kim 833ff879b07SJung-uk Kim /* 0B: Sub-subtable - Physical Component ID Structure (follows Memory Power State(s) above) */ 834ff879b07SJung-uk Kim 835ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoMpst0B[] = 836ff879b07SJung-uk Kim { 837ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_MPST0B_OFFSET (ComponentId), "Component Id", 0}, 838ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 839ff879b07SJung-uk Kim }; 840ff879b07SJung-uk Kim 841ff879b07SJung-uk Kim /* 01: Power Characteristics Count (follows all Power Node(s) above) */ 842ff879b07SJung-uk Kim 843ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoMpst1[] = 844ff879b07SJung-uk Kim { 845ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_MPST1_OFFSET (CharacteristicsCount), "Characteristics Count", 0}, 846ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_MPST1_OFFSET (Reserved), "Reserved", 0}, 847ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 848ff879b07SJung-uk Kim }; 849ff879b07SJung-uk Kim 850ff879b07SJung-uk Kim /* 02: Memory Power State Characteristics Structure */ 851ff879b07SJung-uk Kim 852ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoMpst2[] = 853ff879b07SJung-uk Kim { 854ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_MPST2_OFFSET (StructureId), "Structure ID", 0}, 855ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_MPST2_OFFSET (Flags), "Flags (decoded below)", DT_FLAG}, 856ff879b07SJung-uk Kim {ACPI_DMT_FLAG0, ACPI_MPST2_FLAG_OFFSET (Flags,0), "Memory Preserved", 0}, 857ff879b07SJung-uk Kim {ACPI_DMT_FLAG1, ACPI_MPST2_FLAG_OFFSET (Flags,0), "Auto Entry", 0}, 858ff879b07SJung-uk Kim {ACPI_DMT_FLAG2, ACPI_MPST2_FLAG_OFFSET (Flags,0), "Auto Exit", 0}, 859ff879b07SJung-uk Kim 860ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_MPST2_OFFSET (Reserved1), "Reserved", 0}, 861ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_MPST2_OFFSET (AveragePower), "Average Power", 0}, 862ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_MPST2_OFFSET (PowerSaving), "Power Saving", 0}, 863ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_MPST2_OFFSET (ExitLatency), "Exit Latency", 0}, 864ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_MPST2_OFFSET (Reserved2), "Reserved", 0}, 865ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 866ff879b07SJung-uk Kim }; 867ff879b07SJung-uk Kim 868ff879b07SJung-uk Kim 869ff879b07SJung-uk Kim /******************************************************************************* 870ff879b07SJung-uk Kim * 871ff879b07SJung-uk Kim * MSCT - Maximum System Characteristics Table (ACPI 4.0) 872ff879b07SJung-uk Kim * 873ff879b07SJung-uk Kim ******************************************************************************/ 874ff879b07SJung-uk Kim 875ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoMsct[] = 876ff879b07SJung-uk Kim { 877ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_MSCT_OFFSET (ProximityOffset), "Proximity Offset", 0}, 878ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_MSCT_OFFSET (MaxProximityDomains), "Max Proximity Domains", 0}, 879ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_MSCT_OFFSET (MaxClockDomains), "Max Clock Domains", 0}, 880ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_MSCT_OFFSET (MaxAddress), "Max Physical Address", 0}, 881ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 882ff879b07SJung-uk Kim }; 883ff879b07SJung-uk Kim 884ff879b07SJung-uk Kim /* Subtable - Maximum Proximity Domain Information. Version 1 */ 885ff879b07SJung-uk Kim 886ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoMsct0[] = 887ff879b07SJung-uk Kim { 888ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_MSCT0_OFFSET (Revision), "Revision", 0}, 889ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_MSCT0_OFFSET (Length), "Length", DT_LENGTH}, 890ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_MSCT0_OFFSET (RangeStart), "Domain Range Start", 0}, 891ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_MSCT0_OFFSET (RangeEnd), "Domain Range End", 0}, 892ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_MSCT0_OFFSET (ProcessorCapacity), "Processor Capacity", 0}, 893ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_MSCT0_OFFSET (MemoryCapacity), "Memory Capacity", 0}, 894ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 895ff879b07SJung-uk Kim }; 896ff879b07SJung-uk Kim 897ff879b07SJung-uk Kim 898ff879b07SJung-uk Kim /******************************************************************************* 899ff879b07SJung-uk Kim * 900ff879b07SJung-uk Kim * MTMR - MID Timer Table 901ff879b07SJung-uk Kim * 902ff879b07SJung-uk Kim ******************************************************************************/ 903ff879b07SJung-uk Kim 904ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoMtmr[] = 905ff879b07SJung-uk Kim { 906ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 907ff879b07SJung-uk Kim }; 908ff879b07SJung-uk Kim 909ff879b07SJung-uk Kim /* MTMR Subtables - MTMR Entry */ 910ff879b07SJung-uk Kim 911ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoMtmr0[] = 912ff879b07SJung-uk Kim { 913ff879b07SJung-uk Kim {ACPI_DMT_GAS, ACPI_MTMR0_OFFSET (PhysicalAddress), "PhysicalAddress", 0}, 914ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_MTMR0_OFFSET (Frequency), "Frequency", 0}, 915ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_MTMR0_OFFSET (Irq), "IRQ", 0}, 916ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 917ff879b07SJung-uk Kim }; 918ff879b07SJung-uk Kim 919ff879b07SJung-uk Kim 920ff879b07SJung-uk Kim /******************************************************************************* 921ff879b07SJung-uk Kim * 922ff879b07SJung-uk Kim * NFIT - NVDIMM Firmware Interface Table and Subtables - (ACPI 6.0) 923ff879b07SJung-uk Kim * 924ff879b07SJung-uk Kim ******************************************************************************/ 925ff879b07SJung-uk Kim 926ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoNfit[] = 927ff879b07SJung-uk Kim { 928ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_NFIT_OFFSET (Reserved), "Reserved", 0}, 929ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 930ff879b07SJung-uk Kim }; 931ff879b07SJung-uk Kim 932ff879b07SJung-uk Kim /* Common Subtable header */ 933ff879b07SJung-uk Kim 934ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoNfitHdr[] = 935ff879b07SJung-uk Kim { 936ff879b07SJung-uk Kim {ACPI_DMT_NFIT, ACPI_NFITH_OFFSET (Type), "Subtable Type", 0}, 937ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_NFITH_OFFSET (Length), "Length", DT_LENGTH}, 938ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 939ff879b07SJung-uk Kim }; 940ff879b07SJung-uk Kim 941ff879b07SJung-uk Kim /* 0: System Physical Address Range Structure */ 942ff879b07SJung-uk Kim 943ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoNfit0[] = 944ff879b07SJung-uk Kim { 945ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_NFIT0_OFFSET (RangeIndex), "Range Index", 0}, 946ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_NFIT0_OFFSET (Flags), "Flags (decoded below)", DT_FLAG}, 947ff879b07SJung-uk Kim {ACPI_DMT_FLAG0, ACPI_NFIT0_FLAG_OFFSET (Flags,0), "Add/Online Operation Only", 0}, 948ff879b07SJung-uk Kim {ACPI_DMT_FLAG1, ACPI_NFIT0_FLAG_OFFSET (Flags,0), "Proximity Domain Valid", 0}, 949ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_NFIT0_OFFSET (Reserved), "Reserved", 0}, 950ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_NFIT0_OFFSET (ProximityDomain), "Proximity Domain", 0}, 951*cd6518c7SJung-uk Kim {ACPI_DMT_UUID, ACPI_NFIT0_OFFSET (RangeGuid[0]), "Region Type GUID", 0}, 952ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_NFIT0_OFFSET (Address), "Address Range Base", 0}, 953ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_NFIT0_OFFSET (Length), "Address Range Length", 0}, 954ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_NFIT0_OFFSET (MemoryMapping), "Memory Map Attribute", 0}, 955ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 956ff879b07SJung-uk Kim }; 957ff879b07SJung-uk Kim 958ff879b07SJung-uk Kim /* 1: Memory Device to System Address Range Map Structure */ 959ff879b07SJung-uk Kim 960ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoNfit1[] = 961ff879b07SJung-uk Kim { 962ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_NFIT1_OFFSET (DeviceHandle), "Device Handle", 0}, 963ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_NFIT1_OFFSET (PhysicalId), "Physical Id", 0}, 964ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_NFIT1_OFFSET (RegionId), "Region Id", 0}, 965ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_NFIT1_OFFSET (RangeIndex), "Range Index", 0}, 966ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_NFIT1_OFFSET (RegionIndex), "Control Region Index", 0}, 967ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_NFIT1_OFFSET (RegionSize), "Region Size", 0}, 968ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_NFIT1_OFFSET (RegionOffset), "Region Offset", 0}, 969ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_NFIT1_OFFSET (Address), "Address Region Base", 0}, 970ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_NFIT1_OFFSET (InterleaveIndex), "Interleave Index", 0}, 971ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_NFIT1_OFFSET (InterleaveWays), "Interleave Ways", 0}, 972ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_NFIT1_OFFSET (Flags), "Flags", DT_FLAG}, 973ff879b07SJung-uk Kim {ACPI_DMT_FLAG0, ACPI_NFIT1_FLAG_OFFSET (Flags,0), "Save to device failed", 0}, 974ff879b07SJung-uk Kim {ACPI_DMT_FLAG1, ACPI_NFIT1_FLAG_OFFSET (Flags,0), "Restore from device failed", 0}, 975ff879b07SJung-uk Kim {ACPI_DMT_FLAG2, ACPI_NFIT1_FLAG_OFFSET (Flags,0), "Platform flush failed", 0}, 976ff879b07SJung-uk Kim {ACPI_DMT_FLAG3, ACPI_NFIT1_FLAG_OFFSET (Flags,0), "Device not armed", 0}, 977ff879b07SJung-uk Kim {ACPI_DMT_FLAG4, ACPI_NFIT1_FLAG_OFFSET (Flags,0), "Health events observed", 0}, 978ff879b07SJung-uk Kim {ACPI_DMT_FLAG5, ACPI_NFIT1_FLAG_OFFSET (Flags,0), "Health events enabled", 0}, 979ff879b07SJung-uk Kim {ACPI_DMT_FLAG6, ACPI_NFIT1_FLAG_OFFSET (Flags,0), "Mapping failed", 0}, 980ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_NFIT1_OFFSET (Reserved), "Reserved", 0}, 981ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 982ff879b07SJung-uk Kim }; 983ff879b07SJung-uk Kim 984ff879b07SJung-uk Kim /* 2: Interleave Structure */ 985ff879b07SJung-uk Kim 986ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoNfit2[] = 987ff879b07SJung-uk Kim { 988ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_NFIT2_OFFSET (InterleaveIndex), "Interleave Index", 0}, 989ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_NFIT2_OFFSET (Reserved), "Reserved", 0}, 990ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_NFIT2_OFFSET (LineCount), "Line Count", 0}, 991ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_NFIT2_OFFSET (LineSize), "Line Size", 0}, 992ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 993ff879b07SJung-uk Kim }; 994ff879b07SJung-uk Kim 995ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoNfit2a[] = 996ff879b07SJung-uk Kim { 997ff879b07SJung-uk Kim {ACPI_DMT_UINT32, 0, "Line Offset", DT_OPTIONAL}, 998ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 999ff879b07SJung-uk Kim }; 1000ff879b07SJung-uk Kim 1001ff879b07SJung-uk Kim /* 3: SMBIOS Management Information Structure */ 1002ff879b07SJung-uk Kim 1003ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoNfit3[] = 1004ff879b07SJung-uk Kim { 1005ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_NFIT3_OFFSET (Reserved), "Reserved", 0}, 1006ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 1007ff879b07SJung-uk Kim }; 1008ff879b07SJung-uk Kim 1009ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoNfit3a[] = 1010ff879b07SJung-uk Kim { 1011ff879b07SJung-uk Kim {ACPI_DMT_RAW_BUFFER, 0, "SMBIOS Table Entries", DT_OPTIONAL}, 1012ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 1013ff879b07SJung-uk Kim }; 1014ff879b07SJung-uk Kim 1015ff879b07SJung-uk Kim /* 4: NVDIMM Control Region Structure */ 1016ff879b07SJung-uk Kim 1017ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoNfit4[] = 1018ff879b07SJung-uk Kim { 1019ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_NFIT4_OFFSET (RegionIndex), "Region Index", 0}, 1020ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_NFIT4_OFFSET (VendorId), "Vendor Id", 0}, 1021ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_NFIT4_OFFSET (DeviceId), "Device Id", 0}, 1022ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_NFIT4_OFFSET (RevisionId), "Revision Id", 0}, 1023ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_NFIT4_OFFSET (SubsystemVendorId), "Subsystem Vendor Id", 0}, 1024ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_NFIT4_OFFSET (SubsystemDeviceId), "Subsystem Device Id", 0}, 1025ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_NFIT4_OFFSET (SubsystemRevisionId), "Subsystem Revision Id", 0}, 1026ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_NFIT4_OFFSET (ValidFields), "Valid Fields", 0}, 1027ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_NFIT4_OFFSET (ManufacturingLocation), "Manufacturing Location", 0}, 1028ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_NFIT4_OFFSET (ManufacturingDate), "Manufacturing Date", 0}, 1029ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_NFIT4_OFFSET (Reserved[0]), "Reserved", 0}, 1030ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_NFIT4_OFFSET (SerialNumber), "Serial Number", 0}, 1031ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_NFIT4_OFFSET (Code), "Code", 0}, 1032ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_NFIT4_OFFSET (Windows), "Window Count", 0}, 1033ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_NFIT4_OFFSET (WindowSize), "Window Size", 0}, 1034ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_NFIT4_OFFSET (CommandOffset), "Command Offset", 0}, 1035ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_NFIT4_OFFSET (CommandSize), "Command Size", 0}, 1036ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_NFIT4_OFFSET (StatusOffset), "Status Offset", 0}, 1037ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_NFIT4_OFFSET (StatusSize), "Status Size", 0}, 1038ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_NFIT4_OFFSET (Flags), "Flags", DT_FLAG}, 1039ff879b07SJung-uk Kim {ACPI_DMT_FLAG0, ACPI_NFIT4_FLAG_OFFSET (Flags,0), "Windows buffered", 0}, 1040ff879b07SJung-uk Kim {ACPI_DMT_UINT48, ACPI_NFIT4_OFFSET (Reserved1[0]), "Reserved1", 0}, 1041ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 1042ff879b07SJung-uk Kim }; 1043ff879b07SJung-uk Kim 1044ff879b07SJung-uk Kim /* 5: NVDIMM Block Data Window Region Structure */ 1045ff879b07SJung-uk Kim 1046ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoNfit5[] = 1047ff879b07SJung-uk Kim { 1048ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_NFIT5_OFFSET (RegionIndex), "Region Index", 0}, 1049ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_NFIT5_OFFSET (Windows), "Window Count", 0}, 1050ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_NFIT5_OFFSET (Offset), "Offset", 0}, 1051ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_NFIT5_OFFSET (Size), "Size", 0}, 1052ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_NFIT5_OFFSET (Capacity), "Capacity", 0}, 1053ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_NFIT5_OFFSET (StartAddress), "Start Address", 0}, 1054ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 1055ff879b07SJung-uk Kim }; 1056ff879b07SJung-uk Kim 1057ff879b07SJung-uk Kim /* 6: Flush Hint Address Structure */ 1058ff879b07SJung-uk Kim 1059ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoNfit6[] = 1060ff879b07SJung-uk Kim { 1061ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_NFIT6_OFFSET (DeviceHandle), "Device Handle", 0}, 1062ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_NFIT6_OFFSET (HintCount), "Hint Count", 0}, 1063ff879b07SJung-uk Kim {ACPI_DMT_UINT48, ACPI_NFIT6_OFFSET (Reserved[0]), "Reserved", 0}, 1064ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 1065ff879b07SJung-uk Kim }; 1066ff879b07SJung-uk Kim 1067ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoNfit6a[] = 1068ff879b07SJung-uk Kim { 1069ff879b07SJung-uk Kim {ACPI_DMT_UINT64, 0, "Hint Address", DT_OPTIONAL}, 1070ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 1071ff879b07SJung-uk Kim }; 1072ff879b07SJung-uk Kim 1073ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoNfit7[] = 1074ff879b07SJung-uk Kim { 1075ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_NFIT7_OFFSET (HighestCapability), "Highest Capability", 0}, 1076ff879b07SJung-uk Kim {ACPI_DMT_UINT24, ACPI_NFIT7_OFFSET (Reserved[0]), "Reserved", 0}, 1077ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_NFIT7_OFFSET (Capabilities), "Capabilities (decoded below)", DT_FLAG}, 1078ff879b07SJung-uk Kim {ACPI_DMT_FLAG0, ACPI_NFIT7_FLAG_OFFSET (Capabilities,0), "Cache Flush to NVDIMM", 0}, 1079835b56bfSJung-uk Kim {ACPI_DMT_FLAG1, ACPI_NFIT7_FLAG_OFFSET (Capabilities,0), "Memory Flush to NVDIMM", 0}, 1080ff879b07SJung-uk Kim {ACPI_DMT_FLAG2, ACPI_NFIT7_FLAG_OFFSET (Capabilities,0), "Memory Mirroring", 0}, 1081ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_NFIT7_OFFSET (Reserved2), "Reserved", 0}, 1082ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 1083ff879b07SJung-uk Kim }; 1084ff879b07SJung-uk Kim 1085ff879b07SJung-uk Kim 1086ff879b07SJung-uk Kim /******************************************************************************* 1087ff879b07SJung-uk Kim * 1088ff879b07SJung-uk Kim * PCCT - Platform Communications Channel Table (ACPI 5.0) 1089ff879b07SJung-uk Kim * 1090ff879b07SJung-uk Kim ******************************************************************************/ 1091ff879b07SJung-uk Kim 1092ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoPcct[] = 1093ff879b07SJung-uk Kim { 1094ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_PCCT_OFFSET (Flags), "Flags (decoded below)", DT_FLAG}, 1095ff879b07SJung-uk Kim {ACPI_DMT_FLAG0, ACPI_PCCT_FLAG_OFFSET (Flags,0), "Platform", 0}, 1096ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_PCCT_OFFSET (Reserved), "Reserved", 0}, 1097ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 1098ff879b07SJung-uk Kim }; 1099ff879b07SJung-uk Kim 1100ff879b07SJung-uk Kim /* PCCT subtables */ 1101ff879b07SJung-uk Kim 1102ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoPcctHdr[] = 1103ff879b07SJung-uk Kim { 1104ff879b07SJung-uk Kim {ACPI_DMT_PCCT, ACPI_PCCT0_OFFSET (Header.Type), "Subtable Type", 0}, 1105ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_PCCT0_OFFSET (Header.Length), "Length", DT_LENGTH}, 1106ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 1107ff879b07SJung-uk Kim }; 1108ff879b07SJung-uk Kim 1109ff879b07SJung-uk Kim /* 0: Generic Communications Subspace */ 1110ff879b07SJung-uk Kim 1111ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoPcct0[] = 1112ff879b07SJung-uk Kim { 1113ff879b07SJung-uk Kim {ACPI_DMT_UINT48, ACPI_PCCT0_OFFSET (Reserved[0]), "Reserved", 0}, 1114ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_PCCT0_OFFSET (BaseAddress), "Base Address", 0}, 1115ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_PCCT0_OFFSET (Length), "Address Length", 0}, 1116ff879b07SJung-uk Kim {ACPI_DMT_GAS, ACPI_PCCT0_OFFSET (DoorbellRegister), "Doorbell Register", 0}, 1117ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_PCCT0_OFFSET (PreserveMask), "Preserve Mask", 0}, 1118ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_PCCT0_OFFSET (WriteMask), "Write Mask", 0}, 1119ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_PCCT0_OFFSET (Latency), "Command Latency", 0}, 1120ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_PCCT0_OFFSET (MaxAccessRate), "Maximum Access Rate", 0}, 1121ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_PCCT0_OFFSET (MinTurnaroundTime), "Minimum Turnaround Time", 0}, 1122ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 1123ff879b07SJung-uk Kim }; 1124ff879b07SJung-uk Kim 1125ff879b07SJung-uk Kim /* 1: HW-reduced Communications Subspace (ACPI 5.1) */ 1126ff879b07SJung-uk Kim 1127ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoPcct1[] = 1128ff879b07SJung-uk Kim { 1129ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_PCCT1_OFFSET (PlatformInterrupt), "Platform Interrupt", 0}, 1130ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_PCCT1_OFFSET (Flags), "Flags (Decoded Below)", DT_FLAG}, 1131ff879b07SJung-uk Kim {ACPI_DMT_FLAG0, ACPI_PCCT1_FLAG_OFFSET (Flags,0), "Polarity", 0}, 1132ff879b07SJung-uk Kim {ACPI_DMT_FLAG1, ACPI_PCCT1_FLAG_OFFSET (Flags,0), "Mode", 0}, 1133ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_PCCT1_OFFSET (Reserved), "Reserved", 0}, 1134ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_PCCT1_OFFSET (BaseAddress), "Base Address", 0}, 1135ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_PCCT1_OFFSET (Length), "Address Length", 0}, 1136ff879b07SJung-uk Kim {ACPI_DMT_GAS, ACPI_PCCT1_OFFSET (DoorbellRegister), "Doorbell Register", 0}, 1137ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_PCCT1_OFFSET (PreserveMask), "Preserve Mask", 0}, 1138ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_PCCT1_OFFSET (WriteMask), "Write Mask", 0}, 1139ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_PCCT1_OFFSET (Latency), "Command Latency", 0}, 1140ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_PCCT1_OFFSET (MaxAccessRate), "Maximum Access Rate", 0}, 1141ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_PCCT1_OFFSET (MinTurnaroundTime), "Minimum Turnaround Time", 0}, 1142ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 1143ff879b07SJung-uk Kim }; 1144ff879b07SJung-uk Kim 1145ff879b07SJung-uk Kim /* 2: HW-reduced Communications Subspace Type 2 (ACPI 6.1) */ 1146ff879b07SJung-uk Kim 1147ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoPcct2[] = 1148ff879b07SJung-uk Kim { 1149ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_PCCT2_OFFSET (PlatformInterrupt), "Platform Interrupt", 0}, 1150ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_PCCT2_OFFSET (Flags), "Flags (Decoded Below)", DT_FLAG}, 1151ff879b07SJung-uk Kim {ACPI_DMT_FLAG0, ACPI_PCCT2_FLAG_OFFSET (Flags,0), "Polarity", 0}, 1152ff879b07SJung-uk Kim {ACPI_DMT_FLAG1, ACPI_PCCT2_FLAG_OFFSET (Flags,0), "Mode", 0}, 1153ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_PCCT2_OFFSET (Reserved), "Reserved", 0}, 1154ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_PCCT2_OFFSET (BaseAddress), "Base Address", 0}, 1155ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_PCCT2_OFFSET (Length), "Address Length", 0}, 1156ff879b07SJung-uk Kim {ACPI_DMT_GAS, ACPI_PCCT2_OFFSET (DoorbellRegister), "Doorbell Register", 0}, 1157ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_PCCT2_OFFSET (PreserveMask), "Preserve Mask", 0}, 1158ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_PCCT2_OFFSET (WriteMask), "Write Mask", 0}, 1159ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_PCCT2_OFFSET (Latency), "Command Latency", 0}, 1160ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_PCCT2_OFFSET (MaxAccessRate), "Maximum Access Rate", 0}, 1161ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_PCCT2_OFFSET (MinTurnaroundTime), "Minimum Turnaround Time", 0}, 1162ff879b07SJung-uk Kim {ACPI_DMT_GAS, ACPI_PCCT2_OFFSET (PlatformAckRegister), "Platform ACK Register", 0}, 1163ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_PCCT2_OFFSET (AckPreserveMask), "ACK Preserve Mask", 0}, 1164ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_PCCT2_OFFSET (AckWriteMask), "ACK Write Mask", 0}, 1165ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 1166ff879b07SJung-uk Kim }; 1167ff879b07SJung-uk Kim 1168ff879b07SJung-uk Kim /* 3: Extended PCC Master Subspace Type 3 (ACPI 6.2) */ 1169ff879b07SJung-uk Kim 1170ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoPcct3[] = 1171ff879b07SJung-uk Kim { 1172ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_PCCT3_OFFSET (PlatformInterrupt), "Platform Interrupt", 0}, 1173ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_PCCT3_OFFSET (Flags), "Flags (Decoded Below)", DT_FLAG}, 1174ff879b07SJung-uk Kim {ACPI_DMT_FLAG0, ACPI_PCCT3_FLAG_OFFSET (Flags,0), "Polarity", 0}, 1175ff879b07SJung-uk Kim {ACPI_DMT_FLAG1, ACPI_PCCT3_FLAG_OFFSET (Flags,0), "Mode", 0}, 1176ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_PCCT3_OFFSET (Reserved1), "Reserved", 0}, 1177ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_PCCT3_OFFSET (BaseAddress), "Base Address", 0}, 1178ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_PCCT3_OFFSET (Length), "Address Length", 0}, 1179ff879b07SJung-uk Kim {ACPI_DMT_GAS, ACPI_PCCT3_OFFSET (DoorbellRegister), "Doorbell Register", 0}, 1180ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_PCCT3_OFFSET (PreserveMask), "Preserve Mask", 0}, 1181ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_PCCT3_OFFSET (WriteMask), "Write Mask", 0}, 1182ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_PCCT3_OFFSET (Latency), "Command Latency", 0}, 1183ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_PCCT3_OFFSET (MaxAccessRate), "Maximum Access Rate", 0}, 1184ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_PCCT3_OFFSET (MinTurnaroundTime), "Minimum Turnaround Time", 0}, 1185ff879b07SJung-uk Kim {ACPI_DMT_GAS, ACPI_PCCT3_OFFSET (PlatformAckRegister), "Platform ACK Register", 0}, 1186ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_PCCT3_OFFSET (AckPreserveMask), "ACK Preserve Mask", 0}, 1187ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_PCCT3_OFFSET (AckSetMask), "ACK Set Mask", 0}, 1188ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_PCCT3_OFFSET (Reserved2), "Reserved", 0}, 1189ff879b07SJung-uk Kim {ACPI_DMT_GAS, ACPI_PCCT3_OFFSET (CmdCompleteRegister), "Command Complete Register", 0}, 1190ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_PCCT3_OFFSET (CmdCompleteMask), "Command Complete Check Mask", 0}, 1191ff879b07SJung-uk Kim {ACPI_DMT_GAS, ACPI_PCCT3_OFFSET (CmdUpdateRegister), "Command Update Register", 0}, 1192ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_PCCT3_OFFSET (CmdUpdatePreserveMask), "Command Update Preserve Mask", 0}, 1193ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_PCCT3_OFFSET (CmdUpdateSetMask), "Command Update Set Mask", 0}, 1194ff879b07SJung-uk Kim {ACPI_DMT_GAS, ACPI_PCCT3_OFFSET (ErrorStatusRegister), "Error Status Register", 0}, 1195ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_PCCT3_OFFSET (ErrorStatusMask), "Error Status Mask", 0}, 1196ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 1197ff879b07SJung-uk Kim }; 1198ff879b07SJung-uk Kim 1199ff879b07SJung-uk Kim /* 4: Extended PCC Slave Subspace Type 4 (ACPI 6.2) */ 1200ff879b07SJung-uk Kim 1201ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoPcct4[] = 1202ff879b07SJung-uk Kim { 1203ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_PCCT4_OFFSET (PlatformInterrupt), "Platform Interrupt", 0}, 1204ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_PCCT4_OFFSET (Flags), "Flags (Decoded Below)", DT_FLAG}, 1205ff879b07SJung-uk Kim {ACPI_DMT_FLAG0, ACPI_PCCT4_FLAG_OFFSET (Flags,0), "Polarity", 0}, 1206ff879b07SJung-uk Kim {ACPI_DMT_FLAG1, ACPI_PCCT4_FLAG_OFFSET (Flags,0), "Mode", 0}, 1207ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_PCCT4_OFFSET (Reserved1), "Reserved", 0}, 1208ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_PCCT4_OFFSET (BaseAddress), "Base Address", 0}, 1209ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_PCCT4_OFFSET (Length), "Address Length", 0}, 1210ff879b07SJung-uk Kim {ACPI_DMT_GAS, ACPI_PCCT4_OFFSET (DoorbellRegister), "Doorbell Register", 0}, 1211ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_PCCT4_OFFSET (PreserveMask), "Preserve Mask", 0}, 1212ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_PCCT4_OFFSET (WriteMask), "Write Mask", 0}, 1213ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_PCCT4_OFFSET (Latency), "Command Latency", 0}, 1214ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_PCCT4_OFFSET (MaxAccessRate), "Maximum Access Rate", 0}, 1215ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_PCCT4_OFFSET (MinTurnaroundTime), "Minimum Turnaround Time", 0}, 1216ff879b07SJung-uk Kim {ACPI_DMT_GAS, ACPI_PCCT4_OFFSET (PlatformAckRegister), "Platform ACK Register", 0}, 1217ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_PCCT4_OFFSET (AckPreserveMask), "ACK Preserve Mask", 0}, 1218ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_PCCT4_OFFSET (AckSetMask), "ACK Set Mask", 0}, 1219ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_PCCT4_OFFSET (Reserved2), "Reserved", 0}, 1220ff879b07SJung-uk Kim {ACPI_DMT_GAS, ACPI_PCCT4_OFFSET (CmdCompleteRegister), "Command Complete Register", 0}, 1221ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_PCCT4_OFFSET (CmdCompleteMask), "Command Complete Check Mask", 0}, 1222ff879b07SJung-uk Kim {ACPI_DMT_GAS, ACPI_PCCT4_OFFSET (CmdUpdateRegister), "Command Update Register", 0}, 1223ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_PCCT4_OFFSET (CmdUpdatePreserveMask), "Command Update Preserve Mask", 0}, 1224ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_PCCT4_OFFSET (CmdUpdateSetMask), "Command Update Set Mask", 0}, 1225ff879b07SJung-uk Kim {ACPI_DMT_GAS, ACPI_PCCT4_OFFSET (ErrorStatusRegister), "Error Status Register", 0}, 1226ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_PCCT4_OFFSET (ErrorStatusMask), "Error Status Mask", 0}, 1227ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 1228ff879b07SJung-uk Kim }; 1229ff879b07SJung-uk Kim 1230ff879b07SJung-uk Kim 1231ff879b07SJung-uk Kim /******************************************************************************* 1232ff879b07SJung-uk Kim * 1233ff879b07SJung-uk Kim * PDTT - Platform Debug Trigger Table (ACPI 6.2) 1234ff879b07SJung-uk Kim * 1235ff879b07SJung-uk Kim ******************************************************************************/ 1236ff879b07SJung-uk Kim 1237ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoPdtt[] = 1238ff879b07SJung-uk Kim { 1239ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_PDTT_OFFSET (TriggerCount), "Trigger Count", 0}, 1240ff879b07SJung-uk Kim {ACPI_DMT_UINT24, ACPI_PDTT_OFFSET (Reserved), "Reserved", 0}, 1241ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_PDTT_OFFSET (ArrayOffset), "Array Offset", 0}, 1242ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 1243ff879b07SJung-uk Kim }; 1244ff879b07SJung-uk Kim 1245ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoPdtt0[] = 1246ff879b07SJung-uk Kim { 1247ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_PDTT0_OFFSET (SubchannelId), "Subchannel Id", 0}, 1248ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_PDTT0_OFFSET (Flags), "Flags (Decoded Below)", DT_FLAG}, 1249ff879b07SJung-uk Kim {ACPI_DMT_FLAG0, ACPI_PDTT0_FLAG_OFFSET (Flags,0), "Runtime Trigger", 0}, 1250ff879b07SJung-uk Kim {ACPI_DMT_FLAG1, ACPI_PDTT0_FLAG_OFFSET (Flags,0), "Wait for Completion", 0}, 1251*cd6518c7SJung-uk Kim {ACPI_DMT_FLAG2, ACPI_PDTT0_FLAG_OFFSET (Flags,0), "Trigger Order", 0}, 1252ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 1253ff879b07SJung-uk Kim }; 1254ff879b07SJung-uk Kim 1255ff879b07SJung-uk Kim 1256ff879b07SJung-uk Kim /******************************************************************************* 1257ff879b07SJung-uk Kim * 1258ff879b07SJung-uk Kim * PMTT - Platform Memory Topology Table 1259ff879b07SJung-uk Kim * 1260ff879b07SJung-uk Kim ******************************************************************************/ 1261ff879b07SJung-uk Kim 1262ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoPmtt[] = 1263ff879b07SJung-uk Kim { 1264ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_PMTT_OFFSET (Reserved), "Reserved", 0}, 1265ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 1266ff879b07SJung-uk Kim }; 1267ff879b07SJung-uk Kim 1268ff879b07SJung-uk Kim /* Common Subtable header (one per Subtable) */ 1269ff879b07SJung-uk Kim 1270ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoPmttHdr[] = 1271ff879b07SJung-uk Kim { 1272ff879b07SJung-uk Kim {ACPI_DMT_PMTT, ACPI_PMTTH_OFFSET (Type), "Subtable Type", 0}, 1273ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_PMTTH_OFFSET (Reserved1), "Reserved", 0}, 1274ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_PMTTH_OFFSET (Length), "Length", DT_LENGTH}, 1275ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_PMTTH_OFFSET (Flags), "Flags (decoded below)", DT_FLAG}, 1276ff879b07SJung-uk Kim {ACPI_DMT_FLAG0, ACPI_PMTTH_FLAG_OFFSET (Flags,0), "Top-level Device", 0}, 1277ff879b07SJung-uk Kim {ACPI_DMT_FLAG1, ACPI_PMTTH_FLAG_OFFSET (Flags,0), "Physical Element", 0}, 1278ff879b07SJung-uk Kim {ACPI_DMT_FLAGS2, ACPI_PMTTH_FLAG_OFFSET (Flags,0), "Memory Type", 0}, 1279ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_PMTTH_OFFSET (Reserved2), "Reserved", 0}, 1280ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 1281ff879b07SJung-uk Kim }; 1282ff879b07SJung-uk Kim 1283ff879b07SJung-uk Kim /* PMTT Subtables */ 1284ff879b07SJung-uk Kim 1285ff879b07SJung-uk Kim /* 0: Socket */ 1286ff879b07SJung-uk Kim 1287ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoPmtt0[] = 1288ff879b07SJung-uk Kim { 1289ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_PMTT0_OFFSET (SocketId), "Socket ID", 0}, 1290ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_PMTT0_OFFSET (Reserved), "Reserved", 0}, 1291ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 1292ff879b07SJung-uk Kim }; 1293ff879b07SJung-uk Kim 1294ff879b07SJung-uk Kim /* 1: Memory Controller */ 1295ff879b07SJung-uk Kim 1296ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoPmtt1[] = 1297ff879b07SJung-uk Kim { 1298ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_PMTT1_OFFSET (ReadLatency), "Read Latency", 0}, 1299ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_PMTT1_OFFSET (WriteLatency), "Write Latency", 0}, 1300ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_PMTT1_OFFSET (ReadBandwidth), "Read Bandwidth", 0}, 1301ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_PMTT1_OFFSET (WriteBandwidth), "Write Bandwidth", 0}, 1302ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_PMTT1_OFFSET (AccessWidth), "Access Width", 0}, 1303ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_PMTT1_OFFSET (Alignment), "Alignment", 0}, 1304ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_PMTT1_OFFSET (Reserved), "Reserved", 0}, 1305ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_PMTT1_OFFSET (DomainCount), "Domain Count", 0}, 1306ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 1307ff879b07SJung-uk Kim }; 1308ff879b07SJung-uk Kim 1309ff879b07SJung-uk Kim /* 1a: Proximity Domain */ 1310ff879b07SJung-uk Kim 1311ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoPmtt1a[] = 1312ff879b07SJung-uk Kim { 1313ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_PMTT1A_OFFSET (ProximityDomain), "Proximity Domain", 0}, 1314ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 1315ff879b07SJung-uk Kim }; 1316ff879b07SJung-uk Kim 1317ff879b07SJung-uk Kim /* 2: Physical Component */ 1318ff879b07SJung-uk Kim 1319ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoPmtt2[] = 1320ff879b07SJung-uk Kim { 1321ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_PMTT2_OFFSET (ComponentId), "Component ID", 0}, 1322ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_PMTT2_OFFSET (Reserved), "Reserved", 0}, 1323ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_PMTT2_OFFSET (MemorySize), "Memory Size", 0}, 1324ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_PMTT2_OFFSET (BiosHandle), "Bios Handle", 0}, 1325ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 1326ff879b07SJung-uk Kim }; 1327ff879b07SJung-uk Kim 1328ff879b07SJung-uk Kim 1329ff879b07SJung-uk Kim /******************************************************************************* 1330ff879b07SJung-uk Kim * 1331ff879b07SJung-uk Kim * PPTT - Processor Properties Topology Table (ACPI 6.2) 1332ff879b07SJung-uk Kim * 1333ff879b07SJung-uk Kim ******************************************************************************/ 1334ff879b07SJung-uk Kim 1335ff879b07SJung-uk Kim /* Main table consists of only the standard ACPI header - subtables follow */ 1336ff879b07SJung-uk Kim 1337ff879b07SJung-uk Kim /* Common Subtable header (one per Subtable) */ 1338ff879b07SJung-uk Kim 1339ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoPpttHdr[] = 1340ff879b07SJung-uk Kim { 1341ff879b07SJung-uk Kim {ACPI_DMT_PPTT, ACPI_PPTTH_OFFSET (Type), "Subtable Type", 0}, 1342ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_PPTTH_OFFSET (Length), "Length", 0}, 1343ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 1344ff879b07SJung-uk Kim }; 1345ff879b07SJung-uk Kim 1346ff879b07SJung-uk Kim /* 0: Processor hierarchy node */ 1347ff879b07SJung-uk Kim 1348ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoPptt0[] = 1349ff879b07SJung-uk Kim { 1350ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_PPTT0_OFFSET (Reserved), "Reserved", 0}, 1351ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_PPTT0_OFFSET (Flags), "Flags (decoded below)", 0}, 1352ff879b07SJung-uk Kim {ACPI_DMT_FLAG0, ACPI_PPTT0_FLAG_OFFSET (Flags,0), "Physical package", 0}, 1353ff879b07SJung-uk Kim {ACPI_DMT_FLAG1, ACPI_PPTT0_FLAG_OFFSET (Flags,0), "ACPI Processor ID valid", 0}, 1354*cd6518c7SJung-uk Kim {ACPI_DMT_FLAG2, ACPI_PPTT0_FLAG_OFFSET (Flags,0), "Processor is a thread", 0}, 1355*cd6518c7SJung-uk Kim {ACPI_DMT_FLAG3, ACPI_PPTT0_FLAG_OFFSET (Flags,0), "Node is a leaf", 0}, 1356*cd6518c7SJung-uk Kim {ACPI_DMT_FLAG4, ACPI_PPTT0_FLAG_OFFSET (Flags,0), "Identical Implementation", 0}, 1357ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_PPTT0_OFFSET (Parent), "Parent", 0}, 1358ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_PPTT0_OFFSET (AcpiProcessorId), "ACPI Processor ID", 0}, 1359ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_PPTT0_OFFSET (NumberOfPrivResources), "Private Resource Number", 0}, 1360ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 1361ff879b07SJung-uk Kim }; 1362ff879b07SJung-uk Kim 1363ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoPptt0a[] = 1364ff879b07SJung-uk Kim { 1365ff879b07SJung-uk Kim {ACPI_DMT_UINT32, 0, "Private Resource", DT_OPTIONAL}, 1366ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 1367ff879b07SJung-uk Kim }; 1368ff879b07SJung-uk Kim 1369ff879b07SJung-uk Kim /* 1: Cache type */ 1370ff879b07SJung-uk Kim 1371ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoPptt1[] = 1372ff879b07SJung-uk Kim { 1373ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_PPTT1_OFFSET (Reserved), "Reserved", 0}, 1374ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_PPTT1_OFFSET (Flags), "Flags (decoded below)", 0}, 1375ff879b07SJung-uk Kim {ACPI_DMT_FLAG0, ACPI_PPTT1_FLAG_OFFSET (Flags,0), "Size valid", 0}, 1376ff879b07SJung-uk Kim {ACPI_DMT_FLAG1, ACPI_PPTT1_FLAG_OFFSET (Flags,0), "Number of Sets valid", 0}, 1377ff879b07SJung-uk Kim {ACPI_DMT_FLAG2, ACPI_PPTT1_FLAG_OFFSET (Flags,0), "Associativity valid", 0}, 1378ff879b07SJung-uk Kim {ACPI_DMT_FLAG3, ACPI_PPTT1_FLAG_OFFSET (Flags,0), "Allocation Type valid", 0}, 1379ff879b07SJung-uk Kim {ACPI_DMT_FLAG4, ACPI_PPTT1_FLAG_OFFSET (Flags,0), "Cache Type valid", 0}, 1380ff879b07SJung-uk Kim {ACPI_DMT_FLAG5, ACPI_PPTT1_FLAG_OFFSET (Flags,0), "Write Policy valid", 0}, 1381ff879b07SJung-uk Kim {ACPI_DMT_FLAG6, ACPI_PPTT1_FLAG_OFFSET (Flags,0), "Line Size valid", 0}, 1382ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_PPTT1_OFFSET (NextLevelOfCache), "Next Level of Cache", 0}, 1383ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_PPTT1_OFFSET (Size), "Size", 0}, 1384ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_PPTT1_OFFSET (NumberOfSets), "Number of Sets", 0}, 1385ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_PPTT1_OFFSET (Associativity), "Associativity", 0}, 1386ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_PPTT1_OFFSET (Attributes), "Attributes", 0}, 1387ff879b07SJung-uk Kim {ACPI_DMT_FLAGS0, ACPI_PPTT1_OFFSET (Attributes), "Allocation Type", 0}, 1388ff879b07SJung-uk Kim {ACPI_DMT_FLAGS2, ACPI_PPTT1_OFFSET (Attributes), "Cache Type", 0}, 1389ff879b07SJung-uk Kim {ACPI_DMT_FLAG4, ACPI_PPTT1_OFFSET (Attributes), "Write Policy", 0}, 1390ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_PPTT1_OFFSET (LineSize), "Line Size", 0}, 1391ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 1392ff879b07SJung-uk Kim }; 1393ff879b07SJung-uk Kim 1394ff879b07SJung-uk Kim /* 2: ID */ 1395ff879b07SJung-uk Kim 1396ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoPptt2[] = 1397ff879b07SJung-uk Kim { 1398ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_PPTT2_OFFSET (Reserved), "Reserved", 0}, 1399*cd6518c7SJung-uk Kim {ACPI_DMT_UINT32, ACPI_PPTT2_OFFSET (VendorId), "Vendor ID", 0}, 1400*cd6518c7SJung-uk Kim {ACPI_DMT_UINT64, ACPI_PPTT2_OFFSET (Level1Id), "Level1 ID", 0}, 1401*cd6518c7SJung-uk Kim {ACPI_DMT_UINT64, ACPI_PPTT2_OFFSET (Level2Id), "Level2 ID", 0}, 1402*cd6518c7SJung-uk Kim {ACPI_DMT_UINT16, ACPI_PPTT2_OFFSET (MajorRev), "Major revision", 0}, 1403*cd6518c7SJung-uk Kim {ACPI_DMT_UINT16, ACPI_PPTT2_OFFSET (MinorRev), "Minor revision", 0}, 1404*cd6518c7SJung-uk Kim {ACPI_DMT_UINT16, ACPI_PPTT2_OFFSET (SpinRev), "Spin revision", 0}, 1405ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 1406ff879b07SJung-uk Kim }; 1407ff879b07SJung-uk Kim 1408ff879b07SJung-uk Kim 1409ff879b07SJung-uk Kim /******************************************************************************* 1410ff879b07SJung-uk Kim * 1411ff879b07SJung-uk Kim * RASF - RAS Feature table 1412ff879b07SJung-uk Kim * 1413ff879b07SJung-uk Kim ******************************************************************************/ 1414ff879b07SJung-uk Kim 1415ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoRasf[] = 1416ff879b07SJung-uk Kim { 1417ff879b07SJung-uk Kim {ACPI_DMT_BUF12, ACPI_RASF_OFFSET (ChannelId[0]), "Channel ID", 0}, 1418ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 1419ff879b07SJung-uk Kim }; 1420ff879b07SJung-uk Kim 1421ff879b07SJung-uk Kim 1422ff879b07SJung-uk Kim /******************************************************************************* 1423ff879b07SJung-uk Kim * 1424ff879b07SJung-uk Kim * S3PT - S3 Performance Table 1425ff879b07SJung-uk Kim * 1426ff879b07SJung-uk Kim ******************************************************************************/ 1427ff879b07SJung-uk Kim 1428ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoS3pt[] = 1429ff879b07SJung-uk Kim { 1430ff879b07SJung-uk Kim {ACPI_DMT_SIG, ACPI_S3PT_OFFSET (Signature[0]), "Signature", 0}, 1431ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_S3PT_OFFSET (Length), "Length", DT_LENGTH}, 1432ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 1433ff879b07SJung-uk Kim }; 1434ff879b07SJung-uk Kim 1435ff879b07SJung-uk Kim /* S3PT subtable header */ 1436ff879b07SJung-uk Kim 1437ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoS3ptHdr[] = 1438ff879b07SJung-uk Kim { 1439ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_S3PTH_OFFSET (Type), "Type", 0}, 1440ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_S3PTH_OFFSET (Length), "Length", DT_LENGTH}, 1441ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_S3PTH_OFFSET (Revision), "Revision", 0}, 1442ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 1443ff879b07SJung-uk Kim }; 1444ff879b07SJung-uk Kim 1445ff879b07SJung-uk Kim /* 0: Basic S3 Resume Performance Record */ 1446ff879b07SJung-uk Kim 1447ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoS3pt0[] = 1448ff879b07SJung-uk Kim { 1449ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_S3PT0_OFFSET (ResumeCount), "Resume Count", 0}, 1450ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_S3PT0_OFFSET (FullResume), "Full Resume", 0}, 1451ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_S3PT0_OFFSET (AverageResume), "Average Resume", 0}, 1452ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 1453ff879b07SJung-uk Kim }; 1454ff879b07SJung-uk Kim 1455ff879b07SJung-uk Kim /* 1: Basic S3 Suspend Performance Record */ 1456ff879b07SJung-uk Kim 1457ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoS3pt1[] = 1458ff879b07SJung-uk Kim { 1459ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_S3PT1_OFFSET (SuspendStart), "Suspend Start", 0}, 1460ff879b07SJung-uk Kim {ACPI_DMT_UINT64, ACPI_S3PT1_OFFSET (SuspendEnd), "Suspend End", 0}, 1461ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 1462ff879b07SJung-uk Kim }; 1463ff879b07SJung-uk Kim 1464ff879b07SJung-uk Kim 1465ff879b07SJung-uk Kim /******************************************************************************* 1466ff879b07SJung-uk Kim * 1467ff879b07SJung-uk Kim * SBST - Smart Battery Specification Table 1468ff879b07SJung-uk Kim * 1469ff879b07SJung-uk Kim ******************************************************************************/ 1470ff879b07SJung-uk Kim 1471ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoSbst[] = 1472ff879b07SJung-uk Kim { 1473ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_SBST_OFFSET (WarningLevel), "Warning Level", 0}, 1474ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_SBST_OFFSET (LowLevel), "Low Level", 0}, 1475ff879b07SJung-uk Kim {ACPI_DMT_UINT32, ACPI_SBST_OFFSET (CriticalLevel), "Critical Level", 0}, 1476ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 1477ff879b07SJung-uk Kim }; 1478ff879b07SJung-uk Kim 1479ff879b07SJung-uk Kim 1480ff879b07SJung-uk Kim /******************************************************************************* 1481ff879b07SJung-uk Kim * 1482*cd6518c7SJung-uk Kim * SDEI - Software Delegated Exception Interface Descriptor Table 1483ff879b07SJung-uk Kim * 1484ff879b07SJung-uk Kim ******************************************************************************/ 1485ff879b07SJung-uk Kim 1486ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoSdei[] = 1487ff879b07SJung-uk Kim { 1488ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 1489ff879b07SJung-uk Kim }; 1490ff879b07SJung-uk Kim 1491ff879b07SJung-uk Kim 1492ff879b07SJung-uk Kim /******************************************************************************* 1493ff879b07SJung-uk Kim * 1494ff879b07SJung-uk Kim * SDEV - Secure Devices Table (ACPI 6.2) 1495ff879b07SJung-uk Kim * 1496ff879b07SJung-uk Kim ******************************************************************************/ 1497ff879b07SJung-uk Kim 1498ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoSdev[] = 1499ff879b07SJung-uk Kim { 1500ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 1501ff879b07SJung-uk Kim }; 1502ff879b07SJung-uk Kim 1503ff879b07SJung-uk Kim /* Common Subtable header (one per Subtable) */ 1504ff879b07SJung-uk Kim 1505ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoSdevHdr[] = 1506ff879b07SJung-uk Kim { 1507ff879b07SJung-uk Kim {ACPI_DMT_SDEV, ACPI_SDEVH_OFFSET (Type), "Subtable Type", 0}, 1508ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_SDEVH_OFFSET (Flags), "Flags (decoded below)", 0}, 1509ff879b07SJung-uk Kim {ACPI_DMT_FLAG0, ACPI_SDEVH_FLAG_OFFSET (Flags,0), "Allow handoff to unsecure OS", 0}, 1510ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_SDEVH_OFFSET (Length), "Length", 0}, 1511ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 1512ff879b07SJung-uk Kim }; 1513ff879b07SJung-uk Kim 1514ff879b07SJung-uk Kim /* SDEV Subtables */ 1515ff879b07SJung-uk Kim 1516ff879b07SJung-uk Kim /* 0: Namespace Device Based Secure Device Structure */ 1517ff879b07SJung-uk Kim 1518ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoSdev0[] = 1519ff879b07SJung-uk Kim { 1520ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_SDEV0_OFFSET (DeviceIdOffset), "Device ID Offset", 0}, 1521ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_SDEV0_OFFSET (DeviceIdLength), "Device ID Length", 0}, 1522ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_SDEV0_OFFSET (VendorDataOffset), "Vendor Data Offset", 0}, 1523ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_SDEV0_OFFSET (VendorDataLength), "Vendor Data Length", 0}, 1524ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 1525ff879b07SJung-uk Kim }; 1526ff879b07SJung-uk Kim 1527ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoSdev0a[] = 1528ff879b07SJung-uk Kim { 1529ff879b07SJung-uk Kim {ACPI_DMT_STRING, 0, "Namepath", 0}, 1530ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 1531ff879b07SJung-uk Kim }; 1532ff879b07SJung-uk Kim 1533ff879b07SJung-uk Kim /* 1: PCIe Endpoint Device Based Device Structure */ 1534ff879b07SJung-uk Kim 1535ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoSdev1[] = 1536ff879b07SJung-uk Kim { 1537ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_SDEV1_OFFSET (Segment), "Segment", 0}, 1538ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_SDEV1_OFFSET (StartBus), "Start Bus", 0}, 1539ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_SDEV1_OFFSET (PathOffset), "Path Offset", 0}, 1540ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_SDEV1_OFFSET (PathLength), "Path Length", 0}, 1541ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_SDEV1_OFFSET (VendorDataOffset), "Vendor Data Offset", 0}, 1542ff879b07SJung-uk Kim {ACPI_DMT_UINT16, ACPI_SDEV1_OFFSET (VendorDataLength), "Vendor Data Length", 0}, 1543ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 1544ff879b07SJung-uk Kim }; 1545ff879b07SJung-uk Kim 1546ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoSdev1a[] = 1547ff879b07SJung-uk Kim { 1548ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_SDEV1A_OFFSET (Device), "Device", 0}, 1549ff879b07SJung-uk Kim {ACPI_DMT_UINT8, ACPI_SDEV1A_OFFSET (Function), "Function", 0}, 1550ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 1551ff879b07SJung-uk Kim }; 1552ff879b07SJung-uk Kim 1553ff879b07SJung-uk Kim ACPI_DMTABLE_INFO AcpiDmTableInfoSdev1b[] = 1554ff879b07SJung-uk Kim { 1555ff879b07SJung-uk Kim {ACPI_DMT_RAW_BUFFER, 0, "Vendor Data", 0}, /*, DT_OPTIONAL}, */ 1556ff879b07SJung-uk Kim ACPI_DMT_TERMINATOR 1557ff879b07SJung-uk Kim }; 1558ff879b07SJung-uk Kim /*! [End] no source code translation !*/ 1559