aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi/acdisasm.h
diff options
context:
space:
mode:
authorRobert Moore <Robert.Moore@intel.com>2005-09-16 16:51:15 -0400
committerLen Brown <len.brown@intel.com>2005-09-21 23:51:39 -0400
commitbda663d36b94c723153246a4231bbc0f1cd1836e (patch)
treecc9f75c1d010d1b99d29f13acd600b21eda5eec5 /include/acpi/acdisasm.h
parentefb0372bbaf5b829ff8c39db372779928af542a7 (diff)
[ACPI] ACPICA 20050916
Fixed a problem within the Resource Manager where support for the Generic Register descriptor was not fully implemented. This descriptor is now fully recognized, parsed, disassembled, and displayed. Restructured the Resource Manager code to utilize table-driven dispatch and lookup, eliminating many of the large switch() statements. This reduces overall subsystem code size and code complexity. Affects the resource parsing and construction, disassembly, and debug dump output. Cleaned up and restructured the debug dump output for all resource descriptors. Improved readability of the output and reduced code size. Fixed a problem where changes to internal data structures caused the optional ACPI_MUTEX_DEBUG code to fail compilation if specified. Signed-off-by: Robert Moore <Robert.Moore@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi/acdisasm.h')
-rw-r--r--include/acpi/acdisasm.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/include/acpi/acdisasm.h b/include/acpi/acdisasm.h
index 3d96dcb1bb4b..759b4cff4f88 100644
--- a/include/acpi/acdisasm.h
+++ b/include/acpi/acdisasm.h
@@ -187,73 +187,73 @@ void acpi_dm_decode_attribute(u8 attribute);
187 * dmresrcl 187 * dmresrcl
188 */ 188 */
189void 189void
190acpi_dm_word_descriptor(struct asl_word_address_desc *resource, 190acpi_dm_word_descriptor(union asl_resource_desc *resource,
191 u32 length, u32 level); 191 u32 length, u32 level);
192 192
193void 193void
194acpi_dm_dword_descriptor(struct asl_dword_address_desc *resource, 194acpi_dm_dword_descriptor(union asl_resource_desc *resource,
195 u32 length, u32 level); 195 u32 length, u32 level);
196 196
197void 197void
198acpi_dm_extended_descriptor(struct asl_extended_address_desc *resource, 198acpi_dm_extended_descriptor(union asl_resource_desc *resource,
199 u32 length, u32 level); 199 u32 length, u32 level);
200 200
201void 201void
202acpi_dm_qword_descriptor(struct asl_qword_address_desc *resource, 202acpi_dm_qword_descriptor(union asl_resource_desc *resource,
203 u32 length, u32 level); 203 u32 length, u32 level);
204 204
205void 205void
206acpi_dm_memory24_descriptor(struct asl_memory_24_desc *resource, 206acpi_dm_memory24_descriptor(union asl_resource_desc *resource,
207 u32 length, u32 level); 207 u32 length, u32 level);
208 208
209void 209void
210acpi_dm_memory32_descriptor(struct asl_memory_32_desc *resource, 210acpi_dm_memory32_descriptor(union asl_resource_desc *resource,
211 u32 length, u32 level); 211 u32 length, u32 level);
212 212
213void 213void
214acpi_dm_fixed_mem32_descriptor(struct asl_fixed_memory_32_desc *resource, 214acpi_dm_fixed_memory32_descriptor(union asl_resource_desc *resource,
215 u32 length, u32 level); 215 u32 length, u32 level);
216 216
217void 217void
218acpi_dm_generic_register_descriptor(struct asl_general_register_desc *resource, 218acpi_dm_generic_register_descriptor(union asl_resource_desc *resource,
219 u32 length, u32 level); 219 u32 length, u32 level);
220 220
221void 221void
222acpi_dm_interrupt_descriptor(struct asl_extended_xrupt_desc *resource, 222acpi_dm_interrupt_descriptor(union asl_resource_desc *resource,
223 u32 length, u32 level); 223 u32 length, u32 level);
224 224
225void 225void
226acpi_dm_vendor_large_descriptor(struct asl_large_vendor_desc *resource, 226acpi_dm_vendor_large_descriptor(union asl_resource_desc *resource,
227 u32 length, u32 level); 227 u32 length, u32 level);
228 228
229/* 229/*
230 * dmresrcs 230 * dmresrcs
231 */ 231 */
232void 232void
233acpi_dm_irq_descriptor(struct asl_irq_format_desc *resource, 233acpi_dm_irq_descriptor(union asl_resource_desc *resource,
234 u32 length, u32 level); 234 u32 length, u32 level);
235 235
236void 236void
237acpi_dm_dma_descriptor(struct asl_dma_format_desc *resource, 237acpi_dm_dma_descriptor(union asl_resource_desc *resource,
238 u32 length, u32 level); 238 u32 length, u32 level);
239 239
240void 240void
241acpi_dm_io_descriptor(struct asl_io_port_desc *resource, u32 length, u32 level); 241acpi_dm_io_descriptor(union asl_resource_desc *resource, u32 length, u32 level);
242 242
243void 243void
244acpi_dm_fixed_io_descriptor(struct asl_fixed_io_port_desc *resource, 244acpi_dm_fixed_io_descriptor(union asl_resource_desc *resource,
245 u32 length, u32 level); 245 u32 length, u32 level);
246 246
247void 247void
248acpi_dm_start_dependent_descriptor(struct asl_start_dependent_desc *resource, 248acpi_dm_start_dependent_descriptor(union asl_resource_desc *resource,
249 u32 length, u32 level); 249 u32 length, u32 level);
250 250
251void 251void
252acpi_dm_end_dependent_descriptor(struct asl_start_dependent_desc *resource, 252acpi_dm_end_dependent_descriptor(union asl_resource_desc *resource,
253 u32 length, u32 level); 253 u32 length, u32 level);
254 254
255void 255void
256acpi_dm_vendor_small_descriptor(struct asl_small_vendor_desc *resource, 256acpi_dm_vendor_small_descriptor(union asl_resource_desc *resource,
257 u32 length, u32 level); 257 u32 length, u32 level);
258 258
259/* 259/*