Loading...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | /* * linux/arch/alpha/kernel/ksyms.c * * Export the alpha-specific functions that are needed for loadable * modules. */ #include <linux/string.h> #include <linux/module.h> #include <linux/string.h> #include <linux/user.h> #include <linux/elfcore.h> #include <asm/io.h> #include <asm/checksum.h> #include <asm/hwrpb.h> extern void bcopy (const char *src, char *dst, int len); extern struct hwrpb_struct *hwrpb; /* these are C runtime functions with special calling conventions: */ extern void __divl (void); extern void __reml (void); extern void __divq (void); extern void __remq (void); extern void __divlu (void); extern void __remlu (void); extern void __divqu (void); extern void __remqu (void); extern void start_thread(struct pt_regs *, unsigned long, unsigned long); extern void dump_thread(struct pt_regs *, struct user *); extern int dump_fpu(struct pt_regs *, elf_fpregset_t *); static struct symbol_table arch_symbol_table = { #include <linux/symtab_begin.h> /* platform dependent support */ X(_inb), X(_inw), X(_inl), X(_outb), X(_outw), X(_outl), X(_readb), X(_readw), X(_readl), X(_writeb), X(_writew), X(_writel), X(__divl), X(__reml), X(__divq), X(__remq), X(__divlu), X(__remlu), X(__divqu), X(__remqu), X(insl), X(insw), X(insb), X(outsl), X(outsw), X(outsb), X(strcat), X(strncat), X(strcmp), X(strcpy), X(strlen), X(strncmp), X(strncpy), X(strnlen), X(strstr), X(strtok), X(strchr), X(strrchr), X(memcmp), X(memmove), X(__memcpy), X(__constant_c_memset), X(csum_tcpudp_magic), X(ip_fast_csum), X(ip_compute_csum), X(start_thread), X(dump_thread), X(dump_fpu), X(hwrpb), X(wrusp), /* * The following are special because they're not called * explicitly (the C compiler or assembler generates them in * response to division operations). Fortunately, their * interface isn't gonna change any time soon now, so it's OK * to leave it out of version control. */ # undef bcopy # undef memcpy # undef memset XNOVERS(__divl), XNOVERS(__divlu), XNOVERS(__divq), XNOVERS(__divqu), XNOVERS(__reml), XNOVERS(__remlu), XNOVERS(__remq), XNOVERS(__remqu), XNOVERS(memcpy), XNOVERS(memset), /* these shouldn't be necessary---they should be versioned: */ XNOVERS(__memcpy), XNOVERS(__memset), #include <linux/symtab_end.h> }; void arch_syms_export(void) { register_symtab(&arch_symbol_table); } |