diff options
Diffstat (limited to 'include/acpi/acpixf.h')
-rw-r--r-- | include/acpi/acpixf.h | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h index b3bceadf6f7..c751b514a83 100644 --- a/include/acpi/acpixf.h +++ b/include/acpi/acpixf.h | |||
@@ -45,12 +45,32 @@ | |||
45 | #ifndef __ACXFACE_H__ | 45 | #ifndef __ACXFACE_H__ |
46 | #define __ACXFACE_H__ | 46 | #define __ACXFACE_H__ |
47 | 47 | ||
48 | /* Current ACPICA subsystem version in YYYYMMDD format */ | ||
49 | |||
50 | #define ACPI_CA_VERSION 0x20081031 | ||
51 | |||
48 | #include "actypes.h" | 52 | #include "actypes.h" |
49 | #include "actbl.h" | 53 | #include "actbl.h" |
50 | 54 | ||
51 | extern u8 acpi_gbl_permanent_mmap; | 55 | extern u8 acpi_gbl_permanent_mmap; |
52 | 56 | ||
53 | /* | 57 | /* |
58 | * Globals that are publically available, allowing for | ||
59 | * run time configuration | ||
60 | */ | ||
61 | extern u32 acpi_dbg_level; | ||
62 | extern u32 acpi_dbg_layer; | ||
63 | extern u8 acpi_gbl_enable_interpreter_slack; | ||
64 | extern u8 acpi_gbl_all_methods_serialized; | ||
65 | extern u8 acpi_gbl_create_osi_method; | ||
66 | extern u8 acpi_gbl_leave_wake_gpes_disabled; | ||
67 | extern acpi_name acpi_gbl_trace_method_name; | ||
68 | extern u32 acpi_gbl_trace_flags; | ||
69 | |||
70 | extern u32 acpi_current_gpe_count; | ||
71 | extern struct acpi_table_fadt acpi_gbl_FADT; | ||
72 | |||
73 | /* | ||
54 | * Global interfaces | 74 | * Global interfaces |
55 | */ | 75 | */ |
56 | acpi_status | 76 | acpi_status |
@@ -353,4 +373,42 @@ acpi_status acpi_leave_sleep_state_prep(u8 sleep_state); | |||
353 | 373 | ||
354 | acpi_status acpi_leave_sleep_state(u8 sleep_state); | 374 | acpi_status acpi_leave_sleep_state(u8 sleep_state); |
355 | 375 | ||
376 | /* | ||
377 | * Debug output | ||
378 | */ | ||
379 | void ACPI_INTERNAL_VAR_XFACE | ||
380 | acpi_error(const char *module_name, | ||
381 | u32 line_number, const char *format, ...) ACPI_PRINTF_LIKE(3); | ||
382 | |||
383 | void ACPI_INTERNAL_VAR_XFACE | ||
384 | acpi_exception(const char *module_name, | ||
385 | u32 line_number, | ||
386 | acpi_status status, const char *format, ...) ACPI_PRINTF_LIKE(4); | ||
387 | |||
388 | void ACPI_INTERNAL_VAR_XFACE | ||
389 | acpi_warning(const char *module_name, | ||
390 | u32 line_number, const char *format, ...) ACPI_PRINTF_LIKE(3); | ||
391 | |||
392 | void ACPI_INTERNAL_VAR_XFACE | ||
393 | acpi_info(const char *module_name, | ||
394 | u32 line_number, const char *format, ...) ACPI_PRINTF_LIKE(3); | ||
395 | |||
396 | #ifdef ACPI_DEBUG_OUTPUT | ||
397 | |||
398 | void ACPI_INTERNAL_VAR_XFACE | ||
399 | acpi_debug_print(u32 requested_debug_level, | ||
400 | u32 line_number, | ||
401 | const char *function_name, | ||
402 | const char *module_name, | ||
403 | u32 component_id, const char *format, ...) ACPI_PRINTF_LIKE(6); | ||
404 | |||
405 | void ACPI_INTERNAL_VAR_XFACE | ||
406 | acpi_debug_print_raw(u32 requested_debug_level, | ||
407 | u32 line_number, | ||
408 | const char *function_name, | ||
409 | const char *module_name, | ||
410 | u32 component_id, | ||
411 | const char *format, ...) ACPI_PRINTF_LIKE(6); | ||
412 | #endif | ||
413 | |||
356 | #endif /* __ACXFACE_H__ */ | 414 | #endif /* __ACXFACE_H__ */ |