aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi/acutils.h
diff options
context:
space:
mode:
authorRobert Moore <robert.moore@intel.com>2005-07-29 18:15:00 -0400
committerLen Brown <len.brown@intel.com>2005-07-30 00:51:39 -0400
commit0c9938cc75057c0fca1af55a55dcfc2842436695 (patch)
treed18e809bf9e3811f20c609b6515d4d1b8520cfbc /include/acpi/acutils.h
parentdd8f39bbf5154cdbfd698fc70c66faba33eafa44 (diff)
[ACPI] ACPICA 20050729 from Bob Moore
Implemented support to ignore an attempt to install/load a particular ACPI table more than once. Apparently there exists BIOS code that repeatedly attempts to load the same SSDT upon certain events. Thanks to Venkatesh Pallipadi. Restructured the main interface to the AML parser in order to correctly handle all exceptional conditions. This will prevent leakage of the OwnerId resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on some machines. Thanks to Alexey Starikovskiy. Support for "module level code" has been disabled in this version due to a number of issues that have appeared on various machines. The support can be enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem compilation. When the issues are fully resolved, the code will be enabled by default again. Modified the internal functions for debug print support to define the FunctionName parameter as a (const char *) for compatibility with compiler built-in macros such as __FUNCTION__, etc. Linted the entire ACPICA source tree for both 32-bit and 64-bit. Signed-off-by: Robert Moore <robert.moore@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi/acutils.h')
-rw-r--r--include/acpi/acutils.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/include/acpi/acutils.h b/include/acpi/acutils.h
index 9c05c10e379a..0e7b0a3e3b5e 100644
--- a/include/acpi/acutils.h
+++ b/include/acpi/acutils.h
@@ -302,14 +302,14 @@ acpi_ut_track_stack_ptr (
302void 302void
303acpi_ut_trace ( 303acpi_ut_trace (
304 u32 line_number, 304 u32 line_number,
305 char *function_name, 305 const char *function_name,
306 char *module_name, 306 char *module_name,
307 u32 component_id); 307 u32 component_id);
308 308
309void 309void
310acpi_ut_trace_ptr ( 310acpi_ut_trace_ptr (
311 u32 line_number, 311 u32 line_number,
312 char *function_name, 312 const char *function_name,
313 char *module_name, 313 char *module_name,
314 u32 component_id, 314 u32 component_id,
315 void *pointer); 315 void *pointer);
@@ -317,7 +317,7 @@ acpi_ut_trace_ptr (
317void 317void
318acpi_ut_trace_u32 ( 318acpi_ut_trace_u32 (
319 u32 line_number, 319 u32 line_number,
320 char *function_name, 320 const char *function_name,
321 char *module_name, 321 char *module_name,
322 u32 component_id, 322 u32 component_id,
323 u32 integer); 323 u32 integer);
@@ -325,7 +325,7 @@ acpi_ut_trace_u32 (
325void 325void
326acpi_ut_trace_str ( 326acpi_ut_trace_str (
327 u32 line_number, 327 u32 line_number,
328 char *function_name, 328 const char *function_name,
329 char *module_name, 329 char *module_name,
330 u32 component_id, 330 u32 component_id,
331 char *string); 331 char *string);
@@ -333,14 +333,14 @@ acpi_ut_trace_str (
333void 333void
334acpi_ut_exit ( 334acpi_ut_exit (
335 u32 line_number, 335 u32 line_number,
336 char *function_name, 336 const char *function_name,
337 char *module_name, 337 char *module_name,
338 u32 component_id); 338 u32 component_id);
339 339
340void 340void
341acpi_ut_status_exit ( 341acpi_ut_status_exit (
342 u32 line_number, 342 u32 line_number,
343 char *function_name, 343 const char *function_name,
344 char *module_name, 344 char *module_name,
345 u32 component_id, 345 u32 component_id,
346 acpi_status status); 346 acpi_status status);
@@ -348,7 +348,7 @@ acpi_ut_status_exit (
348void 348void
349acpi_ut_value_exit ( 349acpi_ut_value_exit (
350 u32 line_number, 350 u32 line_number,
351 char *function_name, 351 const char *function_name,
352 char *module_name, 352 char *module_name,
353 u32 component_id, 353 u32 component_id,
354 acpi_integer value); 354 acpi_integer value);
@@ -356,7 +356,7 @@ acpi_ut_value_exit (
356void 356void
357acpi_ut_ptr_exit ( 357acpi_ut_ptr_exit (
358 u32 line_number, 358 u32 line_number,
359 char *function_name, 359 const char *function_name,
360 char *module_name, 360 char *module_name,
361 u32 component_id, 361 u32 component_id,
362 u8 *ptr); 362 u8 *ptr);
@@ -390,7 +390,7 @@ void ACPI_INTERNAL_VAR_XFACE
390acpi_ut_debug_print ( 390acpi_ut_debug_print (
391 u32 requested_debug_level, 391 u32 requested_debug_level,
392 u32 line_number, 392 u32 line_number,
393 char *function_name, 393 const char *function_name,
394 char *module_name, 394 char *module_name,
395 u32 component_id, 395 u32 component_id,
396 char *format, 396 char *format,
@@ -400,7 +400,7 @@ void ACPI_INTERNAL_VAR_XFACE
400acpi_ut_debug_print_raw ( 400acpi_ut_debug_print_raw (
401 u32 requested_debug_level, 401 u32 requested_debug_level,
402 u32 line_number, 402 u32 line_number,
403 char *function_name, 403 const char *function_name,
404 char *module_name, 404 char *module_name,
405 u32 component_id, 405 u32 component_id,
406 char *format, 406 char *format,
@@ -598,9 +598,9 @@ acpi_status
598acpi_ut_allocate_owner_id ( 598acpi_ut_allocate_owner_id (
599 acpi_owner_id *owner_id); 599 acpi_owner_id *owner_id);
600 600
601acpi_status 601void
602acpi_ut_release_owner_id ( 602acpi_ut_release_owner_id (
603 acpi_owner_id owner_id); 603 acpi_owner_id *owner_id);
604 604
605acpi_status 605acpi_status
606acpi_ut_walk_package_tree ( 606acpi_ut_walk_package_tree (
@@ -609,7 +609,7 @@ acpi_ut_walk_package_tree (
609 acpi_pkg_callback walk_callback, 609 acpi_pkg_callback walk_callback,
610 void *context); 610 void *context);
611 611
612char * 612void
613acpi_ut_strupr ( 613acpi_ut_strupr (
614 char *src_string); 614 char *src_string);
615 615