XenevaOS
Loading...
Searching...
No Matches
actbl3.h
Go to the documentation of this file.
1/******************************************************************************
2 *
3 * Name: actbl3.h - ACPI Table Definitions
4 *
5 *****************************************************************************/
6
7/******************************************************************************
8 *
9 * 1. Copyright Notice
10 *
11 * Some or all of this work - Copyright (c) 1999 - 2019, Intel Corp.
12 * All rights reserved.
13 *
14 * 2. License
15 *
16 * 2.1. This is your license from Intel Corp. under its intellectual property
17 * rights. You may have additional license terms from the party that provided
18 * you this software, covering your right to use that party's intellectual
19 * property rights.
20 *
21 * 2.2. Intel grants, free of charge, to any person ("Licensee") obtaining a
22 * copy of the source code appearing in this file ("Covered Code") an
23 * irrevocable, perpetual, worldwide license under Intel's copyrights in the
24 * base code distributed originally by Intel ("Original Intel Code") to copy,
25 * make derivatives, distribute, use and display any portion of the Covered
26 * Code in any form, with the right to sublicense such rights; and
27 *
28 * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent
29 * license (with the right to sublicense), under only those claims of Intel
30 * patents that are infringed by the Original Intel Code, to make, use, sell,
31 * offer to sell, and import the Covered Code and derivative works thereof
32 * solely to the minimum extent necessary to exercise the above copyright
33 * license, and in no event shall the patent license extend to any additions
34 * to or modifications of the Original Intel Code. No other license or right
35 * is granted directly or by implication, estoppel or otherwise;
36 *
37 * The above copyright and patent license is granted only if the following
38 * conditions are met:
39 *
40 * 3. Conditions
41 *
42 * 3.1. Redistribution of Source with Rights to Further Distribute Source.
43 * Redistribution of source code of any substantial portion of the Covered
44 * Code or modification with rights to further distribute source must include
45 * the above Copyright Notice, the above License, this list of Conditions,
46 * and the following Disclaimer and Export Compliance provision. In addition,
47 * Licensee must cause all Covered Code to which Licensee contributes to
48 * contain a file documenting the changes Licensee made to create that Covered
49 * Code and the date of any change. Licensee must include in that file the
50 * documentation of any changes made by any predecessor Licensee. Licensee
51 * must include a prominent statement that the modification is derived,
52 * directly or indirectly, from Original Intel Code.
53 *
54 * 3.2. Redistribution of Source with no Rights to Further Distribute Source.
55 * Redistribution of source code of any substantial portion of the Covered
56 * Code or modification without rights to further distribute source must
57 * include the following Disclaimer and Export Compliance provision in the
58 * documentation and/or other materials provided with distribution. In
59 * addition, Licensee may not authorize further sublicense of source of any
60 * portion of the Covered Code, and must include terms to the effect that the
61 * license from Licensee to its licensee is limited to the intellectual
62 * property embodied in the software Licensee provides to its licensee, and
63 * not to intellectual property embodied in modifications its licensee may
64 * make.
65 *
66 * 3.3. Redistribution of Executable. Redistribution in executable form of any
67 * substantial portion of the Covered Code or modification must reproduce the
68 * above Copyright Notice, and the following Disclaimer and Export Compliance
69 * provision in the documentation and/or other materials provided with the
70 * distribution.
71 *
72 * 3.4. Intel retains all right, title, and interest in and to the Original
73 * Intel Code.
74 *
75 * 3.5. Neither the name Intel nor any other trademark owned or controlled by
76 * Intel shall be used in advertising or otherwise to promote the sale, use or
77 * other dealings in products derived from or relating to the Covered Code
78 * without prior written authorization from Intel.
79 *
80 * 4. Disclaimer and Export Compliance
81 *
82 * 4.1. INTEL MAKES NO WARRANTY OF ANY KIND REGARDING ANY SOFTWARE PROVIDED
83 * HERE. ANY SOFTWARE ORIGINATING FROM INTEL OR DERIVED FROM INTEL SOFTWARE
84 * IS PROVIDED "AS IS," AND INTEL WILL NOT PROVIDE ANY SUPPORT, ASSISTANCE,
85 * INSTALLATION, TRAINING OR OTHER SERVICES. INTEL WILL NOT PROVIDE ANY
86 * UPDATES, ENHANCEMENTS OR EXTENSIONS. INTEL SPECIFICALLY DISCLAIMS ANY
87 * IMPLIED WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT AND FITNESS FOR A
88 * PARTICULAR PURPOSE.
89 *
90 * 4.2. IN NO EVENT SHALL INTEL HAVE ANY LIABILITY TO LICENSEE, ITS LICENSEES
91 * OR ANY OTHER THIRD PARTY, FOR ANY LOST PROFITS, LOST DATA, LOSS OF USE OR
92 * COSTS OF PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY INDIRECT,
93 * SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THIS AGREEMENT, UNDER ANY
94 * CAUSE OF ACTION OR THEORY OF LIABILITY, AND IRRESPECTIVE OF WHETHER INTEL
95 * HAS ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES. THESE LIMITATIONS
96 * SHALL APPLY NOTWITHSTANDING THE FAILURE OF THE ESSENTIAL PURPOSE OF ANY
97 * LIMITED REMEDY.
98 *
99 * 4.3. Licensee shall not export, either directly or indirectly, any of this
100 * software or system incorporating such software without first obtaining any
101 * required license or other approval from the U. S. Department of Commerce or
102 * any other agency or department of the United States Government. In the
103 * event Licensee exports any such software from the United States or
104 * re-exports any such software from a foreign destination, Licensee shall
105 * ensure that the distribution and export/re-export of the software is in
106 * compliance with all laws, regulations, orders, or other restrictions of the
107 * U.S. Export Administration Regulations. Licensee agrees that neither it nor
108 * any of its subsidiaries will export/re-export any technical data, process,
109 * software, or service, directly or indirectly, to any country for which the
110 * United States government or any agency thereof requires an export license,
111 * other governmental approval, or letter of assurance, without first obtaining
112 * such license, approval or letter.
113 *
114 *****************************************************************************
115 *
116 * Alternatively, you may choose to be licensed under the terms of the
117 * following license:
118 *
119 * Redistribution and use in source and binary forms, with or without
120 * modification, are permitted provided that the following conditions
121 * are met:
122 * 1. Redistributions of source code must retain the above copyright
123 * notice, this list of conditions, and the following disclaimer,
124 * without modification.
125 * 2. Redistributions in binary form must reproduce at minimum a disclaimer
126 * substantially similar to the "NO WARRANTY" disclaimer below
127 * ("Disclaimer") and any redistribution must be conditioned upon
128 * including a substantially similar Disclaimer requirement for further
129 * binary redistribution.
130 * 3. Neither the names of the above-listed copyright holders nor the names
131 * of any contributors may be used to endorse or promote products derived
132 * from this software without specific prior written permission.
133 *
134 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
135 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
136 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
137 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
138 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
139 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
140 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
141 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
142 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
143 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
144 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
145 *
146 * Alternatively, you may choose to be licensed under the terms of the
147 * GNU General Public License ("GPL") version 2 as published by the Free
148 * Software Foundation.
149 *
150 *****************************************************************************/
151
152#ifndef __ACTBL3_H__
153#define __ACTBL3_H__
154
155
156/*******************************************************************************
157 *
158 * Additional ACPI Tables
159 *
160 * These tables are not consumed directly by the ACPICA subsystem, but are
161 * included here to support device drivers and the AML disassembler.
162 *
163 ******************************************************************************/
164
165
166/*
167 * Values for description table header signatures for tables defined in this
168 * file. Useful because they make it more difficult to inadvertently type in
169 * the wrong signature.
170 */
171#define ACPI_SIG_SLIC "SLIC" /* Software Licensing Description Table */
172#define ACPI_SIG_SLIT "SLIT" /* System Locality Distance Information Table */
173#define ACPI_SIG_SPCR "SPCR" /* Serial Port Console Redirection table */
174#define ACPI_SIG_SPMI "SPMI" /* Server Platform Management Interface table */
175#define ACPI_SIG_SRAT "SRAT" /* System Resource Affinity Table */
176#define ACPI_SIG_STAO "STAO" /* Status Override table */
177#define ACPI_SIG_TCPA "TCPA" /* Trusted Computing Platform Alliance table */
178#define ACPI_SIG_TPM2 "TPM2" /* Trusted Platform Module 2.0 H/W interface table */
179#define ACPI_SIG_UEFI "UEFI" /* Uefi Boot Optimization Table */
180#define ACPI_SIG_VRTC "VRTC" /* Virtual Real Time Clock Table */
181#define ACPI_SIG_WAET "WAET" /* Windows ACPI Emulated devices Table */
182#define ACPI_SIG_WDAT "WDAT" /* Watchdog Action Table */
183#define ACPI_SIG_WDDT "WDDT" /* Watchdog Timer Description Table */
184#define ACPI_SIG_WDRT "WDRT" /* Watchdog Resource Table */
185#define ACPI_SIG_WPBT "WPBT" /* Windows Platform Binary Table */
186#define ACPI_SIG_WSMT "WSMT" /* Windows SMM Security Migrations Table */
187#define ACPI_SIG_XENV "XENV" /* Xen Environment table */
188#define ACPI_SIG_XXXX "XXXX" /* Intermediate AML header for ASL/ASL+ converter */
189
190/*
191 * All tables must be byte-packed to match the ACPI specification, since
192 * the tables are provided by the system BIOS.
193 */
194#pragma pack(1)
195
196/*
197 * Note: C bitfields are not used for this reason:
198 *
199 * "Bitfields are great and easy to read, but unfortunately the C language
200 * does not specify the layout of bitfields in memory, which means they are
201 * essentially useless for dealing with packed data in on-disk formats or
202 * binary wire protocols." (Or ACPI tables and buffers.) "If you ask me,
203 * this decision was a design error in C. Ritchie could have picked an order
204 * and stuck with it." Norman Ramsey.
205 * See http://stackoverflow.com/a/1053662/41661
206 */
207
208
209/*******************************************************************************
210 *
211 * SLIC - Software Licensing Description Table
212 *
213 * Conforms to "Microsoft Software Licensing Tables (SLIC and MSDM)",
214 * November 29, 2011. Copyright 2011 Microsoft
215 *
216 ******************************************************************************/
217
218/* Basic SLIC table is only the common ACPI header */
219
220typedef struct acpi_table_slic
221{
222 ACPI_TABLE_HEADER Header; /* Common ACPI table header */
223
225
226
227/*******************************************************************************
228 *
229 * SLIT - System Locality Distance Information Table
230 * Version 1
231 *
232 ******************************************************************************/
233
234typedef struct acpi_table_slit
235{
236 ACPI_TABLE_HEADER Header; /* Common ACPI table header */
238 UINT8 Entry[1]; /* Real size = localities^2 */
239
241
242
243/*******************************************************************************
244 *
245 * SPCR - Serial Port Console Redirection table
246 * Version 2
247 *
248 * Conforms to "Serial Port Console Redirection Table",
249 * Version 1.03, August 10, 2015
250 *
251 ******************************************************************************/
252
278
279/* Masks for PciFlags field above */
280
281#define ACPI_SPCR_DO_NOT_DISABLE (1)
282
283/* Values for Interface Type: See the definition of the DBG2 table */
284
285
286/*******************************************************************************
287 *
288 * SPMI - Server Platform Management Interface table
289 * Version 5
290 *
291 * Conforms to "Intelligent Platform Management Interface Specification
292 * Second Generation v2.0", Document Revision 1.0, February 12, 2004 with
293 * June 12, 2009 markup.
294 *
295 ******************************************************************************/
296
316
317/* Values for InterfaceType above */
318
328
329
330/*******************************************************************************
331 *
332 * SRAT - System Resource Affinity Table
333 * Version 3
334 *
335 ******************************************************************************/
336
337typedef struct acpi_table_srat
338{
339 ACPI_TABLE_HEADER Header; /* Common ACPI table header */
340 UINT32 TableRevision; /* Must be value '1' */
341 UINT64 Reserved; /* Reserved, must be zero */
342
344
345/* Values for subtable type in ACPI_SUBTABLE_HEADER */
346
357
358/*
359 * SRAT Subtables, correspond to Type in ACPI_SUBTABLE_HEADER
360 */
361
362/* 0: Processor Local APIC/SAPIC Affinity */
363
375
376/* Flags */
377
378#define ACPI_SRAT_CPU_USE_AFFINITY (1) /* 00: Use affinity structure */
379
380
381/* 1: Memory Affinity */
382
395
396/* Flags */
397
398#define ACPI_SRAT_MEM_ENABLED (1) /* 00: Use affinity structure */
399#define ACPI_SRAT_MEM_HOT_PLUGGABLE (1<<1) /* 01: Memory region is hot pluggable */
400#define ACPI_SRAT_MEM_NON_VOLATILE (1<<2) /* 02: Memory region is non-volatile */
401
402
403/* 2: Processor Local X2_APIC Affinity (ACPI 4.0) */
404
416
417/* Flags for ACPI_SRAT_CPU_AFFINITY and ACPI_SRAT_X2APIC_CPU_AFFINITY */
418
419#define ACPI_SRAT_CPU_ENABLED (1) /* 00: Use affinity structure */
420
421
422/* 3: GICC Affinity (ACPI 5.1) */
423
433
434/* Flags for ACPI_SRAT_GICC_AFFINITY */
435
436#define ACPI_SRAT_GICC_ENABLED (1) /* 00: Use affinity structure */
437
438
439/* 4: GCC ITS Affinity (ACPI 6.2) */
440
449
450
451/* 5: Generic Initiator Affinity Structure (ACPI 6.3) */
452
464
465/* Flags for ACPI_SRAT_GENERIC_AFFINITY */
466
467#define ACPI_SRAT_GENERIC_AFFINITY_ENABLED (1) /* 00: Use affinity structure */
468
469/*******************************************************************************
470 *
471 * STAO - Status Override Table (_STA override) - ACPI 6.0
472 * Version 1
473 *
474 * Conforms to "ACPI Specification for Status Override Table"
475 * 6 January 2015
476 *
477 ******************************************************************************/
478
479typedef struct acpi_table_stao
480{
481 ACPI_TABLE_HEADER Header; /* Common ACPI table header */
483
485
486
487/*******************************************************************************
488 *
489 * TCPA - Trusted Computing Platform Alliance table
490 * Version 2
491 *
492 * TCG Hardware Interface Table for TPM 1.2 Clients and Servers
493 *
494 * Conforms to "TCG ACPI Specification, Family 1.2 and 2.0",
495 * Version 1.2, Revision 8
496 * February 27, 2017
497 *
498 * NOTE: There are two versions of the table with the same signature --
499 * the client version and the server version. The common PlatformClass
500 * field is used to differentiate the two types of tables.
501 *
502 ******************************************************************************/
503
505{
506 ACPI_TABLE_HEADER Header; /* Common ACPI table header */
508
510
511/*
512 * Values for PlatformClass above.
513 * This is how the client and server subtables are differentiated
514 */
515#define ACPI_TCPA_CLIENT_TABLE 0
516#define ACPI_TCPA_SERVER_TABLE 1
517
518
520{
521 UINT32 MinimumLogLength; /* Minimum length for the event log area */
522 UINT64 LogAddress; /* Address of the event log area */
523
525
546
547/* Values for DeviceFlags above */
548
549#define ACPI_TCPA_PCI_DEVICE (1)
550#define ACPI_TCPA_BUS_PNP (1<<1)
551#define ACPI_TCPA_ADDRESS_VALID (1<<2)
552
553/* Values for InterruptFlags above */
554
555#define ACPI_TCPA_INTERRUPT_MODE (1)
556#define ACPI_TCPA_INTERRUPT_POLARITY (1<<1)
557#define ACPI_TCPA_SCI_VIA_GPE (1<<2)
558#define ACPI_TCPA_GLOBAL_INTERRUPT (1<<3)
559
560
561/*******************************************************************************
562 *
563 * TPM2 - Trusted Platform Module (TPM) 2.0 Hardware Interface Table
564 * Version 4
565 *
566 * TCG Hardware Interface Table for TPM 2.0 Clients and Servers
567 *
568 * Conforms to "TCG ACPI Specification, Family 1.2 and 2.0",
569 * Version 1.2, Revision 8
570 * February 27, 2017
571 *
572 ******************************************************************************/
573
574/* Revision 3 */
575
584
585/* Value for StartMethod above */
586
587#define ACPI_TPM23_ACPI_START_METHOD 2
588
589/*
590 * Optional trailer for revision 3. If start method is 2, there is a 4 byte
591 * reserved area of all zeros.
592 */
598
599
600/* Revision 4 */
601
602typedef struct acpi_table_tpm2
603{
604 ACPI_TABLE_HEADER Header; /* Common ACPI table header */
609
610 /* Platform-specific data follows */
611
613
614/* Values for StartMethod above */
615
616#define ACPI_TPM2_NOT_ALLOWED 0
617#define ACPI_TPM2_RESERVED1 1
618#define ACPI_TPM2_START_METHOD 2
619#define ACPI_TPM2_RESERVED3 3
620#define ACPI_TPM2_RESERVED4 4
621#define ACPI_TPM2_RESERVED5 5
622#define ACPI_TPM2_MEMORY_MAPPED 6
623#define ACPI_TPM2_COMMAND_BUFFER 7
624#define ACPI_TPM2_COMMAND_BUFFER_WITH_START_METHOD 8
625#define ACPI_TPM2_RESERVED9 9
626#define ACPI_TPM2_RESERVED10 10
627#define ACPI_TPM2_COMMAND_BUFFER_WITH_ARM_SMC 11 /* V1.2 Rev 8 */
628#define ACPI_TPM2_RESERVED 12
629
630
631/* Optional trailer appears after any StartMethod subtables */
632
633typedef struct acpi_tpm2_trailer
634{
636 UINT32 MinimumLogLength; /* Minimum length for the event log area */
637 UINT64 LogAddress; /* Address of the event log area */
638
640
641
642/*
643 * Subtables (StartMethod-specific)
644 */
645
646/* 11: Start Method for ARM SMC (V1.2 Rev 8) */
647
657
658/* Values for InterruptFlags above */
659
660#define ACPI_TPM2_INTERRUPT_SUPPORT (1)
661
662/* Values for OperationFlags above */
663
664#define ACPI_TPM2_IDLE_SUPPORT (1)
665
666
667/*******************************************************************************
668 *
669 * UEFI - UEFI Boot optimization Table
670 * Version 1
671 *
672 * Conforms to "Unified Extensible Firmware Interface Specification",
673 * Version 2.3, May 8, 2009
674 *
675 ******************************************************************************/
676
677typedef struct acpi_table_uefi
678{
679 ACPI_TABLE_HEADER Header; /* Common ACPI table header */
680 UINT8 Identifier[16]; /* UUID identifier */
681 UINT16 DataOffset; /* Offset of remaining data in table */
682
684
685
686/*******************************************************************************
687 *
688 * VRTC - Virtual Real Time Clock Table
689 * Version 1
690 *
691 * Conforms to "Simple Firmware Interface Specification",
692 * Draft 0.8.2, Oct 19, 2010
693 * NOTE: The ACPI VRTC is equivalent to The SFI MRTC table.
694 *
695 ******************************************************************************/
696
697typedef struct acpi_table_vrtc
698{
699 ACPI_TABLE_HEADER Header; /* Common ACPI table header */
700
702
703/* VRTC entry */
704
711
712
713/*******************************************************************************
714 *
715 * WAET - Windows ACPI Emulated devices Table
716 * Version 1
717 *
718 * Conforms to "Windows ACPI Emulated Devices Table", version 1.0, April 6, 2009
719 *
720 ******************************************************************************/
721
722typedef struct acpi_table_waet
723{
724 ACPI_TABLE_HEADER Header; /* Common ACPI table header */
726
728
729/* Masks for Flags field above */
730
731#define ACPI_WAET_RTC_NO_ACK (1) /* RTC requires no int acknowledge */
732#define ACPI_WAET_TIMER_ONE_READ (1<<1) /* PM timer requires only one read */
733
734
735/*******************************************************************************
736 *
737 * WDAT - Watchdog Action Table
738 * Version 1
739 *
740 * Conforms to "Hardware Watchdog Timers Design Specification",
741 * Copyright 2006 Microsoft Corporation.
742 *
743 ******************************************************************************/
744
745typedef struct acpi_table_wdat
746{
747 ACPI_TABLE_HEADER Header; /* Common ACPI table header */
748 UINT32 HeaderLength; /* Watchdog Header Length */
749 UINT16 PciSegment; /* PCI Segment number */
750 UINT8 PciBus; /* PCI Bus number */
751 UINT8 PciDevice; /* PCI Device number */
752 UINT8 PciFunction; /* PCI Function number */
754 UINT32 TimerPeriod; /* Period of one timer count (msec) */
755 UINT32 MaxCount; /* Maximum counter value supported */
756 UINT32 MinCount; /* Minimum counter value */
759 UINT32 Entries; /* Number of watchdog entries that follow */
760
762
763/* Masks for Flags field above */
764
765#define ACPI_WDAT_ENABLED (1)
766#define ACPI_WDAT_STOPPED 0x80
767
768
769/* WDAT Instruction Entries (actions) */
770
771typedef struct acpi_wdat_entry
772{
777 UINT32 Value; /* Value used with Read/Write register */
778 UINT32 Mask; /* Bitmask required for this register instruction */
779
781
782/* Values for Action field above */
783
802
803/* Values for Instruction field above */
804
814
815
816/*******************************************************************************
817 *
818 * WDDT - Watchdog Descriptor Table
819 * Version 1
820 *
821 * Conforms to "Using the Intel ICH Family Watchdog Timer (WDT)",
822 * Version 001, September 2002
823 *
824 ******************************************************************************/
825
840
841/* Flags for Status field above */
842
843#define ACPI_WDDT_AVAILABLE (1)
844#define ACPI_WDDT_ACTIVE (1<<1)
845#define ACPI_WDDT_TCO_OS_OWNED (1<<2)
846#define ACPI_WDDT_USER_RESET (1<<11)
847#define ACPI_WDDT_WDT_RESET (1<<12)
848#define ACPI_WDDT_POWER_FAIL (1<<13)
849#define ACPI_WDDT_UNKNOWN_RESET (1<<14)
850
851/* Flags for Capability field above */
852
853#define ACPI_WDDT_AUTO_RESET (1)
854#define ACPI_WDDT_ALERT_SUPPORT (1<<1)
855
856
857/*******************************************************************************
858 *
859 * WDRT - Watchdog Resource Table
860 * Version 1
861 *
862 * Conforms to "Watchdog Timer Hardware Requirements for Windows Server 2003",
863 * Version 1.01, August 28, 2006
864 *
865 ******************************************************************************/
866
867typedef struct acpi_table_wdrt
868{
869 ACPI_TABLE_HEADER Header; /* Common ACPI table header */
874 UINT8 PciBus; /* PCI Bus number */
875 UINT8 PciDevice; /* PCI Device number */
876 UINT8 PciFunction; /* PCI Function number */
877 UINT8 PciSegment; /* PCI Segment number */
878 UINT16 MaxCount; /* Maximum counter value supported */
880
882
883
884/*******************************************************************************
885 *
886 * WPBT - Windows Platform Environment Table (ACPI 6.0)
887 * Version 1
888 *
889 * Conforms to "Windows Platform Binary Table (WPBT)" 29 November 2011
890 *
891 ******************************************************************************/
892
903
904
905/*******************************************************************************
906 *
907 * WSMT - Windows SMM Security Migrations Table
908 * Version 1
909 *
910 * Conforms to "Windows SMM Security Migrations Table",
911 * Version 1.0, April 18, 2016
912 *
913 ******************************************************************************/
914
915typedef struct acpi_table_wsmt
916{
917 ACPI_TABLE_HEADER Header; /* Common ACPI table header */
919
921
922/* Flags for ProtectionFlags field above */
923
924#define ACPI_WSMT_FIXED_COMM_BUFFERS (1)
925#define ACPI_WSMT_COMM_BUFFER_NESTED_PTR_PROTECTION (2)
926#define ACPI_WSMT_SYSTEM_RESOURCE_PROTECTION (4)
927
928
929/*******************************************************************************
930 *
931 * XENV - Xen Environment Table (ACPI 6.0)
932 * Version 1
933 *
934 * Conforms to "ACPI Specification for Xen Environment Table" 4 January 2015
935 *
936 ******************************************************************************/
937
947
948
949/* Reset to default packing */
950
951#pragma pack()
952
953#endif /* __ACTBL3_H__ */
unsigned int UINT32
Definition ProcessorBind.h:102
struct acpi_table_xenv ACPI_TABLE_XENV
struct acpi_table_waet ACPI_TABLE_WAET
struct acpi_table_wdrt ACPI_TABLE_WDRT
struct acpi_tpm2_trailer ACPI_TPM2_TRAILER
struct acpi_table_wsmt ACPI_TABLE_WSMT
struct acpi_table_slit ACPI_TABLE_SLIT
struct acpi_table_tpm2 ACPI_TABLE_TPM2
struct acpi_srat_x2apic_cpu_affinity ACPI_SRAT_X2APIC_CPU_AFFINITY
struct acpi_table_slic ACPI_TABLE_SLIC
struct acpi_srat_gicc_affinity ACPI_SRAT_GICC_AFFINITY
struct acpi_table_spcr ACPI_TABLE_SPCR
struct acpi_table_wdat ACPI_TABLE_WDAT
AcpiSratType
Definition actbl3.h:348
@ ACPI_SRAT_TYPE_X2APIC_CPU_AFFINITY
Definition actbl3.h:351
@ ACPI_SRAT_TYPE_GIC_ITS_AFFINITY
Definition actbl3.h:353
@ ACPI_SRAT_TYPE_RESERVED
Definition actbl3.h:355
@ ACPI_SRAT_TYPE_GENERIC_AFFINITY
Definition actbl3.h:354
@ ACPI_SRAT_TYPE_MEMORY_AFFINITY
Definition actbl3.h:350
@ ACPI_SRAT_TYPE_CPU_AFFINITY
Definition actbl3.h:349
@ ACPI_SRAT_TYPE_GICC_AFFINITY
Definition actbl3.h:352
struct acpi_vrtc_entry ACPI_VRTC_ENTRY
struct acpi_srat_mem_affinity ACPI_SRAT_MEM_AFFINITY
struct acpi_table_tcpa_client ACPI_TABLE_TCPA_CLIENT
struct acpi_srat_cpu_affinity ACPI_SRAT_CPU_AFFINITY
struct acpi_wdat_entry ACPI_WDAT_ENTRY
struct acpi_table_srat ACPI_TABLE_SRAT
AcpiWdatInstructions
Definition actbl3.h:806
@ ACPI_WDAT_READ_COUNTDOWN
Definition actbl3.h:808
@ ACPI_WDAT_READ_VALUE
Definition actbl3.h:807
@ ACPI_WDAT_WRITE_VALUE
Definition actbl3.h:809
@ ACPI_WDAT_PRESERVE_REGISTER
Definition actbl3.h:812
@ ACPI_WDAT_WRITE_COUNTDOWN
Definition actbl3.h:810
@ ACPI_WDAT_INSTRUCTION_RESERVED
Definition actbl3.h:811
struct acpi_table_wpbt ACPI_TABLE_WPBT
struct acpi_table_tpm23 ACPI_TABLE_TPM23
struct acpi_tpm2_arm_smc ACPI_TPM2_ARM_SMC
struct acpi_table_wddt ACPI_TABLE_WDDT
struct acpi_srat_generic_affinity ACPI_SRAT_GENERIC_AFFINITY
struct acpi_tmp23_trailer ACPI_TPM23_TRAILER
struct acpi_srat_gic_its_affinity ACPI_SRAT_GIC_ITS_AFFINITY
struct acpi_table_vrtc ACPI_TABLE_VRTC
AcpiWdatActions
Definition actbl3.h:785
@ ACPI_WDAT_GET_CURRENT_COUNTDOWN
Definition actbl3.h:787
@ ACPI_WDAT_GET_COUNTDOWN
Definition actbl3.h:788
@ ACPI_WDAT_GET_STATUS
Definition actbl3.h:798
@ ACPI_WDAT_ACTION_RESERVED
Definition actbl3.h:800
@ ACPI_WDAT_GET_RUNNING_STATE
Definition actbl3.h:790
@ ACPI_WDAT_SET_SHUTDOWN
Definition actbl3.h:797
@ ACPI_WDAT_RESET
Definition actbl3.h:786
@ ACPI_WDAT_SET_COUNTDOWN
Definition actbl3.h:789
@ ACPI_WDAT_SET_STATUS
Definition actbl3.h:799
@ ACPI_WDAT_SET_STOPPED_STATE
Definition actbl3.h:793
@ ACPI_WDAT_GET_STOPPED_STATE
Definition actbl3.h:792
@ ACPI_WDAT_SET_RUNNING_STATE
Definition actbl3.h:791
@ ACPI_WDAT_GET_REBOOT
Definition actbl3.h:794
@ ACPI_WDAT_GET_SHUTDOWN
Definition actbl3.h:796
@ ACPI_WDAT_SET_REBOOT
Definition actbl3.h:795
struct acpi_table_stao ACPI_TABLE_STAO
struct acpi_table_spmi ACPI_TABLE_SPMI
AcpiSpmiInterfaceTypes
Definition actbl3.h:320
@ ACPI_SPMI_KEYBOARD
Definition actbl3.h:322
@ ACPI_SPMI_RESERVED
Definition actbl3.h:326
@ ACPI_SPMI_BLOCK_TRANSFER
Definition actbl3.h:324
@ ACPI_SPMI_SMI
Definition actbl3.h:323
@ ACPI_SPMI_SMBUS
Definition actbl3.h:325
@ ACPI_SPMI_NOT_USED
Definition actbl3.h:321
struct acpi_table_uefi ACPI_TABLE_UEFI
struct acpi_table_tcpa_server ACPI_TABLE_TCPA_SERVER
struct acpi_table_tcpa_hdr ACPI_TABLE_TCPA_HDR
unsigned short UINT16
Definition actypes.h:237
unsigned char UINT8
Definition actypes.h:236
COMPILER_DEPENDENT_UINT64 UINT64
Definition actypes.h:239
Definition actbl.h:240
Definition actbl3.h:365
UINT8 ApicId
Definition actbl3.h:368
UINT8 ProximityDomainLo
Definition actbl3.h:367
ACPI_SUBTABLE_HEADER Header
Definition actbl3.h:366
UINT32 Flags
Definition actbl3.h:369
UINT32 ClockDomain
Definition actbl3.h:372
UINT8 ProximityDomainHi[3]
Definition actbl3.h:371
UINT8 LocalSapicEid
Definition actbl3.h:370
Definition actbl3.h:454
UINT32 Flags
Definition actbl3.h:460
ACPI_SUBTABLE_HEADER Header
Definition actbl3.h:455
UINT8 Reserved
Definition actbl3.h:456
UINT32 ProximityDomain
Definition actbl3.h:458
UINT8 DeviceHandleType
Definition actbl3.h:457
UINT32 Reserved1
Definition actbl3.h:461
UINT8 DeviceHandle[16]
Definition actbl3.h:459
Definition actbl3.h:442
ACPI_SUBTABLE_HEADER Header
Definition actbl3.h:443
UINT32 ProximityDomain
Definition actbl3.h:444
UINT32 ItsId
Definition actbl3.h:446
UINT16 Reserved
Definition actbl3.h:445
Definition actbl3.h:425
UINT32 ClockDomain
Definition actbl3.h:430
UINT32 AcpiProcessorUid
Definition actbl3.h:428
UINT32 ProximityDomain
Definition actbl3.h:427
ACPI_SUBTABLE_HEADER Header
Definition actbl3.h:426
UINT32 Flags
Definition actbl3.h:429
Definition actbl3.h:384
UINT64 Reserved2
Definition actbl3.h:392
UINT64 Length
Definition actbl3.h:389
UINT16 Reserved
Definition actbl3.h:387
UINT64 BaseAddress
Definition actbl3.h:388
UINT32 Flags
Definition actbl3.h:391
UINT32 Reserved1
Definition actbl3.h:390
UINT32 ProximityDomain
Definition actbl3.h:386
ACPI_SUBTABLE_HEADER Header
Definition actbl3.h:385
Definition actbl3.h:406
UINT32 ProximityDomain
Definition actbl3.h:409
UINT32 ClockDomain
Definition actbl3.h:412
UINT32 Flags
Definition actbl3.h:411
ACPI_SUBTABLE_HEADER Header
Definition actbl3.h:407
UINT16 Reserved
Definition actbl3.h:408
UINT32 ApicId
Definition actbl3.h:410
UINT32 Reserved2
Definition actbl3.h:413
Definition actbl1.h:237
Definition actbl.h:215
Definition actbl3.h:221
ACPI_TABLE_HEADER Header
Definition actbl3.h:222
Definition actbl3.h:235
ACPI_TABLE_HEADER Header
Definition actbl3.h:236
UINT64 LocalityCount
Definition actbl3.h:237
UINT8 Entry[1]
Definition actbl3.h:238
Definition actbl3.h:254
ACPI_TABLE_HEADER Header
Definition actbl3.h:255
UINT16 PciVendorId
Definition actbl3.h:269
UINT8 Reserved1
Definition actbl3.h:267
UINT8 FlowControl
Definition actbl3.h:265
UINT8 PciDevice
Definition actbl3.h:271
UINT8 PciSegment
Definition actbl3.h:274
UINT16 PciDeviceId
Definition actbl3.h:268
UINT8 InterruptType
Definition actbl3.h:259
ACPI_GENERIC_ADDRESS SerialPort
Definition actbl3.h:258
UINT8 BaudRate
Definition actbl3.h:262
UINT8 PcInterrupt
Definition actbl3.h:260
UINT8 PciBus
Definition actbl3.h:270
UINT8 PciFunction
Definition actbl3.h:272
UINT32 PciFlags
Definition actbl3.h:273
UINT8 TerminalType
Definition actbl3.h:266
UINT8 Parity
Definition actbl3.h:263
UINT8 StopBits
Definition actbl3.h:264
UINT8 Reserved[3]
Definition actbl3.h:257
UINT32 Reserved2
Definition actbl3.h:275
UINT8 InterfaceType
Definition actbl3.h:256
UINT32 Interrupt
Definition actbl3.h:261
Definition actbl3.h:298
UINT32 Interrupt
Definition actbl3.h:307
UINT8 Reserved1
Definition actbl3.h:305
ACPI_GENERIC_ADDRESS IpmiRegister
Definition actbl3.h:308
ACPI_TABLE_HEADER Header
Definition actbl3.h:299
UINT8 GpeNumber
Definition actbl3.h:304
UINT16 SpecRevision
Definition actbl3.h:302
UINT8 PciFunction
Definition actbl3.h:312
UINT8 Reserved2
Definition actbl3.h:313
UINT8 InterruptType
Definition actbl3.h:303
UINT8 PciDevice
Definition actbl3.h:311
UINT8 PciDeviceFlag
Definition actbl3.h:306
UINT8 InterfaceType
Definition actbl3.h:300
UINT8 PciBus
Definition actbl3.h:310
UINT8 Reserved
Definition actbl3.h:301
UINT8 PciSegment
Definition actbl3.h:309
Definition actbl3.h:338
ACPI_TABLE_HEADER Header
Definition actbl3.h:339
UINT32 TableRevision
Definition actbl3.h:340
UINT64 Reserved
Definition actbl3.h:341
Definition actbl3.h:480
UINT8 IgnoreUart
Definition actbl3.h:482
ACPI_TABLE_HEADER Header
Definition actbl3.h:481
Definition actbl3.h:520
UINT32 MinimumLogLength
Definition actbl3.h:521
UINT64 LogAddress
Definition actbl3.h:522
Definition actbl3.h:505
ACPI_TABLE_HEADER Header
Definition actbl3.h:506
UINT16 PlatformClass
Definition actbl3.h:507
Definition actbl3.h:527
UINT32 Reserved3
Definition actbl3.h:538
UINT64 MinimumLogLength
Definition actbl3.h:529
UINT8 GpeNumber
Definition actbl3.h:534
UINT64 LogAddress
Definition actbl3.h:530
UINT16 Reserved
Definition actbl3.h:528
ACPI_GENERIC_ADDRESS Address
Definition actbl3.h:537
UINT8 Reserved2[3]
Definition actbl3.h:535
UINT8 DeviceFlags
Definition actbl3.h:532
UINT16 SpecRevision
Definition actbl3.h:531
ACPI_GENERIC_ADDRESS ConfigAddress
Definition actbl3.h:539
UINT8 InterruptFlags
Definition actbl3.h:533
UINT32 GlobalInterrupt
Definition actbl3.h:536
UINT8 Device
Definition actbl3.h:542
UINT8 Function
Definition actbl3.h:543
UINT8 Bus
Definition actbl3.h:541
UINT8 Group
Definition actbl3.h:540
Definition actbl3.h:577
UINT32 Reserved
Definition actbl3.h:579
ACPI_TABLE_HEADER Header
Definition actbl3.h:578
UINT64 ControlAddress
Definition actbl3.h:580
UINT32 StartMethod
Definition actbl3.h:581
Definition actbl3.h:603
UINT16 Reserved
Definition actbl3.h:606
ACPI_TABLE_HEADER Header
Definition actbl3.h:604
UINT64 ControlAddress
Definition actbl3.h:607
UINT32 StartMethod
Definition actbl3.h:608
UINT16 PlatformClass
Definition actbl3.h:605
Definition actbl3.h:678
ACPI_TABLE_HEADER Header
Definition actbl3.h:679
UINT8 Identifier[16]
Definition actbl3.h:680
UINT16 DataOffset
Definition actbl3.h:681
Definition actbl3.h:698
ACPI_TABLE_HEADER Header
Definition actbl3.h:699
Definition actbl3.h:723
UINT32 Flags
Definition actbl3.h:725
ACPI_TABLE_HEADER Header
Definition actbl3.h:724
Definition actbl3.h:746
ACPI_TABLE_HEADER Header
Definition actbl3.h:747
UINT32 Entries
Definition actbl3.h:759
UINT8 PciBus
Definition actbl3.h:750
UINT8 Reserved2[3]
Definition actbl3.h:758
UINT16 PciSegment
Definition actbl3.h:749
UINT8 Reserved[3]
Definition actbl3.h:753
UINT32 HeaderLength
Definition actbl3.h:748
UINT8 PciFunction
Definition actbl3.h:752
UINT8 PciDevice
Definition actbl3.h:751
UINT8 Flags
Definition actbl3.h:757
UINT32 MinCount
Definition actbl3.h:756
UINT32 TimerPeriod
Definition actbl3.h:754
UINT32 MaxCount
Definition actbl3.h:755
Definition actbl3.h:827
UINT16 Period
Definition actbl3.h:835
UINT16 PciVendorId
Definition actbl3.h:831
UINT16 Capability
Definition actbl3.h:837
UINT16 Status
Definition actbl3.h:836
ACPI_TABLE_HEADER Header
Definition actbl3.h:828
UINT16 MinCount
Definition actbl3.h:834
UINT16 MaxCount
Definition actbl3.h:833
ACPI_GENERIC_ADDRESS Address
Definition actbl3.h:832
UINT16 TableVersion
Definition actbl3.h:830
UINT16 SpecVersion
Definition actbl3.h:829
Definition actbl3.h:868
UINT8 PciFunction
Definition actbl3.h:876
ACPI_TABLE_HEADER Header
Definition actbl3.h:869
UINT8 Units
Definition actbl3.h:879
UINT16 PciDeviceId
Definition actbl3.h:872
UINT8 PciDevice
Definition actbl3.h:875
ACPI_GENERIC_ADDRESS ControlRegister
Definition actbl3.h:870
UINT8 PciSegment
Definition actbl3.h:877
UINT16 MaxCount
Definition actbl3.h:878
UINT8 PciBus
Definition actbl3.h:874
ACPI_GENERIC_ADDRESS CountRegister
Definition actbl3.h:871
UINT16 PciVendorId
Definition actbl3.h:873
Definition actbl3.h:894
UINT8 Layout
Definition actbl3.h:898
UINT8 Type
Definition actbl3.h:899
UINT16 ArgumentsLength
Definition actbl3.h:900
UINT32 HandoffSize
Definition actbl3.h:896
ACPI_TABLE_HEADER Header
Definition actbl3.h:895
UINT64 HandoffAddress
Definition actbl3.h:897
Definition actbl3.h:916
ACPI_TABLE_HEADER Header
Definition actbl3.h:917
UINT32 ProtectionFlags
Definition actbl3.h:918
Definition actbl3.h:939
UINT32 EventInterrupt
Definition actbl3.h:943
UINT8 EventFlags
Definition actbl3.h:944
ACPI_TABLE_HEADER Header
Definition actbl3.h:940
UINT64 GrantTableSize
Definition actbl3.h:942
UINT64 GrantTableAddress
Definition actbl3.h:941
Definition actbl3.h:594
UINT32 Reserved
Definition actbl3.h:595
Definition actbl3.h:649
UINT8 OperationFlags
Definition actbl3.h:652
UINT32 GlobalInterrupt
Definition actbl3.h:650
UINT16 Reserved
Definition actbl3.h:653
UINT8 InterruptFlags
Definition actbl3.h:651
UINT32 FunctionId
Definition actbl3.h:654
Definition actbl3.h:634
UINT8 MethodParameters[12]
Definition actbl3.h:635
UINT64 LogAddress
Definition actbl3.h:637
UINT32 MinimumLogLength
Definition actbl3.h:636
Definition actbl3.h:706
ACPI_GENERIC_ADDRESS PhysicalAddress
Definition actbl3.h:707
UINT32 Irq
Definition actbl3.h:708
Definition actbl3.h:772
UINT16 Reserved
Definition actbl3.h:775
UINT32 Value
Definition actbl3.h:777
ACPI_GENERIC_ADDRESS RegisterRegion
Definition actbl3.h:776
UINT32 Mask
Definition actbl3.h:778
UINT8 Action
Definition actbl3.h:773
UINT8 Instruction
Definition actbl3.h:774