diff options
author | Bob Moore <robert.moore@intel.com> | 2010-01-20 21:06:32 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2010-01-22 12:30:06 -0500 |
commit | 5df7e6cb42da36c7d878239bebc81907b15f3943 (patch) | |
tree | 44b6829f90f8a31d18e43c0211ee41f0217ac7b1 /drivers/acpi/acpica/acinterp.h | |
parent | 091f4d718620a79698e1c8ca3e9acbf78eb62da3 (diff) |
ACPICA: Remove obsolete ACPI_INTEGER (acpi_integer) type
This type was introduced as the code was migrated from ACPI 1.0
(with 32-bit AML integers) to ACPI 2.0 (with 64-bit integers). It
is now obsolete and this change removes it from the ACPICA code
base, replaced by u64. The original typedef has been retained
for now for compatibility with existing device driver code.
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 'drivers/acpi/acpica/acinterp.h')
-rw-r--r-- | drivers/acpi/acpica/acinterp.h | 42 |
1 files changed, 19 insertions, 23 deletions
diff --git a/drivers/acpi/acpica/acinterp.h b/drivers/acpi/acpica/acinterp.h index c9d7802f9118..6df3f8428168 100644 --- a/drivers/acpi/acpica/acinterp.h +++ b/drivers/acpi/acpica/acinterp.h | |||
@@ -129,18 +129,17 @@ acpi_ex_common_buffer_setup(union acpi_operand_object *obj_desc, | |||
129 | 129 | ||
130 | acpi_status | 130 | acpi_status |
131 | acpi_ex_write_with_update_rule(union acpi_operand_object *obj_desc, | 131 | acpi_ex_write_with_update_rule(union acpi_operand_object *obj_desc, |
132 | acpi_integer mask, | 132 | u64 mask, |
133 | acpi_integer field_value, | 133 | u64 field_value, u32 field_datum_byte_offset); |
134 | u32 field_datum_byte_offset); | ||
135 | 134 | ||
136 | void | 135 | void |
137 | acpi_ex_get_buffer_datum(acpi_integer * datum, | 136 | acpi_ex_get_buffer_datum(u64 *datum, |
138 | void *buffer, | 137 | void *buffer, |
139 | u32 buffer_length, | 138 | u32 buffer_length, |
140 | u32 byte_granularity, u32 buffer_offset); | 139 | u32 byte_granularity, u32 buffer_offset); |
141 | 140 | ||
142 | void | 141 | void |
143 | acpi_ex_set_buffer_datum(acpi_integer merged_datum, | 142 | acpi_ex_set_buffer_datum(u64 merged_datum, |
144 | void *buffer, | 143 | void *buffer, |
145 | u32 buffer_length, | 144 | u32 buffer_length, |
146 | u32 byte_granularity, u32 buffer_offset); | 145 | u32 byte_granularity, u32 buffer_offset); |
@@ -168,8 +167,7 @@ acpi_ex_insert_into_field(union acpi_operand_object *obj_desc, | |||
168 | 167 | ||
169 | acpi_status | 168 | acpi_status |
170 | acpi_ex_access_region(union acpi_operand_object *obj_desc, | 169 | acpi_ex_access_region(union acpi_operand_object *obj_desc, |
171 | u32 field_datum_byte_offset, | 170 | u32 field_datum_byte_offset, u64 *value, u32 read_write); |
172 | acpi_integer * value, u32 read_write); | ||
173 | 171 | ||
174 | /* | 172 | /* |
175 | * exmisc - misc support routines | 173 | * exmisc - misc support routines |
@@ -193,16 +191,14 @@ acpi_ex_do_concatenate(union acpi_operand_object *obj_desc, | |||
193 | 191 | ||
194 | acpi_status | 192 | acpi_status |
195 | acpi_ex_do_logical_numeric_op(u16 opcode, | 193 | acpi_ex_do_logical_numeric_op(u16 opcode, |
196 | acpi_integer integer0, | 194 | u64 integer0, u64 integer1, u8 *logical_result); |
197 | acpi_integer integer1, u8 * logical_result); | ||
198 | 195 | ||
199 | acpi_status | 196 | acpi_status |
200 | acpi_ex_do_logical_op(u16 opcode, | 197 | acpi_ex_do_logical_op(u16 opcode, |
201 | union acpi_operand_object *operand0, | 198 | union acpi_operand_object *operand0, |
202 | union acpi_operand_object *operand1, u8 * logical_result); | 199 | union acpi_operand_object *operand1, u8 *logical_result); |
203 | 200 | ||
204 | acpi_integer | 201 | u64 acpi_ex_do_math_op(u16 opcode, u64 operand0, u64 operand1); |
205 | acpi_ex_do_math_op(u16 opcode, acpi_integer operand0, acpi_integer operand1); | ||
206 | 202 | ||
207 | acpi_status acpi_ex_create_mutex(struct acpi_walk_state *walk_state); | 203 | acpi_status acpi_ex_create_mutex(struct acpi_walk_state *walk_state); |
208 | 204 | ||
@@ -278,7 +274,7 @@ acpi_status | |||
278 | acpi_ex_system_do_notify_op(union acpi_operand_object *value, | 274 | acpi_ex_system_do_notify_op(union acpi_operand_object *value, |
279 | union acpi_operand_object *obj_desc); | 275 | union acpi_operand_object *obj_desc); |
280 | 276 | ||
281 | acpi_status acpi_ex_system_do_suspend(acpi_integer time); | 277 | acpi_status acpi_ex_system_do_suspend(u64 time); |
282 | 278 | ||
283 | acpi_status acpi_ex_system_do_stall(u32 time); | 279 | acpi_status acpi_ex_system_do_stall(u32 time); |
284 | 280 | ||
@@ -461,9 +457,9 @@ void acpi_ex_acquire_global_lock(u32 rule); | |||
461 | 457 | ||
462 | void acpi_ex_release_global_lock(u32 rule); | 458 | void acpi_ex_release_global_lock(u32 rule); |
463 | 459 | ||
464 | void acpi_ex_eisa_id_to_string(char *dest, acpi_integer compressed_id); | 460 | void acpi_ex_eisa_id_to_string(char *dest, u64 compressed_id); |
465 | 461 | ||
466 | void acpi_ex_integer_to_string(char *dest, acpi_integer value); | 462 | void acpi_ex_integer_to_string(char *dest, u64 value); |
467 | 463 | ||
468 | /* | 464 | /* |
469 | * exregion - default op_region handlers | 465 | * exregion - default op_region handlers |
@@ -472,7 +468,7 @@ acpi_status | |||
472 | acpi_ex_system_memory_space_handler(u32 function, | 468 | acpi_ex_system_memory_space_handler(u32 function, |
473 | acpi_physical_address address, | 469 | acpi_physical_address address, |
474 | u32 bit_width, | 470 | u32 bit_width, |
475 | acpi_integer * value, | 471 | u64 *value, |
476 | void *handler_context, | 472 | void *handler_context, |
477 | void *region_context); | 473 | void *region_context); |
478 | 474 | ||
@@ -480,35 +476,35 @@ acpi_status | |||
480 | acpi_ex_system_io_space_handler(u32 function, | 476 | acpi_ex_system_io_space_handler(u32 function, |
481 | acpi_physical_address address, | 477 | acpi_physical_address address, |
482 | u32 bit_width, | 478 | u32 bit_width, |
483 | acpi_integer * value, | 479 | u64 *value, |
484 | void *handler_context, void *region_context); | 480 | void *handler_context, void *region_context); |
485 | 481 | ||
486 | acpi_status | 482 | acpi_status |
487 | acpi_ex_pci_config_space_handler(u32 function, | 483 | acpi_ex_pci_config_space_handler(u32 function, |
488 | acpi_physical_address address, | 484 | acpi_physical_address address, |
489 | u32 bit_width, | 485 | u32 bit_width, |
490 | acpi_integer * value, | 486 | u64 *value, |
491 | void *handler_context, void *region_context); | 487 | void *handler_context, void *region_context); |
492 | 488 | ||
493 | acpi_status | 489 | acpi_status |
494 | acpi_ex_cmos_space_handler(u32 function, | 490 | acpi_ex_cmos_space_handler(u32 function, |
495 | acpi_physical_address address, | 491 | acpi_physical_address address, |
496 | u32 bit_width, | 492 | u32 bit_width, |
497 | acpi_integer * value, | 493 | u64 *value, |
498 | void *handler_context, void *region_context); | 494 | void *handler_context, void *region_context); |
499 | 495 | ||
500 | acpi_status | 496 | acpi_status |
501 | acpi_ex_pci_bar_space_handler(u32 function, | 497 | acpi_ex_pci_bar_space_handler(u32 function, |
502 | acpi_physical_address address, | 498 | acpi_physical_address address, |
503 | u32 bit_width, | 499 | u32 bit_width, |
504 | acpi_integer * value, | 500 | u64 *value, |
505 | void *handler_context, void *region_context); | 501 | void *handler_context, void *region_context); |
506 | 502 | ||
507 | acpi_status | 503 | acpi_status |
508 | acpi_ex_embedded_controller_space_handler(u32 function, | 504 | acpi_ex_embedded_controller_space_handler(u32 function, |
509 | acpi_physical_address address, | 505 | acpi_physical_address address, |
510 | u32 bit_width, | 506 | u32 bit_width, |
511 | acpi_integer * value, | 507 | u64 *value, |
512 | void *handler_context, | 508 | void *handler_context, |
513 | void *region_context); | 509 | void *region_context); |
514 | 510 | ||
@@ -516,14 +512,14 @@ acpi_status | |||
516 | acpi_ex_sm_bus_space_handler(u32 function, | 512 | acpi_ex_sm_bus_space_handler(u32 function, |
517 | acpi_physical_address address, | 513 | acpi_physical_address address, |
518 | u32 bit_width, | 514 | u32 bit_width, |
519 | acpi_integer * value, | 515 | u64 *value, |
520 | void *handler_context, void *region_context); | 516 | void *handler_context, void *region_context); |
521 | 517 | ||
522 | acpi_status | 518 | acpi_status |
523 | acpi_ex_data_table_space_handler(u32 function, | 519 | acpi_ex_data_table_space_handler(u32 function, |
524 | acpi_physical_address address, | 520 | acpi_physical_address address, |
525 | u32 bit_width, | 521 | u32 bit_width, |
526 | acpi_integer * value, | 522 | u64 *value, |
527 | void *handler_context, void *region_context); | 523 | void *handler_context, void *region_context); |
528 | 524 | ||
529 | #endif /* __INTERP_H__ */ | 525 | #endif /* __INTERP_H__ */ |