aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi/acpixf.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/acpi/acpixf.h')
-rw-r--r--include/acpi/acpixf.h58
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
51extern u8 acpi_gbl_permanent_mmap; 55extern u8 acpi_gbl_permanent_mmap;
52 56
53/* 57/*
58 * Globals that are publically available, allowing for
59 * run time configuration
60 */
61extern u32 acpi_dbg_level;
62extern u32 acpi_dbg_layer;
63extern u8 acpi_gbl_enable_interpreter_slack;
64extern u8 acpi_gbl_all_methods_serialized;
65extern u8 acpi_gbl_create_osi_method;
66extern u8 acpi_gbl_leave_wake_gpes_disabled;
67extern acpi_name acpi_gbl_trace_method_name;
68extern u32 acpi_gbl_trace_flags;
69
70extern u32 acpi_current_gpe_count;
71extern struct acpi_table_fadt acpi_gbl_FADT;
72
73/*
54 * Global interfaces 74 * Global interfaces
55 */ 75 */
56acpi_status 76acpi_status
@@ -353,4 +373,42 @@ acpi_status acpi_leave_sleep_state_prep(u8 sleep_state);
353 373
354acpi_status acpi_leave_sleep_state(u8 sleep_state); 374acpi_status acpi_leave_sleep_state(u8 sleep_state);
355 375
376/*
377 * Debug output
378 */
379void ACPI_INTERNAL_VAR_XFACE
380acpi_error(const char *module_name,
381 u32 line_number, const char *format, ...) ACPI_PRINTF_LIKE(3);
382
383void ACPI_INTERNAL_VAR_XFACE
384acpi_exception(const char *module_name,
385 u32 line_number,
386 acpi_status status, const char *format, ...) ACPI_PRINTF_LIKE(4);
387
388void ACPI_INTERNAL_VAR_XFACE
389acpi_warning(const char *module_name,
390 u32 line_number, const char *format, ...) ACPI_PRINTF_LIKE(3);
391
392void ACPI_INTERNAL_VAR_XFACE
393acpi_info(const char *module_name,
394 u32 line_number, const char *format, ...) ACPI_PRINTF_LIKE(3);
395
396#ifdef ACPI_DEBUG_OUTPUT
397
398void ACPI_INTERNAL_VAR_XFACE
399acpi_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
405void ACPI_INTERNAL_VAR_XFACE
406acpi_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__ */