OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uClinux-2.0.x/] [arch/] [sparc/] [kernel/] [ksyms.c] - Blame information for rev 199

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 199 simons
/* $Id: ksyms.c,v 1.1.1.1 2001-09-10 07:44:02 simons 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/module.h>
8
#include <linux/types.h>
9
 
10
/* We really haven't played around with modules at all in our
11
 * port, but this is here as a starting point for when we do.
12
 * One thing to note is that the way the symbols of the mul/div
13
 * support routines are named is a mess, they all start with
14
 * a '.' which makes it a bitch to export, we'll see.
15
 */
16
 
17
extern void bcopy (const char *src, char *dst, int len);
18
extern void * memmove(void *,const void *,size_t);
19
extern void * memcpy(void *,const void *,size_t);
20
 
21
static struct symbol_table arch_symbol_table = {
22
#include <linux/symtab_begin.h>
23
        /* platform dependent support */
24
        X(bcopy),
25
        X(memmove),
26
        X(memcpy),
27
#include <linux/symtab_end.h>
28
};
29
 
30
void arch_syms_export(void)
31
{
32
        register_symtab(&arch_symbol_table);
33
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.