Blame view

arch/frv/kernel/frv_ksyms.c 2.93 KB
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1
2
3
4
5
6
7
8
9
  #include <linux/module.h>
  #include <linux/linkage.h>
  #include <linux/sched.h>
  #include <linux/string.h>
  #include <linux/mm.h>
  #include <linux/user.h>
  #include <linux/elfcore.h>
  #include <linux/in6.h>
  #include <linux/interrupt.h>
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
10
11
12
13
14
  
  #include <asm/setup.h>
  #include <asm/pgalloc.h>
  #include <asm/irq.h>
  #include <asm/io.h>
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
15
16
  #include <asm/checksum.h>
  #include <asm/hardirq.h>
402344012   David Howells   [PATCH] frv: impl...
17
  #include <asm/cacheflush.h>
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
18

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
19
  extern long __memcpy_user(void *dst, const void *src, size_t count);
402344012   David Howells   [PATCH] frv: impl...
20
  extern long __memset_user(void *dst, const void *src, size_t count);
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
21
22
23
24
25
  
  /* platform dependent support */
  
  EXPORT_SYMBOL(__ioremap);
  EXPORT_SYMBOL(iounmap);
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
26
27
28
29
30
31
  EXPORT_SYMBOL(ip_fast_csum);
  
  #if 0
  EXPORT_SYMBOL(local_irq_count);
  EXPORT_SYMBOL(local_bh_count);
  #endif
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
32

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
33
34
35
  EXPORT_SYMBOL(__res_bus_clock_speed_HZ);
  EXPORT_SYMBOL(__page_offset);
  EXPORT_SYMBOL(__memcpy_user);
402344012   David Howells   [PATCH] frv: impl...
36
37
38
39
40
  EXPORT_SYMBOL(__memset_user);
  EXPORT_SYMBOL(frv_dcache_writeback);
  EXPORT_SYMBOL(frv_cache_invalidate);
  EXPORT_SYMBOL(frv_icache_invalidate);
  EXPORT_SYMBOL(frv_cache_wback_inv);
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
41
42
43
44
45
46
47
  
  #ifndef CONFIG_MMU
  EXPORT_SYMBOL(memory_start);
  EXPORT_SYMBOL(memory_end);
  #endif
  
  EXPORT_SYMBOL(__debug_bug_trap);
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
48
49
50
51
52
53
  /* The following are special because they're not called
     explicitly (the C compiler generates them).  Fortunately,
     their interface isn't gonna change any time soon now, so
     it's OK to leave it out of version control.  */
  EXPORT_SYMBOL(memcpy);
  EXPORT_SYMBOL(memset);
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
54

402344012   David Howells   [PATCH] frv: impl...
55
56
  EXPORT_SYMBOL(__outsl_ns);
  EXPORT_SYMBOL(__insl_ns);
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
57
58
59
60
61
62
  #ifdef CONFIG_FRV_OUTOFLINE_ATOMIC_OPS
  EXPORT_SYMBOL(atomic_test_and_ANDNOT_mask);
  EXPORT_SYMBOL(atomic_test_and_OR_mask);
  EXPORT_SYMBOL(atomic_test_and_XOR_mask);
  EXPORT_SYMBOL(atomic_add_return);
  EXPORT_SYMBOL(atomic_sub_return);
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
63
  EXPORT_SYMBOL(__xchg_32);
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
64
65
  EXPORT_SYMBOL(__cmpxchg_32);
  #endif
00460f41f   David Howells   FRV: Implement at...
66
67
68
69
  EXPORT_SYMBOL(atomic64_add_return);
  EXPORT_SYMBOL(atomic64_sub_return);
  EXPORT_SYMBOL(__xchg_64);
  EXPORT_SYMBOL(__cmpxchg_64);
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
70

402344012   David Howells   [PATCH] frv: impl...
71
72
  EXPORT_SYMBOL(__debug_bug_printk);
  EXPORT_SYMBOL(__delay_loops_MHz);
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
73
74
75
76
77
78
79
80
81
82
83
84
85
  /*
   * libgcc functions - functions that are used internally by the
   * compiler...  (prototypes are not correct though, but that
   * doesn't really matter since they're not versioned).
   */
  extern void __gcc_bcmp(void);
  extern void __ashldi3(void);
  extern void __ashrdi3(void);
  extern void __cmpdi2(void);
  extern void __divdi3(void);
  extern void __lshrdi3(void);
  extern void __moddi3(void);
  extern void __muldi3(void);
402344012   David Howells   [PATCH] frv: impl...
86
87
  extern void __mulll(void);
  extern void __umulll(void);
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
  extern void __negdi2(void);
  extern void __ucmpdi2(void);
  extern void __udivdi3(void);
  extern void __udivmoddi4(void);
  extern void __umoddi3(void);
  
          /* gcc lib functions */
  //EXPORT_SYMBOL(__gcc_bcmp);
  EXPORT_SYMBOL(__ashldi3);
  EXPORT_SYMBOL(__ashrdi3);
  //EXPORT_SYMBOL(__cmpdi2);
  //EXPORT_SYMBOL(__divdi3);
  EXPORT_SYMBOL(__lshrdi3);
  //EXPORT_SYMBOL(__moddi3);
  EXPORT_SYMBOL(__muldi3);
402344012   David Howells   [PATCH] frv: impl...
103
104
  EXPORT_SYMBOL(__mulll);
  EXPORT_SYMBOL(__umulll);
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
105
  EXPORT_SYMBOL(__negdi2);
402344012   David Howells   [PATCH] frv: impl...
106
  EXPORT_SYMBOL(__ucmpdi2);
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
107
108
109
  //EXPORT_SYMBOL(__udivdi3);
  //EXPORT_SYMBOL(__udivmoddi4);
  //EXPORT_SYMBOL(__umoddi3);