17c478bd9Sstevel@tonic-gate /****************************************************************************** 27c478bd9Sstevel@tonic-gate * 327f7c583Smyers * Name: actbl.h - Basic ACPI Table Definitions 47c478bd9Sstevel@tonic-gate * 57c478bd9Sstevel@tonic-gate *****************************************************************************/ 67c478bd9Sstevel@tonic-gate 7*35786f68SRobert Mustacchi /****************************************************************************** 8*35786f68SRobert Mustacchi * 9*35786f68SRobert Mustacchi * 1. Copyright Notice 10*35786f68SRobert Mustacchi * 11*35786f68SRobert Mustacchi * Some or all of this work - Copyright (c) 1999 - 2018, Intel Corp. 127c478bd9Sstevel@tonic-gate * All rights reserved. 137c478bd9Sstevel@tonic-gate * 14*35786f68SRobert Mustacchi * 2. License 15*35786f68SRobert Mustacchi * 16*35786f68SRobert Mustacchi * 2.1. This is your license from Intel Corp. under its intellectual property 17*35786f68SRobert Mustacchi * rights. You may have additional license terms from the party that provided 18*35786f68SRobert Mustacchi * you this software, covering your right to use that party's intellectual 19*35786f68SRobert Mustacchi * property rights. 20*35786f68SRobert Mustacchi * 21*35786f68SRobert Mustacchi * 2.2. Intel grants, free of charge, to any person ("Licensee") obtaining a 22*35786f68SRobert Mustacchi * copy of the source code appearing in this file ("Covered Code") an 23*35786f68SRobert Mustacchi * irrevocable, perpetual, worldwide license under Intel's copyrights in the 24*35786f68SRobert Mustacchi * base code distributed originally by Intel ("Original Intel Code") to copy, 25*35786f68SRobert Mustacchi * make derivatives, distribute, use and display any portion of the Covered 26*35786f68SRobert Mustacchi * Code in any form, with the right to sublicense such rights; and 27*35786f68SRobert Mustacchi * 28*35786f68SRobert Mustacchi * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent 29*35786f68SRobert Mustacchi * license (with the right to sublicense), under only those claims of Intel 30*35786f68SRobert Mustacchi * patents that are infringed by the Original Intel Code, to make, use, sell, 31*35786f68SRobert Mustacchi * offer to sell, and import the Covered Code and derivative works thereof 32*35786f68SRobert Mustacchi * solely to the minimum extent necessary to exercise the above copyright 33*35786f68SRobert Mustacchi * license, and in no event shall the patent license extend to any additions 34*35786f68SRobert Mustacchi * to or modifications of the Original Intel Code. No other license or right 35*35786f68SRobert Mustacchi * is granted directly or by implication, estoppel or otherwise; 36*35786f68SRobert Mustacchi * 37*35786f68SRobert Mustacchi * The above copyright and patent license is granted only if the following 38*35786f68SRobert Mustacchi * conditions are met: 39*35786f68SRobert Mustacchi * 40*35786f68SRobert Mustacchi * 3. Conditions 41*35786f68SRobert Mustacchi * 42*35786f68SRobert Mustacchi * 3.1. Redistribution of Source with Rights to Further Distribute Source. 43*35786f68SRobert Mustacchi * Redistribution of source code of any substantial portion of the Covered 44*35786f68SRobert Mustacchi * Code or modification with rights to further distribute source must include 45*35786f68SRobert Mustacchi * the above Copyright Notice, the above License, this list of Conditions, 46*35786f68SRobert Mustacchi * and the following Disclaimer and Export Compliance provision. In addition, 47*35786f68SRobert Mustacchi * Licensee must cause all Covered Code to which Licensee contributes to 48*35786f68SRobert Mustacchi * contain a file documenting the changes Licensee made to create that Covered 49*35786f68SRobert Mustacchi * Code and the date of any change. Licensee must include in that file the 50*35786f68SRobert Mustacchi * documentation of any changes made by any predecessor Licensee. Licensee 51*35786f68SRobert Mustacchi * must include a prominent statement that the modification is derived, 52*35786f68SRobert Mustacchi * directly or indirectly, from Original Intel Code. 53*35786f68SRobert Mustacchi * 54*35786f68SRobert Mustacchi * 3.2. Redistribution of Source with no Rights to Further Distribute Source. 55*35786f68SRobert Mustacchi * Redistribution of source code of any substantial portion of the Covered 56*35786f68SRobert Mustacchi * Code or modification without rights to further distribute source must 57*35786f68SRobert Mustacchi * include the following Disclaimer and Export Compliance provision in the 58*35786f68SRobert Mustacchi * documentation and/or other materials provided with distribution. In 59*35786f68SRobert Mustacchi * addition, Licensee may not authorize further sublicense of source of any 60*35786f68SRobert Mustacchi * portion of the Covered Code, and must include terms to the effect that the 61*35786f68SRobert Mustacchi * license from Licensee to its licensee is limited to the intellectual 62*35786f68SRobert Mustacchi * property embodied in the software Licensee provides to its licensee, and 63*35786f68SRobert Mustacchi * not to intellectual property embodied in modifications its licensee may 64*35786f68SRobert Mustacchi * make. 65*35786f68SRobert Mustacchi * 66*35786f68SRobert Mustacchi * 3.3. Redistribution of Executable. Redistribution in executable form of any 67*35786f68SRobert Mustacchi * substantial portion of the Covered Code or modification must reproduce the 68*35786f68SRobert Mustacchi * above Copyright Notice, and the following Disclaimer and Export Compliance 69*35786f68SRobert Mustacchi * provision in the documentation and/or other materials provided with the 70*35786f68SRobert Mustacchi * distribution. 71*35786f68SRobert Mustacchi * 72*35786f68SRobert Mustacchi * 3.4. Intel retains all right, title, and interest in and to the Original 73*35786f68SRobert Mustacchi * Intel Code. 74*35786f68SRobert Mustacchi * 75*35786f68SRobert Mustacchi * 3.5. Neither the name Intel nor any other trademark owned or controlled by 76*35786f68SRobert Mustacchi * Intel shall be used in advertising or otherwise to promote the sale, use or 77*35786f68SRobert Mustacchi * other dealings in products derived from or relating to the Covered Code 78*35786f68SRobert Mustacchi * without prior written authorization from Intel. 79*35786f68SRobert Mustacchi * 80*35786f68SRobert Mustacchi * 4. Disclaimer and Export Compliance 81*35786f68SRobert Mustacchi * 82*35786f68SRobert Mustacchi * 4.1. INTEL MAKES NO WARRANTY OF ANY KIND REGARDING ANY SOFTWARE PROVIDED 83*35786f68SRobert Mustacchi * HERE. ANY SOFTWARE ORIGINATING FROM INTEL OR DERIVED FROM INTEL SOFTWARE 84*35786f68SRobert Mustacchi * IS PROVIDED "AS IS," AND INTEL WILL NOT PROVIDE ANY SUPPORT, ASSISTANCE, 85*35786f68SRobert Mustacchi * INSTALLATION, TRAINING OR OTHER SERVICES. INTEL WILL NOT PROVIDE ANY 86*35786f68SRobert Mustacchi * UPDATES, ENHANCEMENTS OR EXTENSIONS. INTEL SPECIFICALLY DISCLAIMS ANY 87*35786f68SRobert Mustacchi * IMPLIED WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT AND FITNESS FOR A 88*35786f68SRobert Mustacchi * PARTICULAR PURPOSE. 89*35786f68SRobert Mustacchi * 90*35786f68SRobert Mustacchi * 4.2. IN NO EVENT SHALL INTEL HAVE ANY LIABILITY TO LICENSEE, ITS LICENSEES 91*35786f68SRobert Mustacchi * OR ANY OTHER THIRD PARTY, FOR ANY LOST PROFITS, LOST DATA, LOSS OF USE OR 92*35786f68SRobert Mustacchi * COSTS OF PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY INDIRECT, 93*35786f68SRobert Mustacchi * SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THIS AGREEMENT, UNDER ANY 94*35786f68SRobert Mustacchi * CAUSE OF ACTION OR THEORY OF LIABILITY, AND IRRESPECTIVE OF WHETHER INTEL 95*35786f68SRobert Mustacchi * HAS ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES. THESE LIMITATIONS 96*35786f68SRobert Mustacchi * SHALL APPLY NOTWITHSTANDING THE FAILURE OF THE ESSENTIAL PURPOSE OF ANY 97*35786f68SRobert Mustacchi * LIMITED REMEDY. 98*35786f68SRobert Mustacchi * 99*35786f68SRobert Mustacchi * 4.3. Licensee shall not export, either directly or indirectly, any of this 100*35786f68SRobert Mustacchi * software or system incorporating such software without first obtaining any 101*35786f68SRobert Mustacchi * required license or other approval from the U. S. Department of Commerce or 102*35786f68SRobert Mustacchi * any other agency or department of the United States Government. In the 103*35786f68SRobert Mustacchi * event Licensee exports any such software from the United States or 104*35786f68SRobert Mustacchi * re-exports any such software from a foreign destination, Licensee shall 105*35786f68SRobert Mustacchi * ensure that the distribution and export/re-export of the software is in 106*35786f68SRobert Mustacchi * compliance with all laws, regulations, orders, or other restrictions of the 107*35786f68SRobert Mustacchi * U.S. Export Administration Regulations. Licensee agrees that neither it nor 108*35786f68SRobert Mustacchi * any of its subsidiaries will export/re-export any technical data, process, 109*35786f68SRobert Mustacchi * software, or service, directly or indirectly, to any country for which the 110*35786f68SRobert Mustacchi * United States government or any agency thereof requires an export license, 111*35786f68SRobert Mustacchi * other governmental approval, or letter of assurance, without first obtaining 112*35786f68SRobert Mustacchi * such license, approval or letter. 113*35786f68SRobert Mustacchi * 114*35786f68SRobert Mustacchi ***************************************************************************** 115*35786f68SRobert Mustacchi * 116*35786f68SRobert Mustacchi * Alternatively, you may choose to be licensed under the terms of the 117*35786f68SRobert Mustacchi * following license: 118*35786f68SRobert Mustacchi * 11926f3cdf0SGordon Ross * Redistribution and use in source and binary forms, with or without 12026f3cdf0SGordon Ross * modification, are permitted provided that the following conditions 12126f3cdf0SGordon Ross * are met: 12226f3cdf0SGordon Ross * 1. Redistributions of source code must retain the above copyright 12326f3cdf0SGordon Ross * notice, this list of conditions, and the following disclaimer, 12426f3cdf0SGordon Ross * without modification. 12526f3cdf0SGordon Ross * 2. Redistributions in binary form must reproduce at minimum a disclaimer 12626f3cdf0SGordon Ross * substantially similar to the "NO WARRANTY" disclaimer below 12726f3cdf0SGordon Ross * ("Disclaimer") and any redistribution must be conditioned upon 12826f3cdf0SGordon Ross * including a substantially similar Disclaimer requirement for further 12926f3cdf0SGordon Ross * binary redistribution. 13026f3cdf0SGordon Ross * 3. Neither the names of the above-listed copyright holders nor the names 13126f3cdf0SGordon Ross * of any contributors may be used to endorse or promote products derived 13226f3cdf0SGordon Ross * from this software without specific prior written permission. 13326f3cdf0SGordon Ross * 13426f3cdf0SGordon Ross * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 13526f3cdf0SGordon Ross * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 136*35786f68SRobert Mustacchi * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 13726f3cdf0SGordon Ross * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 138*35786f68SRobert Mustacchi * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 139*35786f68SRobert Mustacchi * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 140*35786f68SRobert Mustacchi * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 141*35786f68SRobert Mustacchi * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 142*35786f68SRobert Mustacchi * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 143*35786f68SRobert Mustacchi * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 144*35786f68SRobert Mustacchi * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 145*35786f68SRobert Mustacchi * 146*35786f68SRobert Mustacchi * Alternatively, you may choose to be licensed under the terms of the 147*35786f68SRobert Mustacchi * GNU General Public License ("GPL") version 2 as published by the Free 148*35786f68SRobert Mustacchi * Software Foundation. 149*35786f68SRobert Mustacchi * 150*35786f68SRobert Mustacchi *****************************************************************************/ 1517c478bd9Sstevel@tonic-gate 1527c478bd9Sstevel@tonic-gate #ifndef __ACTBL_H__ 1537c478bd9Sstevel@tonic-gate #define __ACTBL_H__ 1547c478bd9Sstevel@tonic-gate 15557190917SDana Myers 15657190917SDana Myers /******************************************************************************* 15757190917SDana Myers * 15857190917SDana Myers * Fundamental ACPI tables 15957190917SDana Myers * 16057190917SDana Myers * This file contains definitions for the ACPI tables that are directly consumed 16157190917SDana Myers * by ACPICA. All other tables are consumed by the OS-dependent ACPI-related 16257190917SDana Myers * device drivers and other OS support code. 16357190917SDana Myers * 16457190917SDana Myers * The RSDP and FACS do not use the common ACPI table header. All other ACPI 16557190917SDana Myers * tables use the header. 16657190917SDana Myers * 16757190917SDana Myers ******************************************************************************/ 16857190917SDana Myers 16957190917SDana Myers 1707c478bd9Sstevel@tonic-gate /* 17157190917SDana Myers * Values for description table header signatures for tables defined in this 17257190917SDana Myers * file. Useful because they make it more difficult to inadvertently type in 17357190917SDana Myers * the wrong signature. 1747c478bd9Sstevel@tonic-gate */ 175db2bae30SDana Myers #define ACPI_SIG_DSDT "DSDT" /* Differentiated System Description Table */ 176db2bae30SDana Myers #define ACPI_SIG_FADT "FACP" /* Fixed ACPI Description Table */ 177db2bae30SDana Myers #define ACPI_SIG_FACS "FACS" /* Firmware ACPI Control Structure */ 1787b1019a6SJerry Jelinek #define ACPI_SIG_OSDT "OSDT" /* Override System Description Table */ 179db2bae30SDana Myers #define ACPI_SIG_PSDT "PSDT" /* Persistent System Description Table */ 180db2bae30SDana Myers #define ACPI_SIG_RSDP "RSD PTR " /* Root System Description Pointer */ 181db2bae30SDana Myers #define ACPI_SIG_RSDT "RSDT" /* Root System Description Table */ 182db2bae30SDana Myers #define ACPI_SIG_XSDT "XSDT" /* Extended System Description Table */ 183db2bae30SDana Myers #define ACPI_SIG_SSDT "SSDT" /* Secondary System Description Table */ 184db2bae30SDana Myers #define ACPI_RSDP_NAME "RSDP" /* Short name for RSDP, not signature */ 1857c478bd9Sstevel@tonic-gate 1867c478bd9Sstevel@tonic-gate 1877c478bd9Sstevel@tonic-gate /* 18827f7c583Smyers * All tables and structures must be byte-packed to match the ACPI 18927f7c583Smyers * specification, since the tables are provided by the system BIOS 1907c478bd9Sstevel@tonic-gate */ 1917c478bd9Sstevel@tonic-gate #pragma pack(1) 1927c478bd9Sstevel@tonic-gate 1937c478bd9Sstevel@tonic-gate /* 1947b1019a6SJerry Jelinek * Note: C bitfields are not used for this reason: 1957b1019a6SJerry Jelinek * 1967b1019a6SJerry Jelinek * "Bitfields are great and easy to read, but unfortunately the C language 1977b1019a6SJerry Jelinek * does not specify the layout of bitfields in memory, which means they are 1987b1019a6SJerry Jelinek * essentially useless for dealing with packed data in on-disk formats or 1997b1019a6SJerry Jelinek * binary wire protocols." (Or ACPI tables and buffers.) "If you ask me, 2007b1019a6SJerry Jelinek * this decision was a design error in C. Ritchie could have picked an order 2017b1019a6SJerry Jelinek * and stuck with it." Norman Ramsey. 2027b1019a6SJerry Jelinek * See http://stackoverflow.com/a/1053662/41661 2037c478bd9Sstevel@tonic-gate */ 2047c478bd9Sstevel@tonic-gate 20557190917SDana Myers 20627f7c583Smyers /******************************************************************************* 20727f7c583Smyers * 20857190917SDana Myers * Master ACPI Table Header. This common header is used by all ACPI tables 20957190917SDana Myers * except the RSDP and FACS. 21027f7c583Smyers * 21127f7c583Smyers ******************************************************************************/ 2127c478bd9Sstevel@tonic-gate 21327f7c583Smyers typedef struct acpi_table_header 2147c478bd9Sstevel@tonic-gate { 215db2bae30SDana Myers char Signature[ACPI_NAME_SIZE]; /* ASCII table signature */ 216db2bae30SDana Myers UINT32 Length; /* Length of table in bytes, including this header */ 2177b1019a6SJerry Jelinek UINT8 Revision; /* ACPI Specification minor version number */ 218db2bae30SDana Myers UINT8 Checksum; /* To make sum of entire table == 0 */ 219db2bae30SDana Myers char OemId[ACPI_OEM_ID_SIZE]; /* ASCII OEM identification */ 220db2bae30SDana Myers char OemTableId[ACPI_OEM_TABLE_ID_SIZE]; /* ASCII OEM table identification */ 221db2bae30SDana Myers UINT32 OemRevision; /* OEM revision number */ 222db2bae30SDana Myers char AslCompilerId[ACPI_NAME_SIZE]; /* ASCII ASL compiler vendor ID */ 223db2bae30SDana Myers UINT32 AslCompilerRevision; /* ASL compiler version */ 2247c478bd9Sstevel@tonic-gate 2257c478bd9Sstevel@tonic-gate } ACPI_TABLE_HEADER; 2267c478bd9Sstevel@tonic-gate 2277c478bd9Sstevel@tonic-gate 22857190917SDana Myers /******************************************************************************* 22957190917SDana Myers * 23027f7c583Smyers * GAS - Generic Address Structure (ACPI 2.0+) 231db2bae30SDana Myers * 232db2bae30SDana Myers * Note: Since this structure is used in the ACPI tables, it is byte aligned. 2337b1019a6SJerry Jelinek * If misaligned access is not supported by the hardware, accesses to the 23457190917SDana Myers * 64-bit Address field must be performed with care. 23557190917SDana Myers * 23657190917SDana Myers ******************************************************************************/ 23757190917SDana Myers 23827f7c583Smyers typedef struct acpi_generic_address 23927f7c583Smyers { 240db2bae30SDana Myers UINT8 SpaceId; /* Address space where struct or register exists */ 241db2bae30SDana Myers UINT8 BitWidth; /* Size in bits of given register */ 242db2bae30SDana Myers UINT8 BitOffset; /* Bit offset within the register */ 24327f7c583Smyers UINT8 AccessWidth; /* Minimum Access size (ACPI 3.0) */ 24427f7c583Smyers UINT64 Address; /* 64-bit address of struct or register */ 2457c478bd9Sstevel@tonic-gate 24627f7c583Smyers } ACPI_GENERIC_ADDRESS; 2477c478bd9Sstevel@tonic-gate 2487c478bd9Sstevel@tonic-gate 24927f7c583Smyers /******************************************************************************* 25027f7c583Smyers * 25127f7c583Smyers * RSDP - Root System Description Pointer (Signature is "RSD PTR ") 25257190917SDana Myers * Version 2 25327f7c583Smyers * 25427f7c583Smyers ******************************************************************************/ 2557c478bd9Sstevel@tonic-gate 256db2bae30SDana Myers typedef struct acpi_table_rsdp 2577c478bd9Sstevel@tonic-gate { 258db2bae30SDana Myers char Signature[8]; /* ACPI signature, contains "RSD PTR " */ 259db2bae30SDana Myers UINT8 Checksum; /* ACPI 1.0 checksum */ 260db2bae30SDana Myers char OemId[ACPI_OEM_ID_SIZE]; /* OEM identification */ 261db2bae30SDana Myers UINT8 Revision; /* Must be (0) for ACPI 1.0 or (2) for ACPI 2.0+ */ 262db2bae30SDana Myers UINT32 RsdtPhysicalAddress; /* 32-bit physical address of the RSDT */ 263db2bae30SDana Myers UINT32 Length; /* Table length in bytes, including header (ACPI 2.0+) */ 264db2bae30SDana Myers UINT64 XsdtPhysicalAddress; /* 64-bit physical address of the XSDT (ACPI 2.0+) */ 265db2bae30SDana Myers UINT8 ExtendedChecksum; /* Checksum of entire table (ACPI 2.0+) */ 266db2bae30SDana Myers UINT8 Reserved[3]; /* Reserved, must be zero */ 267db2bae30SDana Myers 268db2bae30SDana Myers } ACPI_TABLE_RSDP; 269450d6964Smyers 27026f3cdf0SGordon Ross /* Standalone struct for the ACPI 1.0 RSDP */ 27126f3cdf0SGordon Ross 27226f3cdf0SGordon Ross typedef struct acpi_rsdp_common 27326f3cdf0SGordon Ross { 27426f3cdf0SGordon Ross char Signature[8]; 27526f3cdf0SGordon Ross UINT8 Checksum; 27626f3cdf0SGordon Ross char OemId[ACPI_OEM_ID_SIZE]; 27726f3cdf0SGordon Ross UINT8 Revision; 27826f3cdf0SGordon Ross UINT32 RsdtPhysicalAddress; 27926f3cdf0SGordon Ross 28026f3cdf0SGordon Ross } ACPI_RSDP_COMMON; 28126f3cdf0SGordon Ross 28226f3cdf0SGordon Ross /* Standalone struct for the extended part of the RSDP (ACPI 2.0+) */ 28326f3cdf0SGordon Ross 28426f3cdf0SGordon Ross typedef struct acpi_rsdp_extension 28526f3cdf0SGordon Ross { 28626f3cdf0SGordon Ross UINT32 Length; 28726f3cdf0SGordon Ross UINT64 XsdtPhysicalAddress; 28826f3cdf0SGordon Ross UINT8 ExtendedChecksum; 28926f3cdf0SGordon Ross UINT8 Reserved[3]; 29026f3cdf0SGordon Ross 29126f3cdf0SGordon Ross } ACPI_RSDP_EXTENSION; 2927c478bd9Sstevel@tonic-gate 2937c478bd9Sstevel@tonic-gate 29427f7c583Smyers /******************************************************************************* 29527f7c583Smyers * 29627f7c583Smyers * RSDT/XSDT - Root System Description Tables 29757190917SDana Myers * Version 1 (both) 29827f7c583Smyers * 29927f7c583Smyers ******************************************************************************/ 3007c478bd9Sstevel@tonic-gate 301db2bae30SDana Myers typedef struct acpi_table_rsdt 30227f7c583Smyers { 303db2bae30SDana Myers ACPI_TABLE_HEADER Header; /* Common ACPI table header */ 304db2bae30SDana Myers UINT32 TableOffsetEntry[1]; /* Array of pointers to ACPI tables */ 3057c478bd9Sstevel@tonic-gate 306db2bae30SDana Myers } ACPI_TABLE_RSDT; 3077c478bd9Sstevel@tonic-gate 308db2bae30SDana Myers typedef struct acpi_table_xsdt 3097c478bd9Sstevel@tonic-gate { 310db2bae30SDana Myers ACPI_TABLE_HEADER Header; /* Common ACPI table header */ 311db2bae30SDana Myers UINT64 TableOffsetEntry[1]; /* Array of pointers to ACPI tables */ 3127c478bd9Sstevel@tonic-gate 313db2bae30SDana Myers } ACPI_TABLE_XSDT; 3147c478bd9Sstevel@tonic-gate 3157b1019a6SJerry Jelinek #define ACPI_RSDT_ENTRY_SIZE (sizeof (UINT32)) 3167b1019a6SJerry Jelinek #define ACPI_XSDT_ENTRY_SIZE (sizeof (UINT64)) 3177b1019a6SJerry Jelinek 3187c478bd9Sstevel@tonic-gate 31927f7c583Smyers /******************************************************************************* 32027f7c583Smyers * 32127f7c583Smyers * FACS - Firmware ACPI Control Structure (FACS) 32227f7c583Smyers * 32327f7c583Smyers ******************************************************************************/ 3247c478bd9Sstevel@tonic-gate 325db2bae30SDana Myers typedef struct acpi_table_facs 32627f7c583Smyers { 32727f7c583Smyers char Signature[4]; /* ASCII table signature */ 32827f7c583Smyers UINT32 Length; /* Length of structure, in bytes */ 32927f7c583Smyers UINT32 HardwareSignature; /* Hardware configuration signature */ 33027f7c583Smyers UINT32 FirmwareWakingVector; /* 32-bit physical address of the Firmware Waking Vector */ 33127f7c583Smyers UINT32 GlobalLock; /* Global Lock for shared hardware resources */ 332db2bae30SDana Myers UINT32 Flags; 33327f7c583Smyers UINT64 XFirmwareWakingVector; /* 64-bit version of the Firmware Waking Vector (ACPI 2.0+) */ 33427f7c583Smyers UINT8 Version; /* Version of this table (ACPI 2.0+) */ 33557190917SDana Myers UINT8 Reserved[3]; /* Reserved, must be zero */ 33657190917SDana Myers UINT32 OspmFlags; /* Flags to be set by OSPM (ACPI 4.0) */ 33757190917SDana Myers UINT8 Reserved1[24]; /* Reserved, must be zero */ 3387c478bd9Sstevel@tonic-gate 339db2bae30SDana Myers } ACPI_TABLE_FACS; 3407c478bd9Sstevel@tonic-gate 34157190917SDana Myers /* Masks for GlobalLock flag field above */ 3427c478bd9Sstevel@tonic-gate 34357190917SDana Myers #define ACPI_GLOCK_PENDING (1) /* 00: Pending global lock ownership */ 34457190917SDana Myers #define ACPI_GLOCK_OWNED (1<<1) /* 01: Global lock is owned */ 3457c478bd9Sstevel@tonic-gate 34657190917SDana Myers /* Masks for Flags field above */ 3477c478bd9Sstevel@tonic-gate 34857190917SDana Myers #define ACPI_FACS_S4_BIOS_PRESENT (1) /* 00: S4BIOS support is present */ 34957190917SDana Myers #define ACPI_FACS_64BIT_WAKE (1<<1) /* 01: 64-bit wake vector supported (ACPI 4.0) */ 35057190917SDana Myers 35157190917SDana Myers /* Masks for OspmFlags field above */ 35257190917SDana Myers 35357190917SDana Myers #define ACPI_FACS_64BIT_ENVIRONMENT (1) /* 00: 64-bit wake environment is required (ACPI 4.0) */ 3547c478bd9Sstevel@tonic-gate 3557c478bd9Sstevel@tonic-gate 35627f7c583Smyers /******************************************************************************* 35727f7c583Smyers * 35827f7c583Smyers * FADT - Fixed ACPI Description Table (Signature "FACP") 3597b1019a6SJerry Jelinek * Version 6 36027f7c583Smyers * 36127f7c583Smyers ******************************************************************************/ 36227f7c583Smyers 36327f7c583Smyers /* Fields common to all versions of the FADT */ 36427f7c583Smyers 365db2bae30SDana Myers typedef struct acpi_table_fadt 3667c478bd9Sstevel@tonic-gate { 367db2bae30SDana Myers ACPI_TABLE_HEADER Header; /* Common ACPI table header */ 368db2bae30SDana Myers UINT32 Facs; /* 32-bit physical address of FACS */ 369db2bae30SDana Myers UINT32 Dsdt; /* 32-bit physical address of DSDT */ 370db2bae30SDana Myers UINT8 Model; /* System Interrupt Model (ACPI 1.0) - not used in ACPI 2.0+ */ 371db2bae30SDana Myers UINT8 PreferredProfile; /* Conveys preferred power management profile to OSPM. */ 372db2bae30SDana Myers UINT16 SciInterrupt; /* System vector of SCI interrupt */ 373db2bae30SDana Myers UINT32 SmiCommand; /* 32-bit Port address of SMI command port */ 3747b1019a6SJerry Jelinek UINT8 AcpiEnable; /* Value to write to SMI_CMD to enable ACPI */ 3757b1019a6SJerry Jelinek UINT8 AcpiDisable; /* Value to write to SMI_CMD to disable ACPI */ 3767b1019a6SJerry Jelinek UINT8 S4BiosRequest; /* Value to write to SMI_CMD to enter S4BIOS state */ 377db2bae30SDana Myers UINT8 PstateControl; /* Processor performance state control*/ 3787b1019a6SJerry Jelinek UINT32 Pm1aEventBlock; /* 32-bit port address of Power Mgt 1a Event Reg Blk */ 3797b1019a6SJerry Jelinek UINT32 Pm1bEventBlock; /* 32-bit port address of Power Mgt 1b Event Reg Blk */ 3807b1019a6SJerry Jelinek UINT32 Pm1aControlBlock; /* 32-bit port address of Power Mgt 1a Control Reg Blk */ 3817b1019a6SJerry Jelinek UINT32 Pm1bControlBlock; /* 32-bit port address of Power Mgt 1b Control Reg Blk */ 3827b1019a6SJerry Jelinek UINT32 Pm2ControlBlock; /* 32-bit port address of Power Mgt 2 Control Reg Blk */ 3837b1019a6SJerry Jelinek UINT32 PmTimerBlock; /* 32-bit port address of Power Mgt Timer Ctrl Reg Blk */ 3847b1019a6SJerry Jelinek UINT32 Gpe0Block; /* 32-bit port address of General Purpose Event 0 Reg Blk */ 3857b1019a6SJerry Jelinek UINT32 Gpe1Block; /* 32-bit port address of General Purpose Event 1 Reg Blk */ 386db2bae30SDana Myers UINT8 Pm1EventLength; /* Byte Length of ports at Pm1xEventBlock */ 387db2bae30SDana Myers UINT8 Pm1ControlLength; /* Byte Length of ports at Pm1xControlBlock */ 388db2bae30SDana Myers UINT8 Pm2ControlLength; /* Byte Length of ports at Pm2ControlBlock */ 389db2bae30SDana Myers UINT8 PmTimerLength; /* Byte Length of ports at PmTimerBlock */ 390db2bae30SDana Myers UINT8 Gpe0BlockLength; /* Byte Length of ports at Gpe0Block */ 391db2bae30SDana Myers UINT8 Gpe1BlockLength; /* Byte Length of ports at Gpe1Block */ 392db2bae30SDana Myers UINT8 Gpe1Base; /* Offset in GPE number space where GPE1 events start */ 3937b1019a6SJerry Jelinek UINT8 CstControl; /* Support for the _CST object and C-States change notification */ 394db2bae30SDana Myers UINT16 C2Latency; /* Worst case HW latency to enter/exit C2 state */ 395db2bae30SDana Myers UINT16 C3Latency; /* Worst case HW latency to enter/exit C3 state */ 3967b1019a6SJerry Jelinek UINT16 FlushSize; /* Processor memory cache line width, in bytes */ 397db2bae30SDana Myers UINT16 FlushStride; /* Number of flush strides that need to be read */ 3987b1019a6SJerry Jelinek UINT8 DutyOffset; /* Processor duty cycle index in processor P_CNT reg */ 399aa2aa9a6SDana Myers UINT8 DutyWidth; /* Processor duty cycle value bit width in P_CNT register */ 400db2bae30SDana Myers UINT8 DayAlarm; /* Index to day-of-month alarm in RTC CMOS RAM */ 401db2bae30SDana Myers UINT8 MonthAlarm; /* Index to month-of-year alarm in RTC CMOS RAM */ 402db2bae30SDana Myers UINT8 Century; /* Index to century in RTC CMOS RAM */ 403aa2aa9a6SDana Myers UINT16 BootFlags; /* IA-PC Boot Architecture Flags (see below for individual flags) */ 404db2bae30SDana Myers UINT8 Reserved; /* Reserved, must be zero */ 405db2bae30SDana Myers UINT32 Flags; /* Miscellaneous flag bits (see below for individual flags) */ 406db2bae30SDana Myers ACPI_GENERIC_ADDRESS ResetRegister; /* 64-bit address of the Reset register */ 40727f7c583Smyers UINT8 ResetValue; /* Value to write to the ResetRegister port to reset the system */ 4087b1019a6SJerry Jelinek UINT16 ArmBootFlags; /* ARM-Specific Boot Flags (see below for individual flags) (ACPI 5.1) */ 4097b1019a6SJerry Jelinek UINT8 MinorRevision; /* FADT Minor Revision (ACPI 5.1) */ 410db2bae30SDana Myers UINT64 XFacs; /* 64-bit physical address of FACS */ 41127f7c583Smyers UINT64 XDsdt; /* 64-bit physical address of DSDT */ 412db2bae30SDana Myers ACPI_GENERIC_ADDRESS XPm1aEventBlock; /* 64-bit Extended Power Mgt 1a Event Reg Blk address */ 413db2bae30SDana Myers ACPI_GENERIC_ADDRESS XPm1bEventBlock; /* 64-bit Extended Power Mgt 1b Event Reg Blk address */ 414db2bae30SDana Myers ACPI_GENERIC_ADDRESS XPm1aControlBlock; /* 64-bit Extended Power Mgt 1a Control Reg Blk address */ 415db2bae30SDana Myers ACPI_GENERIC_ADDRESS XPm1bControlBlock; /* 64-bit Extended Power Mgt 1b Control Reg Blk address */ 416db2bae30SDana Myers ACPI_GENERIC_ADDRESS XPm2ControlBlock; /* 64-bit Extended Power Mgt 2 Control Reg Blk address */ 417db2bae30SDana Myers ACPI_GENERIC_ADDRESS XPmTimerBlock; /* 64-bit Extended Power Mgt Timer Ctrl Reg Blk address */ 418db2bae30SDana Myers ACPI_GENERIC_ADDRESS XGpe0Block; /* 64-bit Extended General Purpose Event 0 Reg Blk address */ 419db2bae30SDana Myers ACPI_GENERIC_ADDRESS XGpe1Block; /* 64-bit Extended General Purpose Event 1 Reg Blk address */ 4207b1019a6SJerry Jelinek ACPI_GENERIC_ADDRESS SleepControl; /* 64-bit Sleep Control register (ACPI 5.0) */ 4217b1019a6SJerry Jelinek ACPI_GENERIC_ADDRESS SleepStatus; /* 64-bit Sleep Status register (ACPI 5.0) */ 4227b1019a6SJerry Jelinek UINT64 HypervisorId; /* Hypervisor Vendor ID (ACPI 6.0) */ 423db2bae30SDana Myers 424db2bae30SDana Myers } ACPI_TABLE_FADT; 425db2bae30SDana Myers 426db2bae30SDana Myers 4277b1019a6SJerry Jelinek /* Masks for FADT IA-PC Boot Architecture Flags (boot_flags) [Vx]=Introduced in this FADT revision */ 428db2bae30SDana Myers 429aa2aa9a6SDana Myers #define ACPI_FADT_LEGACY_DEVICES (1) /* 00: [V2] System has LPC or ISA bus devices */ 430aa2aa9a6SDana Myers #define ACPI_FADT_8042 (1<<1) /* 01: [V3] System has an 8042 controller on port 60/64 */ 431aa2aa9a6SDana Myers #define ACPI_FADT_NO_VGA (1<<2) /* 02: [V4] It is not safe to probe for VGA hardware */ 432aa2aa9a6SDana Myers #define ACPI_FADT_NO_MSI (1<<3) /* 03: [V4] Message Signaled Interrupts (MSI) must not be enabled */ 433aa2aa9a6SDana Myers #define ACPI_FADT_NO_ASPM (1<<4) /* 04: [V4] PCIe ASPM control must not be enabled */ 4347b1019a6SJerry Jelinek #define ACPI_FADT_NO_CMOS_RTC (1<<5) /* 05: [V5] No CMOS real-time clock present */ 4357b1019a6SJerry Jelinek 4367b1019a6SJerry Jelinek /* Masks for FADT ARM Boot Architecture Flags (arm_boot_flags) ACPI 5.1 */ 4377b1019a6SJerry Jelinek 4387b1019a6SJerry Jelinek #define ACPI_FADT_PSCI_COMPLIANT (1) /* 00: [V5+] PSCI 0.2+ is implemented */ 4397b1019a6SJerry Jelinek #define ACPI_FADT_PSCI_USE_HVC (1<<1) /* 01: [V5+] HVC must be used instead of SMC as the PSCI conduit */ 4407c478bd9Sstevel@tonic-gate 44157190917SDana Myers /* Masks for FADT flags */ 442aa2aa9a6SDana Myers 4437b1019a6SJerry Jelinek #define ACPI_FADT_WBINVD (1) /* 00: [V1] The WBINVD instruction works properly */ 4447b1019a6SJerry Jelinek #define ACPI_FADT_WBINVD_FLUSH (1<<1) /* 01: [V1] WBINVD flushes but does not invalidate caches */ 445aa2aa9a6SDana Myers #define ACPI_FADT_C1_SUPPORTED (1<<2) /* 02: [V1] All processors support C1 state */ 446aa2aa9a6SDana Myers #define ACPI_FADT_C2_MP_SUPPORTED (1<<3) /* 03: [V1] C2 state works on MP system */ 447aa2aa9a6SDana Myers #define ACPI_FADT_POWER_BUTTON (1<<4) /* 04: [V1] Power button is handled as a control method device */ 448aa2aa9a6SDana Myers #define ACPI_FADT_SLEEP_BUTTON (1<<5) /* 05: [V1] Sleep button is handled as a control method device */ 4497b1019a6SJerry Jelinek #define ACPI_FADT_FIXED_RTC (1<<6) /* 06: [V1] RTC wakeup status is not in fixed register space */ 450aa2aa9a6SDana Myers #define ACPI_FADT_S4_RTC_WAKE (1<<7) /* 07: [V1] RTC alarm can wake system from S4 */ 451aa2aa9a6SDana Myers #define ACPI_FADT_32BIT_TIMER (1<<8) /* 08: [V1] ACPI timer width is 32-bit (0=24-bit) */ 452aa2aa9a6SDana Myers #define ACPI_FADT_DOCKING_SUPPORTED (1<<9) /* 09: [V1] Docking supported */ 453aa2aa9a6SDana Myers #define ACPI_FADT_RESET_REGISTER (1<<10) /* 10: [V2] System reset via the FADT RESET_REG supported */ 454aa2aa9a6SDana Myers #define ACPI_FADT_SEALED_CASE (1<<11) /* 11: [V3] No internal expansion capabilities and case is sealed */ 455aa2aa9a6SDana Myers #define ACPI_FADT_HEADLESS (1<<12) /* 12: [V3] No local video capabilities or local input devices */ 456aa2aa9a6SDana Myers #define ACPI_FADT_SLEEP_TYPE (1<<13) /* 13: [V3] Must execute native instruction after writing SLP_TYPx register */ 457aa2aa9a6SDana Myers #define ACPI_FADT_PCI_EXPRESS_WAKE (1<<14) /* 14: [V4] System supports PCIEXP_WAKE (STS/EN) bits (ACPI 3.0) */ 458aa2aa9a6SDana Myers #define ACPI_FADT_PLATFORM_CLOCK (1<<15) /* 15: [V4] OSPM should use platform-provided timer (ACPI 3.0) */ 459aa2aa9a6SDana Myers #define ACPI_FADT_S4_RTC_VALID (1<<16) /* 16: [V4] Contents of RTC_STS valid after S4 wake (ACPI 3.0) */ 460aa2aa9a6SDana Myers #define ACPI_FADT_REMOTE_POWER_ON (1<<17) /* 17: [V4] System is compatible with remote power on (ACPI 3.0) */ 461aa2aa9a6SDana Myers #define ACPI_FADT_APIC_CLUSTER (1<<18) /* 18: [V4] All local APICs must use cluster model (ACPI 3.0) */ 462aa2aa9a6SDana Myers #define ACPI_FADT_APIC_PHYSICAL (1<<19) /* 19: [V4] All local xAPICs must use physical dest mode (ACPI 3.0) */ 4637b1019a6SJerry Jelinek #define ACPI_FADT_HW_REDUCED (1<<20) /* 20: [V5] ACPI hardware is not implemented (ACPI 5.0) */ 4647b1019a6SJerry Jelinek #define ACPI_FADT_LOW_POWER_S0 (1<<21) /* 21: [V5] S0 power savings are equal or better than S3 (ACPI 5.0) */ 465aa2aa9a6SDana Myers 466aa2aa9a6SDana Myers 4677b1019a6SJerry Jelinek /* Values for PreferredProfile (Preferred Power Management Profiles) */ 4687c478bd9Sstevel@tonic-gate 4697b1019a6SJerry Jelinek enum AcpiPreferredPmProfiles 4707c478bd9Sstevel@tonic-gate { 471db2bae30SDana Myers PM_UNSPECIFIED = 0, 472db2bae30SDana Myers PM_DESKTOP = 1, 473db2bae30SDana Myers PM_MOBILE = 2, 474db2bae30SDana Myers PM_WORKSTATION = 3, 475db2bae30SDana Myers PM_ENTERPRISE_SERVER = 4, 476db2bae30SDana Myers PM_SOHO_SERVER = 5, 4777b1019a6SJerry Jelinek PM_APPLIANCE_PC = 6, 4787b1019a6SJerry Jelinek PM_PERFORMANCE_SERVER = 7, 4797b1019a6SJerry Jelinek PM_TABLET = 8 480db2bae30SDana Myers }; 48127f7c583Smyers 4827b1019a6SJerry Jelinek /* Values for SleepStatus and SleepControl registers (V5+ FADT) */ 4837b1019a6SJerry Jelinek 4847b1019a6SJerry Jelinek #define ACPI_X_WAKE_STATUS 0x80 4857b1019a6SJerry Jelinek #define ACPI_X_SLEEP_TYPE_MASK 0x1C 4867b1019a6SJerry Jelinek #define ACPI_X_SLEEP_TYPE_POSITION 0x02 4877b1019a6SJerry Jelinek #define ACPI_X_SLEEP_ENABLE 0x20 4887b1019a6SJerry Jelinek 4897c478bd9Sstevel@tonic-gate 490aa2aa9a6SDana Myers /* Reset to default packing */ 4917c478bd9Sstevel@tonic-gate 492aa2aa9a6SDana Myers #pragma pack() 4937c478bd9Sstevel@tonic-gate 49427f7c583Smyers 49557190917SDana Myers /* 49657190917SDana Myers * Internal table-related structures 49757190917SDana Myers */ 498aa2aa9a6SDana Myers typedef union acpi_name_union 499aa2aa9a6SDana Myers { 500aa2aa9a6SDana Myers UINT32 Integer; 501aa2aa9a6SDana Myers char Ascii[4]; 50227f7c583Smyers 503aa2aa9a6SDana Myers } ACPI_NAME_UNION; 504aa2aa9a6SDana Myers 50557190917SDana Myers 50657190917SDana Myers /* Internal ACPI Table Descriptor. One per ACPI table. */ 50757190917SDana Myers 508aa2aa9a6SDana Myers typedef struct acpi_table_desc 509aa2aa9a6SDana Myers { 510aa2aa9a6SDana Myers ACPI_PHYSICAL_ADDRESS Address; 511aa2aa9a6SDana Myers ACPI_TABLE_HEADER *Pointer; 5127b1019a6SJerry Jelinek UINT32 Length; /* Length fixed at 32 bits (fixed in table header) */ 513aa2aa9a6SDana Myers ACPI_NAME_UNION Signature; 514aa2aa9a6SDana Myers ACPI_OWNER_ID OwnerId; 515aa2aa9a6SDana Myers UINT8 Flags; 516*35786f68SRobert Mustacchi UINT16 ValidationCount; 517aa2aa9a6SDana Myers 518aa2aa9a6SDana Myers } ACPI_TABLE_DESC; 519aa2aa9a6SDana Myers 520*35786f68SRobert Mustacchi /* 521*35786f68SRobert Mustacchi * Maximum value of the ValidationCount field in ACPI_TABLE_DESC. 522*35786f68SRobert Mustacchi * When reached, ValidationCount cannot be changed any more and the table will 523*35786f68SRobert Mustacchi * be permanently regarded as validated. 524*35786f68SRobert Mustacchi * 525*35786f68SRobert Mustacchi * This is to prevent situations in which unbalanced table get/put operations 526*35786f68SRobert Mustacchi * may cause premature table unmapping in the OS to happen. 527*35786f68SRobert Mustacchi * 528*35786f68SRobert Mustacchi * The maximum validation count can be defined to any value, but should be 529*35786f68SRobert Mustacchi * greater than the maximum number of OS early stage mapping slots to avoid 530*35786f68SRobert Mustacchi * leaking early stage table mappings to the late stage. 531*35786f68SRobert Mustacchi */ 532*35786f68SRobert Mustacchi #define ACPI_MAX_TABLE_VALIDATIONS ACPI_UINT16_MAX 533*35786f68SRobert Mustacchi 53457190917SDana Myers /* Masks for Flags field above */ 535aa2aa9a6SDana Myers 5367b1019a6SJerry Jelinek #define ACPI_TABLE_ORIGIN_EXTERNAL_VIRTUAL (0) /* Virtual address, external maintained */ 5377b1019a6SJerry Jelinek #define ACPI_TABLE_ORIGIN_INTERNAL_PHYSICAL (1) /* Physical address, internally mapped */ 5387b1019a6SJerry Jelinek #define ACPI_TABLE_ORIGIN_INTERNAL_VIRTUAL (2) /* Virtual address, internallly allocated */ 5397b1019a6SJerry Jelinek #define ACPI_TABLE_ORIGIN_MASK (3) 540*35786f68SRobert Mustacchi #define ACPI_TABLE_IS_VERIFIED (4) 5417b1019a6SJerry Jelinek #define ACPI_TABLE_IS_LOADED (8) 5427c478bd9Sstevel@tonic-gate 5437c478bd9Sstevel@tonic-gate 54427f7c583Smyers /* 54527f7c583Smyers * Get the remaining ACPI tables 54627f7c583Smyers */ 54727f7c583Smyers #include "actbl1.h" 54857190917SDana Myers #include "actbl2.h" 5497b1019a6SJerry Jelinek #include "actbl3.h" 5507c478bd9Sstevel@tonic-gate 55127f7c583Smyers /* Macros used to generate offsets to specific table fields */ 5527c478bd9Sstevel@tonic-gate 5537b1019a6SJerry Jelinek #define ACPI_FADT_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_TABLE_FADT, f) 5547c478bd9Sstevel@tonic-gate 55526f3cdf0SGordon Ross /* 55626f3cdf0SGordon Ross * Sizes of the various flavors of FADT. We need to look closely 55726f3cdf0SGordon Ross * at the FADT length because the version number essentially tells 55826f3cdf0SGordon Ross * us nothing because of many BIOS bugs where the version does not 55926f3cdf0SGordon Ross * match the expected length. In other words, the length of the 56026f3cdf0SGordon Ross * FADT is the bottom line as to what the version really is. 56126f3cdf0SGordon Ross * 56226f3cdf0SGordon Ross * For reference, the values below are as follows: 5637b1019a6SJerry Jelinek * FADT V1 size: 0x074 5647b1019a6SJerry Jelinek * FADT V2 size: 0x084 5657b1019a6SJerry Jelinek * FADT V3 size: 0x0F4 5667b1019a6SJerry Jelinek * FADT V4 size: 0x0F4 5677b1019a6SJerry Jelinek * FADT V5 size: 0x10C 5687b1019a6SJerry Jelinek * FADT V6 size: 0x114 56926f3cdf0SGordon Ross */ 57026f3cdf0SGordon Ross #define ACPI_FADT_V1_SIZE (UINT32) (ACPI_FADT_OFFSET (Flags) + 4) 5717b1019a6SJerry Jelinek #define ACPI_FADT_V2_SIZE (UINT32) (ACPI_FADT_OFFSET (MinorRevision) + 1) 5727b1019a6SJerry Jelinek #define ACPI_FADT_V3_SIZE (UINT32) (ACPI_FADT_OFFSET (SleepControl)) 5737b1019a6SJerry Jelinek #define ACPI_FADT_V5_SIZE (UINT32) (ACPI_FADT_OFFSET (HypervisorId)) 5747b1019a6SJerry Jelinek #define ACPI_FADT_V6_SIZE (UINT32) (sizeof (ACPI_TABLE_FADT)) 5757b1019a6SJerry Jelinek 5767b1019a6SJerry Jelinek #define ACPI_FADT_CONFORMANCE "ACPI 6.1 (FADT version 6)" 57726f3cdf0SGordon Ross 5787c478bd9Sstevel@tonic-gate #endif /* __ACTBL_H__ */ 579