1 /* $Id: ksyms.c,v 1.1 1996/02/25 06:30:18 davem Exp $ 2 * arch/sparc/kernel/ksyms.c: Sparc specific ksyms support. 3 * 4 * Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu) 5 */ 6
7 #include <linux/config.h>
8 #include <linux/module.h>
9 #include <linux/types.h>
10
11 /* We really haven't played around with modules at all in our 12 * port, but this is here as a starting point for when we do. 13 * One thing to note is that the way the symbols of the mul/div 14 * support routines are named is a mess, they all start with 15 * a '.' which makes it a bitch to export, we'll see. 16 */ 17
18 externvoidbcopy (constchar *src, char *dst, intlen);
19 externvoid * memmove(void *,constvoid *,size_t);
20 externvoid * memcpy(void *,constvoid *,size_t);
21
22 staticstructsymbol_tablearch_symbol_table = { 23 #include <linux/symtab_begin.h>
24 /* platform dependent support */ 25 X(bcopy),
26 X(memmove),
27 X(memcpy),
28 #include <linux/symtab_end.h>
29 };
30
31 voidarch_syms_export(void)
/* */ 32 { 33 register_symtab(&arch_symbol_table);
34 }