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

Subversion Repositories or1k

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

powered by: WebSVN 2.1.0

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