aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi/actbl.h
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2009-07-24 01:30:17 -0400
committerLen Brown <len.brown@intel.com>2009-08-28 19:40:38 -0400
commitb24aad44438d5bc21cbbfb94a99d9bf710d8295b (patch)
treebc45461940a8bc515682cf190ee4ff2731e31a86 /include/acpi/actbl.h
parent2f977b36e5f175e5126f280e7a94f0c53d1b1a16 (diff)
ACPICA: Split large ACPI table header
Split out the non-acpi-defined ACPI tables into the existing (but empty) actbl2.h file. Preparation for new ACPI 4.0 tables. 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.h35
1 files changed, 23 insertions, 12 deletions
diff --git a/include/acpi/actbl.h b/include/acpi/actbl.h
index 0649a5670026..55fcfc6725b2 100644
--- a/include/acpi/actbl.h
+++ b/include/acpi/actbl.h
@@ -44,6 +44,19 @@
44#ifndef __ACTBL_H__ 44#ifndef __ACTBL_H__
45#define __ACTBL_H__ 45#define __ACTBL_H__
46 46
47/*******************************************************************************
48 *
49 * Fundamental ACPI tables
50 *
51 * This file contains definitions for the ACPI tables that are directly consumed
52 * by ACPICA. All other tables are consumed by the OS-dependent ACPI-related
53 * device drivers and other OS support code.
54 *
55 * The RSDP and FACS do not use the common ACPI table header. All other ACPI
56 * tables use the header.
57 *
58 ******************************************************************************/
59
47/* 60/*
48 * Values for description table header signatures. Useful because they make 61 * Values for description table header signatures. Useful because they make
49 * it more difficult to inadvertently type in the wrong signature. 62 * it more difficult to inadvertently type in the wrong signature.
@@ -65,11 +78,6 @@
65#pragma pack(1) 78#pragma pack(1)
66 79
67/* 80/*
68 * These are the ACPI tables that are directly consumed by the subsystem.
69 *
70 * The RSDP and FACS do not use the common ACPI table header. All other ACPI
71 * tables use the header.
72 *
73 * Note about bitfields: The u8 type is used for bitfields in ACPI tables. 81 * Note about bitfields: The u8 type is used for bitfields in ACPI tables.
74 * This is the only type that is even remotely portable. Anything else is not 82 * This is the only type that is even remotely portable. Anything else is not
75 * portable, so do not use any other bitfield types. 83 * portable, so do not use any other bitfield types.
@@ -77,9 +85,8 @@
77 85
78/******************************************************************************* 86/*******************************************************************************
79 * 87 *
80 * ACPI Table Header. This common header is used by all tables except the 88 * Master ACPI Table Header. This common header is used by all ACPI tables
81 * RSDP and FACS. The define is used for direct inclusion of header into 89 * except the RSDP and FACS.
82 * other ACPI tables
83 * 90 *
84 ******************************************************************************/ 91 ******************************************************************************/
85 92
@@ -95,13 +102,16 @@ struct acpi_table_header {
95 u32 asl_compiler_revision; /* ASL compiler version */ 102 u32 asl_compiler_revision; /* ASL compiler version */
96}; 103};
97 104
98/* 105/*******************************************************************************
106 *
99 * GAS - Generic Address Structure (ACPI 2.0+) 107 * GAS - Generic Address Structure (ACPI 2.0+)
100 * 108 *
101 * Note: Since this structure is used in the ACPI tables, it is byte aligned. 109 * Note: Since this structure is used in the ACPI tables, it is byte aligned.
102 * If misalignment is not supported, access to the Address field must be 110 * If misaliged access is not supported by the hardware, accesses to the
103 * performed with care. 111 * 64-bit Address field must be performed with care.
104 */ 112 *
113 ******************************************************************************/
114
105struct acpi_generic_address { 115struct acpi_generic_address {
106 u8 space_id; /* Address space where struct or register exists */ 116 u8 space_id; /* Address space where struct or register exists */
107 u8 bit_width; /* Size in bits of given register */ 117 u8 bit_width; /* Size in bits of given register */
@@ -325,5 +335,6 @@ struct acpi_table_desc {
325 */ 335 */
326 336
327#include <acpi/actbl1.h> 337#include <acpi/actbl1.h>
338#include <acpi/actbl2.h>
328 339
329#endif /* __ACTBL_H__ */ 340#endif /* __ACTBL_H__ */