aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi/amlresrc.h
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2005-10-21 00:00:00 -0400
committerLen Brown <len.brown@intel.com>2005-12-10 00:22:54 -0500
commit0897831bb54eb36fd9e2a22da7f0f64be1b20d09 (patch)
tree8d77687ce8ebcfb62d6012d2d3c44f6a904b3c15 /include/acpi/amlresrc.h
parent50eca3eb89d73d9f0aa070b126c7ee6a616016ab (diff)
[ACPI] ACPICA 20051021
Implemented support for the EM64T and other x86_64 processors. This essentially entails recognizing that these processors support non-aligned memory transfers. Previously, all 64-bit processors were assumed to lack hardware support for non-aligned transfers. Completed conversion of the Resource Manager to nearly full table-driven operation. Specifically, the resource conversion code (convert AML to internal format and the reverse) and the debug code to dump internal resource descriptors are fully table-driven, reducing code and data size and improving maintainability. The OSL interfaces for Acquire and Release Lock now use a 64-bit flag word on 64-bit processors instead of a fixed 32-bit word. (Alexey Starikovskiy) Implemented support within the resource conversion code for the Type-Specific byte within the various ACPI 3.0 *WordSpace macros. Fixed some issues within the resource conversion code for the type-specific flags for both Memory and I/O address resource descriptors. For Memory, implemented support for the MTP and TTP flags. For I/O, split the TRS and TTP flags into two separate fields. Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi/amlresrc.h')
-rw-r--r--include/acpi/amlresrc.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/acpi/amlresrc.h b/include/acpi/amlresrc.h
index 103aff07db18..3112be527731 100644
--- a/include/acpi/amlresrc.h
+++ b/include/acpi/amlresrc.h
@@ -134,7 +134,7 @@ struct aml_resource_end_dependent {
134AML_RESOURCE_SMALL_HEADER_COMMON}; 134AML_RESOURCE_SMALL_HEADER_COMMON};
135 135
136struct aml_resource_io { 136struct aml_resource_io {
137 AML_RESOURCE_SMALL_HEADER_COMMON u8 information; 137 AML_RESOURCE_SMALL_HEADER_COMMON u8 flags;
138 u16 minimum; 138 u16 minimum;
139 u16 maximum; 139 u16 maximum;
140 u8 alignment; 140 u8 alignment;
@@ -164,7 +164,7 @@ struct aml_resource_large_header {
164AML_RESOURCE_LARGE_HEADER_COMMON}; 164AML_RESOURCE_LARGE_HEADER_COMMON};
165 165
166struct aml_resource_memory24 { 166struct aml_resource_memory24 {
167 AML_RESOURCE_LARGE_HEADER_COMMON u8 information; 167 AML_RESOURCE_LARGE_HEADER_COMMON u8 flags;
168 u16 minimum; 168 u16 minimum;
169 u16 maximum; 169 u16 maximum;
170 u16 alignment; 170 u16 alignment;
@@ -175,7 +175,7 @@ struct aml_resource_vendor_large {
175AML_RESOURCE_LARGE_HEADER_COMMON}; 175AML_RESOURCE_LARGE_HEADER_COMMON};
176 176
177struct aml_resource_memory32 { 177struct aml_resource_memory32 {
178 AML_RESOURCE_LARGE_HEADER_COMMON u8 information; 178 AML_RESOURCE_LARGE_HEADER_COMMON u8 flags;
179 u32 minimum; 179 u32 minimum;
180 u32 maximum; 180 u32 maximum;
181 u32 alignment; 181 u32 alignment;
@@ -183,7 +183,7 @@ struct aml_resource_memory32 {
183}; 183};
184 184
185struct aml_resource_fixed_memory32 { 185struct aml_resource_fixed_memory32 {
186 AML_RESOURCE_LARGE_HEADER_COMMON u8 information; 186 AML_RESOURCE_LARGE_HEADER_COMMON u8 flags;
187 u32 address; 187 u32 address;
188 u32 address_length; 188 u32 address_length;
189}; 189};
@@ -205,7 +205,7 @@ struct aml_resource_extended_address64 {
205 u64 maximum; 205 u64 maximum;
206 u64 translation_offset; 206 u64 translation_offset;
207 u64 address_length; 207 u64 address_length;
208 u64 type_specific_attributes; 208 u64 type_specific;
209}; 209};
210 210
211#define AML_RESOURCE_EXTENDED_ADDRESS_REVISION 1 /* ACPI 3.0 */ 211#define AML_RESOURCE_EXTENDED_ADDRESS_REVISION 1 /* ACPI 3.0 */
@@ -239,8 +239,8 @@ struct aml_resource_address16 {
239 239
240struct aml_resource_extended_irq { 240struct aml_resource_extended_irq {
241 AML_RESOURCE_LARGE_HEADER_COMMON u8 flags; 241 AML_RESOURCE_LARGE_HEADER_COMMON u8 flags;
242 u8 table_length; 242 u8 interrupt_count;
243 u32 interrupt_number[1]; 243 u32 interrupts[1];
244 /* res_source_index, res_source optional fields follow */ 244 /* res_source_index, res_source optional fields follow */
245}; 245};
246 246