debuggers.hg

view xenolinux-2.4.21-sparse/arch/xeno/kernel/i386_ksyms.c @ 668:4fd1861ec41a

bitkeeper revision 1.350 (3f1340b73QOZFM-2eX4c17P16Nhgdw)

Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into labyrinth.cl.cam.ac.uk:/auto/anfs/scratch/labyrinth/iap10/xeno-clone/xeno.bk
author iap10@labyrinth.cl.cam.ac.uk
date Mon Jul 14 23:45:59 2003 +0000 (2003-07-14)
parents b6f13a6cdded 6d07235a19e8
children
line source
1 #include <linux/config.h>
2 #include <linux/module.h>
3 #include <linux/smp.h>
4 #include <linux/user.h>
5 #include <linux/elfcore.h>
6 #include <linux/mca.h>
7 #include <linux/sched.h>
8 #include <linux/in6.h>
9 #include <linux/interrupt.h>
10 #include <linux/smp_lock.h>
11 #include <linux/pm.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>
20 #include <asm/i387.h>
21 #include <asm/uaccess.h>
22 #include <asm/checksum.h>
23 #include <asm/io.h>
24 #include <asm/hardirq.h>
25 #include <asm/delay.h>
26 #include <asm/irq.h>
27 #include <asm/mmx.h>
28 #include <asm/desc.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);
40 #endif
42 #ifdef CONFIG_SMP
43 extern void FASTCALL( __write_lock_failed(rwlock_t *rw));
44 extern void FASTCALL( __read_lock_failed(rwlock_t *rw));
45 #endif
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);
50 #endif
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(enable_irq);
60 EXPORT_SYMBOL(disable_irq);
61 EXPORT_SYMBOL(disable_irq_nosync);
62 EXPORT_SYMBOL(probe_irq_mask);
63 EXPORT_SYMBOL(kernel_thread);
64 EXPORT_SYMBOL(pm_idle);
65 EXPORT_SYMBOL(pm_power_off);
66 EXPORT_SYMBOL(apm_info);
67 //EXPORT_SYMBOL(gdt);
68 EXPORT_SYMBOL(empty_zero_page);
70 #ifdef CONFIG_DEBUG_IOVIRT
71 EXPORT_SYMBOL(__io_virt_debug);
72 #endif
74 EXPORT_SYMBOL_NOVERS(__down_failed);
75 EXPORT_SYMBOL_NOVERS(__down_failed_interruptible);
76 EXPORT_SYMBOL_NOVERS(__down_failed_trylock);
77 EXPORT_SYMBOL_NOVERS(__up_wakeup);
78 /* Networking helper routines. */
79 EXPORT_SYMBOL(csum_partial_copy_generic);
80 /* Delay loops */
81 EXPORT_SYMBOL(__ndelay);
82 EXPORT_SYMBOL(__udelay);
83 EXPORT_SYMBOL(__delay);
84 EXPORT_SYMBOL(__const_udelay);
86 EXPORT_SYMBOL_NOVERS(__get_user_1);
87 EXPORT_SYMBOL_NOVERS(__get_user_2);
88 EXPORT_SYMBOL_NOVERS(__get_user_4);
90 EXPORT_SYMBOL(strtok);
91 EXPORT_SYMBOL(strpbrk);
92 EXPORT_SYMBOL(strstr);
94 EXPORT_SYMBOL(strncpy_from_user);
95 EXPORT_SYMBOL(__strncpy_from_user);
96 EXPORT_SYMBOL(clear_user);
97 EXPORT_SYMBOL(__clear_user);
98 EXPORT_SYMBOL(__generic_copy_from_user);
99 EXPORT_SYMBOL(__generic_copy_to_user);
100 EXPORT_SYMBOL(strnlen_user);
102 #ifdef CONFIG_X86_USE_3DNOW
103 EXPORT_SYMBOL(_mmx_memcpy);
104 EXPORT_SYMBOL(mmx_clear_page);
105 EXPORT_SYMBOL(mmx_copy_page);
106 #endif
108 #ifdef CONFIG_SMP
109 EXPORT_SYMBOL(cpu_data);
110 EXPORT_SYMBOL(kernel_flag_cacheline);
111 EXPORT_SYMBOL(smp_num_cpus);
112 EXPORT_SYMBOL(cpu_online_map);
113 EXPORT_SYMBOL_NOVERS(__write_lock_failed);
114 EXPORT_SYMBOL_NOVERS(__read_lock_failed);
116 /* Global SMP irq stuff */
117 EXPORT_SYMBOL(synchronize_irq);
118 EXPORT_SYMBOL(global_irq_holder);
119 EXPORT_SYMBOL(__global_cli);
120 EXPORT_SYMBOL(__global_sti);
121 EXPORT_SYMBOL(__global_save_flags);
122 EXPORT_SYMBOL(__global_restore_flags);
123 EXPORT_SYMBOL(smp_call_function);
125 /* TLB flushing */
126 EXPORT_SYMBOL(flush_tlb_page);
127 #endif
129 #ifdef CONFIG_X86_IO_APIC
130 EXPORT_SYMBOL(IO_APIC_get_PCI_irq_vector);
131 #endif
133 #ifdef CONFIG_VT
134 EXPORT_SYMBOL(screen_info);
135 #endif
137 EXPORT_SYMBOL(get_wchan);
139 EXPORT_SYMBOL(rtc_lock);
141 #undef memcpy
142 #undef memset
143 extern void * memset(void *,int,__kernel_size_t);
144 extern void * memcpy(void *,const void *,__kernel_size_t);
145 EXPORT_SYMBOL_NOVERS(memcpy);
146 EXPORT_SYMBOL_NOVERS(memset);
148 #ifdef CONFIG_HAVE_DEC_LOCK
149 EXPORT_SYMBOL(atomic_dec_and_lock);
150 #endif
152 #ifdef CONFIG_MULTIQUAD
153 EXPORT_SYMBOL(xquad_portio);
154 #endif