1
#include <linux/config.h>
2
#include <linux/module.h>
4
#include <linux/user.h>
5
#include <linux/elfcore.h>
7
#include <linux/sched.h>
9
#include <linux/interrupt.h>
10
#include <linux/smp_lock.h>
12
//XXX ??? #include <linux/pci.h>
13
#include <linux/apm_bios.h>
14
#include <linux/kernel.h>
15
#include <linux/string.h>
16
#include <linux/tty.h>
18
#include <asm/semaphore.h>
19
#include <asm/processor.h>
21
#include <asm/uaccess.h>
22
#include <asm/checksum.h>
24
#include <asm/hardirq.h>
25
#include <asm/delay.h>
29
#include <asm/pgtable.h>
30
#include <asm/pgalloc.h>
32
extern void dump_thread(struct pt_regs *, struct user *);
33
extern spinlock_t rtc_lock;
35
#if defined(CONFIG_APMXXX) || defined(CONFIG_APM_MODULEXXX)
36
extern void machine_real_restart(unsigned char *, int);
37
EXPORT_SYMBOL(machine_real_restart);
38
extern void default_idle(void);
39
EXPORT_SYMBOL(default_idle);
43
extern void FASTCALL( __write_lock_failed(rwlock_t *rw));
44
extern void FASTCALL( __read_lock_failed(rwlock_t *rw));
47
#if defined(CONFIG_BLK_DEV_IDE) || defined(CONFIG_BLK_DEV_HD) || defined(CONFIG_BLK_DEV_IDE_MODULE) || defined(CONFIG_BLK_DEV_HD_MODULE)
48
extern struct drive_info_struct drive_info;
49
EXPORT_SYMBOL(drive_info);
52
// XXX extern unsigned long get_cmos_time(void);
54
/* platform dependent support */
55
EXPORT_SYMBOL(boot_cpu_data);
56
EXPORT_SYMBOL(dump_thread);
57
EXPORT_SYMBOL(dump_fpu);
58
EXPORT_SYMBOL(dump_extended_fpu);
59
EXPORT_SYMBOL(__ioremap);
60
EXPORT_SYMBOL(iounmap);
61
EXPORT_SYMBOL(enable_irq);
62
EXPORT_SYMBOL(disable_irq);
63
EXPORT_SYMBOL(disable_irq_nosync);
64
EXPORT_SYMBOL(probe_irq_mask);
65
EXPORT_SYMBOL(kernel_thread);
66
EXPORT_SYMBOL(pm_idle);
67
EXPORT_SYMBOL(pm_power_off);
68
EXPORT_SYMBOL(apm_info);
70
EXPORT_SYMBOL(empty_zero_page);
72
#ifdef CONFIG_DEBUG_IOVIRT
73
EXPORT_SYMBOL(__io_virt_debug);
76
EXPORT_SYMBOL_NOVERS(__down_failed);
77
EXPORT_SYMBOL_NOVERS(__down_failed_interruptible);
78
EXPORT_SYMBOL_NOVERS(__down_failed_trylock);
79
EXPORT_SYMBOL_NOVERS(__up_wakeup);
80
/* Networking helper routines. */
81
EXPORT_SYMBOL(csum_partial_copy_generic);
83
EXPORT_SYMBOL(__ndelay);
84
EXPORT_SYMBOL(__udelay);
85
EXPORT_SYMBOL(__delay);
86
EXPORT_SYMBOL(__const_udelay);
88
EXPORT_SYMBOL_NOVERS(__get_user_1);
89
EXPORT_SYMBOL_NOVERS(__get_user_2);
90
EXPORT_SYMBOL_NOVERS(__get_user_4);
92
EXPORT_SYMBOL(strtok);
93
EXPORT_SYMBOL(strpbrk);
94
EXPORT_SYMBOL(strstr);
96
EXPORT_SYMBOL(strncpy_from_user);
97
EXPORT_SYMBOL(__strncpy_from_user);
98
EXPORT_SYMBOL(clear_user);
99
EXPORT_SYMBOL(__clear_user);
100
EXPORT_SYMBOL(__generic_copy_from_user);
101
EXPORT_SYMBOL(__generic_copy_to_user);
102
EXPORT_SYMBOL(strnlen_user);
104
#ifdef CONFIG_X86_USE_3DNOW
105
EXPORT_SYMBOL(_mmx_memcpy);
106
EXPORT_SYMBOL(mmx_clear_page);
107
EXPORT_SYMBOL(mmx_copy_page);
111
EXPORT_SYMBOL(cpu_data);
112
EXPORT_SYMBOL(kernel_flag_cacheline);
113
EXPORT_SYMBOL(smp_num_cpus);
114
EXPORT_SYMBOL(cpu_online_map);
115
EXPORT_SYMBOL_NOVERS(__write_lock_failed);
116
EXPORT_SYMBOL_NOVERS(__read_lock_failed);
118
/* Global SMP irq stuff */
119
EXPORT_SYMBOL(synchronize_irq);
120
EXPORT_SYMBOL(global_irq_holder);
121
EXPORT_SYMBOL(__global_cli);
122
EXPORT_SYMBOL(__global_sti);
123
EXPORT_SYMBOL(__global_save_flags);
124
EXPORT_SYMBOL(__global_restore_flags);
125
EXPORT_SYMBOL(smp_call_function);
128
EXPORT_SYMBOL(flush_tlb_page);
131
#ifdef CONFIG_X86_IO_APIC
132
EXPORT_SYMBOL(IO_APIC_get_PCI_irq_vector);
136
EXPORT_SYMBOL(screen_info);
139
EXPORT_SYMBOL(get_wchan);
141
EXPORT_SYMBOL(rtc_lock);
145
extern void * memset(void *,int,__kernel_size_t);
146
extern void * memcpy(void *,const void *,__kernel_size_t);
147
EXPORT_SYMBOL_NOVERS(memcpy);
148
EXPORT_SYMBOL_NOVERS(memset);
150
#ifdef CONFIG_HAVE_DEC_LOCK
151
EXPORT_SYMBOL(atomic_dec_and_lock);
154
#ifdef CONFIG_MULTIQUAD
155
EXPORT_SYMBOL(xquad_portio);
158
#include <asm/xeno_proc.h>
159
EXPORT_SYMBOL(create_xeno_proc_entry);
160
EXPORT_SYMBOL(remove_xeno_proc_entry);
162
EXPORT_SYMBOL(do_hypervisor_callback);
163
EXPORT_SYMBOL(HYPERVISOR_shared_info);