2 * acpi_ksyms.c - ACPI Kernel Symbols ($Revision: 16 $)
4 * Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com>
5 * Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com>
7 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or (at
12 * your option) any later version.
14 * This program is distributed in the hope that it will be useful, but
15 * WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * General Public License for more details.
19 * You should have received a copy of the GNU General Public License along
20 * with this program; if not, write to the Free Software Foundation, Inc.,
21 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
23 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
26 #include <linux/module.h>
27 #include <linux/acpi.h>
28 #include <acpi/acpi.h>
29 #include <acpi/acpi_bus.h>
32 #ifdef CONFIG_ACPI_INTERPRETER
36 #ifdef ENABLE_DEBUGGER
38 extern int acpi_in_debugger
;
40 EXPORT_SYMBOL(acpi_in_debugger
);
41 EXPORT_SYMBOL(acpi_db_user_commands
);
43 #endif /* ENABLE_DEBUGGER */
45 /* ACPI Core Subsystem */
47 #ifdef ACPI_DEBUG_OUTPUT
48 EXPORT_SYMBOL(acpi_dbg_layer
);
49 EXPORT_SYMBOL(acpi_dbg_level
);
50 EXPORT_SYMBOL(acpi_ut_debug_print_raw
);
51 EXPORT_SYMBOL(acpi_ut_debug_print
);
52 EXPORT_SYMBOL(acpi_ut_status_exit
);
53 EXPORT_SYMBOL(acpi_ut_value_exit
);
54 EXPORT_SYMBOL(acpi_ut_exit
);
55 EXPORT_SYMBOL(acpi_ut_trace
);
56 #endif /*ACPI_DEBUG_OUTPUT*/
58 EXPORT_SYMBOL(acpi_get_handle
);
59 EXPORT_SYMBOL(acpi_get_parent
);
60 EXPORT_SYMBOL(acpi_get_type
);
61 EXPORT_SYMBOL(acpi_get_name
);
62 EXPORT_SYMBOL(acpi_get_object_info
);
63 EXPORT_SYMBOL(acpi_get_next_object
);
64 EXPORT_SYMBOL(acpi_evaluate_object
);
65 EXPORT_SYMBOL(acpi_get_table
);
66 EXPORT_SYMBOL(acpi_get_firmware_table
);
67 EXPORT_SYMBOL(acpi_install_notify_handler
);
68 EXPORT_SYMBOL(acpi_remove_notify_handler
);
69 EXPORT_SYMBOL(acpi_install_gpe_handler
);
70 EXPORT_SYMBOL(acpi_remove_gpe_handler
);
71 EXPORT_SYMBOL(acpi_install_address_space_handler
);
72 EXPORT_SYMBOL(acpi_remove_address_space_handler
);
73 EXPORT_SYMBOL(acpi_install_fixed_event_handler
);
74 EXPORT_SYMBOL(acpi_remove_fixed_event_handler
);
75 EXPORT_SYMBOL(acpi_acquire_global_lock
);
76 EXPORT_SYMBOL(acpi_release_global_lock
);
77 EXPORT_SYMBOL(acpi_install_gpe_block
);
78 EXPORT_SYMBOL(acpi_remove_gpe_block
);
79 EXPORT_SYMBOL(acpi_get_current_resources
);
80 EXPORT_SYMBOL(acpi_get_possible_resources
);
81 EXPORT_SYMBOL(acpi_walk_resources
);
82 EXPORT_SYMBOL(acpi_set_current_resources
);
83 EXPORT_SYMBOL(acpi_resource_to_address64
);
84 EXPORT_SYMBOL(acpi_enable_event
);
85 EXPORT_SYMBOL(acpi_disable_event
);
86 EXPORT_SYMBOL(acpi_clear_event
);
87 EXPORT_SYMBOL(acpi_set_gpe_type
);
88 EXPORT_SYMBOL(acpi_enable_gpe
);
89 EXPORT_SYMBOL(acpi_get_timer_duration
);
90 EXPORT_SYMBOL(acpi_get_timer
);
91 EXPORT_SYMBOL(acpi_get_sleep_type_data
);
92 EXPORT_SYMBOL(acpi_get_register
);
93 EXPORT_SYMBOL(acpi_set_register
);
94 EXPORT_SYMBOL(acpi_enter_sleep_state
);
95 EXPORT_SYMBOL(acpi_enter_sleep_state_s4bios
);
96 EXPORT_SYMBOL(acpi_get_system_info
);
97 EXPORT_SYMBOL(acpi_get_devices
);
99 /* ACPI OS Services Layer (acpi_osl.c) */
101 EXPORT_SYMBOL(acpi_os_free
);
102 EXPORT_SYMBOL(acpi_os_printf
);
103 EXPORT_SYMBOL(acpi_os_sleep
);
104 EXPORT_SYMBOL(acpi_os_stall
);
105 EXPORT_SYMBOL(acpi_os_signal
);
106 EXPORT_SYMBOL(acpi_os_queue_for_execution
);
107 EXPORT_SYMBOL(acpi_os_signal_semaphore
);
108 EXPORT_SYMBOL(acpi_os_create_semaphore
);
109 EXPORT_SYMBOL(acpi_os_delete_semaphore
);
110 EXPORT_SYMBOL(acpi_os_wait_semaphore
);
111 EXPORT_SYMBOL(acpi_os_wait_events_complete
);
112 EXPORT_SYMBOL(acpi_os_read_pci_configuration
);
114 /* ACPI Utilities (acpi_utils.c) */
116 EXPORT_SYMBOL(acpi_extract_package
);
117 EXPORT_SYMBOL(acpi_evaluate_integer
);
118 EXPORT_SYMBOL(acpi_evaluate_reference
);
120 #endif /*CONFIG_ACPI_INTERPRETER*/
123 /* ACPI Bus Driver (acpi_bus.c) */
125 #ifdef CONFIG_ACPI_BUS
127 EXPORT_SYMBOL(acpi_fadt
);
128 EXPORT_SYMBOL(acpi_walk_namespace
);
129 EXPORT_SYMBOL(acpi_root_dir
);
130 EXPORT_SYMBOL(acpi_bus_get_device
);
131 EXPORT_SYMBOL(acpi_bus_get_status
);
132 EXPORT_SYMBOL(acpi_bus_get_power
);
133 EXPORT_SYMBOL(acpi_bus_set_power
);
134 EXPORT_SYMBOL(acpi_bus_generate_event
);
135 EXPORT_SYMBOL(acpi_bus_receive_event
);
136 EXPORT_SYMBOL(acpi_bus_register_driver
);
137 EXPORT_SYMBOL(acpi_bus_unregister_driver
);
139 #endif /*CONFIG_ACPI_BUS*/
142 /* ACPI PCI Driver (pci_irq.c) */
144 #ifdef CONFIG_ACPI_PCI
146 #include <linux/pci.h>
147 extern int acpi_pci_irq_enable(struct pci_dev
*dev
);
148 EXPORT_SYMBOL(acpi_pci_irq_enable
);
149 EXPORT_SYMBOL(acpi_pci_register_driver
);
150 EXPORT_SYMBOL(acpi_pci_unregister_driver
);
151 #endif /*CONFIG_ACPI_PCI */
153 #ifdef CONFIG_ACPI_EC
154 /* ACPI EC driver (ec.c) */
156 EXPORT_SYMBOL(ec_read
);
157 EXPORT_SYMBOL(ec_write
);