aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi/actbl.h
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2009-07-26 22:53:00 -0400
committerLen Brown <len.brown@intel.com>2009-08-28 19:40:38 -0400
commit6e2d5ebd0d36199920676fdceaff4f4bfe66297b (patch)
tree334c129986a3ae126378a001d871d3e4267db6ea /include/acpi/actbl.h
parentb24aad44438d5bc21cbbfb94a99d9bf710d8295b (diff)
ACPICA: ACPI 4: Update headers for new and changed ACPI tables.
Add IVRS,MSCT,UEFI,WAET,WDAT. Updated several existing tables for ACPI 4.0-related changes. Added document references for all tables not defined in ACPI spec. Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi/actbl.h')
-rw-r--r--include/acpi/actbl.h30
1 files changed, 18 insertions, 12 deletions
diff --git a/include/acpi/actbl.h b/include/acpi/actbl.h
index 55fcfc6725b2..1b6587952604 100644
--- a/include/acpi/actbl.h
+++ b/include/acpi/actbl.h
@@ -58,8 +58,9 @@
58 ******************************************************************************/ 58 ******************************************************************************/
59 59
60/* 60/*
61 * Values for description table header signatures. Useful because they make 61 * Values for description table header signatures for tables defined in this
62 * it more difficult to inadvertently type in the wrong signature. 62 * file. Useful because they make it more difficult to inadvertently type in
63 * the wrong signature.
63 */ 64 */
64#define ACPI_SIG_DSDT "DSDT" /* Differentiated System Description Table */ 65#define ACPI_SIG_DSDT "DSDT" /* Differentiated System Description Table */
65#define ACPI_SIG_FADT "FACP" /* Fixed ACPI Description Table */ 66#define ACPI_SIG_FADT "FACP" /* Fixed ACPI Description Table */
@@ -123,6 +124,7 @@ struct acpi_generic_address {
123/******************************************************************************* 124/*******************************************************************************
124 * 125 *
125 * RSDP - Root System Description Pointer (Signature is "RSD PTR ") 126 * RSDP - Root System Description Pointer (Signature is "RSD PTR ")
127 * Version 2
126 * 128 *
127 ******************************************************************************/ 129 ******************************************************************************/
128 130
@@ -143,6 +145,7 @@ struct acpi_table_rsdp {
143/******************************************************************************* 145/*******************************************************************************
144 * 146 *
145 * RSDT/XSDT - Root System Description Tables 147 * RSDT/XSDT - Root System Description Tables
148 * Version 1 (both)
146 * 149 *
147 ******************************************************************************/ 150 ******************************************************************************/
148 151
@@ -176,23 +179,24 @@ struct acpi_table_facs {
176 u8 reserved1[24]; /* Reserved, must be zero */ 179 u8 reserved1[24]; /* Reserved, must be zero */
177}; 180};
178 181
179/* global_lock flags */ 182/* Masks for global_lock flag field above */
180 183
181#define ACPI_GLOCK_PENDING (1) /* 00: Pending global lock ownership */ 184#define ACPI_GLOCK_PENDING (1) /* 00: Pending global lock ownership */
182#define ACPI_GLOCK_OWNED (1<<1) /* 01: Global lock is owned */ 185#define ACPI_GLOCK_OWNED (1<<1) /* 01: Global lock is owned */
183 186
184/* Flags */ 187/* Masks for Flags field above */
185 188
186#define ACPI_FACS_S4_BIOS_PRESENT (1) /* 00: S4BIOS support is present */ 189#define ACPI_FACS_S4_BIOS_PRESENT (1) /* 00: S4BIOS support is present */
187#define ACPI_FACS_64BIT_WAKE (1<<1) /* 01: 64-bit wake vector supported (ACPI 4.0) */ 190#define ACPI_FACS_64BIT_WAKE (1<<1) /* 01: 64-bit wake vector supported (ACPI 4.0) */
188 191
189/* ospm_flags */ 192/* Masks for ospm_flags field above */
190 193
191#define ACPI_FACS_64BIT_ENVIRONMENT (1) /* 00: 64-bit wake environment is required (ACPI 4.0) */ 194#define ACPI_FACS_64BIT_ENVIRONMENT (1) /* 00: 64-bit wake environment is required (ACPI 4.0) */
192 195
193/******************************************************************************* 196/*******************************************************************************
194 * 197 *
195 * FADT - Fixed ACPI Description Table (Signature "FACP") 198 * FADT - Fixed ACPI Description Table (Signature "FACP")
199 * Version 4
196 * 200 *
197 ******************************************************************************/ 201 ******************************************************************************/
198 202
@@ -253,7 +257,7 @@ struct acpi_table_fadt {
253 struct acpi_generic_address xgpe1_block; /* 64-bit Extended General Purpose Event 1 Reg Blk address */ 257 struct acpi_generic_address xgpe1_block; /* 64-bit Extended General Purpose Event 1 Reg Blk address */
254}; 258};
255 259
256/* FADT Boot Architecture Flags (boot_flags) */ 260/* Masks for FADT Boot Architecture Flags (boot_flags) */
257 261
258#define ACPI_FADT_LEGACY_DEVICES (1) /* 00: [V2] System has LPC or ISA bus devices */ 262#define ACPI_FADT_LEGACY_DEVICES (1) /* 00: [V2] System has LPC or ISA bus devices */
259#define ACPI_FADT_8042 (1<<1) /* 01: [V3] System has an 8042 controller on port 60/64 */ 263#define ACPI_FADT_8042 (1<<1) /* 01: [V3] System has an 8042 controller on port 60/64 */
@@ -263,7 +267,7 @@ struct acpi_table_fadt {
263 267
264#define FADT2_REVISION_ID 3 268#define FADT2_REVISION_ID 3
265 269
266/* FADT flags */ 270/* Masks for FADT flags */
267 271
268#define ACPI_FADT_WBINVD (1) /* 00: [V1] The wbinvd instruction works properly */ 272#define ACPI_FADT_WBINVD (1) /* 00: [V1] The wbinvd instruction works properly */
269#define ACPI_FADT_WBINVD_FLUSH (1<<1) /* 01: [V1] wbinvd flushes but does not invalidate caches */ 273#define ACPI_FADT_WBINVD_FLUSH (1<<1) /* 01: [V1] wbinvd flushes but does not invalidate caches */
@@ -286,7 +290,7 @@ struct acpi_table_fadt {
286#define ACPI_FADT_APIC_CLUSTER (1<<18) /* 18: [V4] All local APICs must use cluster model (ACPI 3.0) */ 290#define ACPI_FADT_APIC_CLUSTER (1<<18) /* 18: [V4] All local APICs must use cluster model (ACPI 3.0) */
287#define ACPI_FADT_APIC_PHYSICAL (1<<19) /* 19: [V4] All local x_aPICs must use physical dest mode (ACPI 3.0) */ 291#define ACPI_FADT_APIC_PHYSICAL (1<<19) /* 19: [V4] All local x_aPICs must use physical dest mode (ACPI 3.0) */
288 292
289/* FADT Prefered Power Management Profiles */ 293/* Values for preferred_profile (Prefered Power Management Profiles) */
290 294
291enum acpi_prefered_pm_profiles { 295enum acpi_prefered_pm_profiles {
292 PM_UNSPECIFIED = 0, 296 PM_UNSPECIFIED = 0,
@@ -304,14 +308,16 @@ enum acpi_prefered_pm_profiles {
304 308
305#define ACPI_FADT_OFFSET(f) (u8) ACPI_OFFSET (struct acpi_table_fadt, f) 309#define ACPI_FADT_OFFSET(f) (u8) ACPI_OFFSET (struct acpi_table_fadt, f)
306 310
311/*
312 * Internal table-related structures
313 */
307union acpi_name_union { 314union acpi_name_union {
308 u32 integer; 315 u32 integer;
309 char ascii[4]; 316 char ascii[4];
310}; 317};
311 318
312/* 319/* Internal ACPI Table Descriptor. One per ACPI table. */
313 * Internal ACPI Table Descriptor. One per ACPI table 320
314 */
315struct acpi_table_desc { 321struct acpi_table_desc {
316 acpi_physical_address address; 322 acpi_physical_address address;
317 struct acpi_table_header *pointer; 323 struct acpi_table_header *pointer;
@@ -321,7 +327,7 @@ struct acpi_table_desc {
321 u8 flags; 327 u8 flags;
322}; 328};
323 329
324/* Flags for above */ 330/* Masks for Flags field above */
325 331
326#define ACPI_TABLE_ORIGIN_UNKNOWN (0) 332#define ACPI_TABLE_ORIGIN_UNKNOWN (0)
327#define ACPI_TABLE_ORIGIN_MAPPED (1) 333#define ACPI_TABLE_ORIGIN_MAPPED (1)