1 |
1275 |
phoenix |
/*
|
2 |
|
|
* acpi_ksyms.c - ACPI Kernel Symbols ($Revision: 1.1.1.1 $)
|
3 |
|
|
*
|
4 |
|
|
* Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com>
|
5 |
|
|
* Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com>
|
6 |
|
|
*
|
7 |
|
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
8 |
|
|
*
|
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.
|
13 |
|
|
*
|
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.
|
18 |
|
|
*
|
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.
|
22 |
|
|
*
|
23 |
|
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
24 |
|
|
*/
|
25 |
|
|
|
26 |
|
|
#include <linux/module.h>
|
27 |
|
|
#include <linux/acpi.h>
|
28 |
|
|
|
29 |
|
|
#ifdef CONFIG_ACPI_INTERPRETER
|
30 |
|
|
|
31 |
|
|
/* ACPI Debugger */
|
32 |
|
|
|
33 |
|
|
#ifdef ENABLE_DEBUGGER
|
34 |
|
|
|
35 |
|
|
extern int acpi_in_debugger;
|
36 |
|
|
|
37 |
|
|
EXPORT_SYMBOL(acpi_in_debugger);
|
38 |
|
|
EXPORT_SYMBOL(acpi_db_user_commands);
|
39 |
|
|
|
40 |
|
|
#endif /* ENABLE_DEBUGGER */
|
41 |
|
|
|
42 |
|
|
/* ACPI Core Subsystem */
|
43 |
|
|
|
44 |
|
|
#ifdef ACPI_DEBUG_OUTPUT
|
45 |
|
|
EXPORT_SYMBOL(acpi_dbg_layer);
|
46 |
|
|
EXPORT_SYMBOL(acpi_dbg_level);
|
47 |
|
|
EXPORT_SYMBOL(acpi_ut_debug_print_raw);
|
48 |
|
|
EXPORT_SYMBOL(acpi_ut_debug_print);
|
49 |
|
|
EXPORT_SYMBOL(acpi_ut_status_exit);
|
50 |
|
|
EXPORT_SYMBOL(acpi_ut_value_exit);
|
51 |
|
|
EXPORT_SYMBOL(acpi_ut_exit);
|
52 |
|
|
EXPORT_SYMBOL(acpi_ut_trace);
|
53 |
|
|
#endif /*ACPI_DEBUG_OUTPUT*/
|
54 |
|
|
|
55 |
|
|
EXPORT_SYMBOL(acpi_get_handle);
|
56 |
|
|
EXPORT_SYMBOL(acpi_get_parent);
|
57 |
|
|
EXPORT_SYMBOL(acpi_get_type);
|
58 |
|
|
EXPORT_SYMBOL(acpi_get_name);
|
59 |
|
|
EXPORT_SYMBOL(acpi_get_object_info);
|
60 |
|
|
EXPORT_SYMBOL(acpi_get_next_object);
|
61 |
|
|
EXPORT_SYMBOL(acpi_evaluate_object);
|
62 |
|
|
EXPORT_SYMBOL(acpi_get_table);
|
63 |
|
|
EXPORT_SYMBOL(acpi_get_firmware_table);
|
64 |
|
|
EXPORT_SYMBOL(acpi_install_notify_handler);
|
65 |
|
|
EXPORT_SYMBOL(acpi_remove_notify_handler);
|
66 |
|
|
EXPORT_SYMBOL(acpi_install_gpe_handler);
|
67 |
|
|
EXPORT_SYMBOL(acpi_remove_gpe_handler);
|
68 |
|
|
EXPORT_SYMBOL(acpi_install_address_space_handler);
|
69 |
|
|
EXPORT_SYMBOL(acpi_remove_address_space_handler);
|
70 |
|
|
EXPORT_SYMBOL(acpi_install_fixed_event_handler);
|
71 |
|
|
EXPORT_SYMBOL(acpi_remove_fixed_event_handler);
|
72 |
|
|
EXPORT_SYMBOL(acpi_acquire_global_lock);
|
73 |
|
|
EXPORT_SYMBOL(acpi_release_global_lock);
|
74 |
|
|
EXPORT_SYMBOL(acpi_install_gpe_block);
|
75 |
|
|
EXPORT_SYMBOL(acpi_remove_gpe_block);
|
76 |
|
|
EXPORT_SYMBOL(acpi_get_current_resources);
|
77 |
|
|
EXPORT_SYMBOL(acpi_get_possible_resources);
|
78 |
|
|
EXPORT_SYMBOL(acpi_walk_resources);
|
79 |
|
|
EXPORT_SYMBOL(acpi_set_current_resources);
|
80 |
|
|
EXPORT_SYMBOL(acpi_enable_event);
|
81 |
|
|
EXPORT_SYMBOL(acpi_disable_event);
|
82 |
|
|
EXPORT_SYMBOL(acpi_clear_event);
|
83 |
|
|
EXPORT_SYMBOL(acpi_get_timer_duration);
|
84 |
|
|
EXPORT_SYMBOL(acpi_get_timer);
|
85 |
|
|
EXPORT_SYMBOL(acpi_get_sleep_type_data);
|
86 |
|
|
EXPORT_SYMBOL(acpi_get_register);
|
87 |
|
|
EXPORT_SYMBOL(acpi_set_register);
|
88 |
|
|
EXPORT_SYMBOL(acpi_enter_sleep_state);
|
89 |
|
|
EXPORT_SYMBOL(acpi_enter_sleep_state_s4bios);
|
90 |
|
|
EXPORT_SYMBOL(acpi_get_system_info);
|
91 |
|
|
EXPORT_SYMBOL(acpi_get_devices);
|
92 |
|
|
|
93 |
|
|
/* ACPI OS Services Layer (acpi_osl.c) */
|
94 |
|
|
|
95 |
|
|
EXPORT_SYMBOL(acpi_os_free);
|
96 |
|
|
EXPORT_SYMBOL(acpi_os_printf);
|
97 |
|
|
EXPORT_SYMBOL(acpi_os_sleep);
|
98 |
|
|
EXPORT_SYMBOL(acpi_os_stall);
|
99 |
|
|
EXPORT_SYMBOL(acpi_os_signal);
|
100 |
|
|
EXPORT_SYMBOL(acpi_os_queue_for_execution);
|
101 |
|
|
EXPORT_SYMBOL(acpi_os_signal_semaphore);
|
102 |
|
|
EXPORT_SYMBOL(acpi_os_create_semaphore);
|
103 |
|
|
EXPORT_SYMBOL(acpi_os_delete_semaphore);
|
104 |
|
|
EXPORT_SYMBOL(acpi_os_wait_semaphore);
|
105 |
|
|
|
106 |
|
|
EXPORT_SYMBOL(acpi_os_read_pci_configuration);
|
107 |
|
|
|
108 |
|
|
/* ACPI Utilities (acpi_utils.c) */
|
109 |
|
|
|
110 |
|
|
EXPORT_SYMBOL(acpi_extract_package);
|
111 |
|
|
EXPORT_SYMBOL(acpi_evaluate_integer);
|
112 |
|
|
EXPORT_SYMBOL(acpi_evaluate_reference);
|
113 |
|
|
|
114 |
|
|
#endif /*CONFIG_ACPI_INTERPRETER*/
|
115 |
|
|
|
116 |
|
|
|
117 |
|
|
/* ACPI Bus Driver (acpi_bus.c) */
|
118 |
|
|
|
119 |
|
|
#ifdef CONFIG_ACPI_BUS
|
120 |
|
|
|
121 |
|
|
EXPORT_SYMBOL(acpi_fadt);
|
122 |
|
|
EXPORT_SYMBOL(acpi_walk_namespace);
|
123 |
|
|
EXPORT_SYMBOL(acpi_root_dir);
|
124 |
|
|
EXPORT_SYMBOL(acpi_bus_get_device);
|
125 |
|
|
EXPORT_SYMBOL(acpi_bus_get_status);
|
126 |
|
|
EXPORT_SYMBOL(acpi_bus_get_power);
|
127 |
|
|
EXPORT_SYMBOL(acpi_bus_set_power);
|
128 |
|
|
EXPORT_SYMBOL(acpi_bus_generate_event);
|
129 |
|
|
EXPORT_SYMBOL(acpi_bus_receive_event);
|
130 |
|
|
EXPORT_SYMBOL(acpi_bus_register_driver);
|
131 |
|
|
EXPORT_SYMBOL(acpi_bus_unregister_driver);
|
132 |
|
|
EXPORT_SYMBOL(acpi_bus_scan);
|
133 |
|
|
EXPORT_SYMBOL(acpi_init);
|
134 |
|
|
|
135 |
|
|
#endif /*CONFIG_ACPI_BUS*/
|
136 |
|
|
|
137 |
|
|
|
138 |
|
|
/* ACPI PCI Driver (pci_irq.c) */
|
139 |
|
|
|
140 |
|
|
#ifdef CONFIG_ACPI_PCI
|
141 |
|
|
|
142 |
|
|
#include <linux/pci.h>
|
143 |
|
|
extern int acpi_pci_irq_enable(struct pci_dev *dev);
|
144 |
|
|
EXPORT_SYMBOL(acpi_pci_irq_enable);
|
145 |
|
|
extern int acpi_pci_irq_lookup (int segment, int bus, int device, int pin);
|
146 |
|
|
EXPORT_SYMBOL(acpi_pci_irq_lookup);
|
147 |
|
|
EXPORT_SYMBOL(acpi_pci_register_driver);
|
148 |
|
|
EXPORT_SYMBOL(acpi_pci_unregister_driver);
|
149 |
|
|
#endif /*CONFIG_ACPI_PCI */
|
150 |
|
|
|
151 |
|
|
#ifdef CONFIG_ACPI_EC
|
152 |
|
|
/* ACPI EC driver (ec.c) */
|
153 |
|
|
|
154 |
|
|
EXPORT_SYMBOL(ec_read);
|
155 |
|
|
EXPORT_SYMBOL(ec_write);
|
156 |
|
|
#endif
|
157 |
|
|
|