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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [rc203soc/] [sw/] [uClinux/] [arch/] [m68k/] [kernel/] [ksyms.c] - Blame information for rev 1782

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1623 jcastillo
#include <linux/config.h>
2
#include <linux/module.h>
3
#include <linux/linkage.h>
4
#include <linux/string.h>
5
#include <linux/mm.h>
6
#include <linux/user.h>
7
#include <linux/elfcore.h>
8
 
9
#include <asm/bootinfo.h>
10
#include <asm/pgtable.h>
11
#include <asm/irq.h>
12
 
13
asmlinkage long long __ashrdi3 (long long, int);
14
extern char m68k_debug_device[];
15
 
16
#ifdef CONFIG_ATARI
17
extern void mach_atari_syms_export (void);
18
#endif
19
#ifdef CONFIG_AMIGA
20
extern void mach_amiga_syms_export (void);
21
#endif
22
#ifdef CONFIG_MAC
23
extern void mach_mac_syms_export (void);
24
#endif
25
 
26
extern void dump_thread(struct pt_regs *, struct user *);
27
extern int dump_fpu(elf_fpregset_t *);
28
 
29
static struct symbol_table arch_symbol_table = {
30
#include <linux/symtab_begin.h>
31
        /* platform dependent support */
32
 
33
        X(memcmp),
34
        X(boot_info),
35
        X(m68k_is040or060),
36
        X(cache_push),
37
        X(cache_clear),
38
        X(mm_vtop),
39
        X(mm_ptov),
40
        X(m68k_debug_device),
41
        X(add_isr),
42
        X(remove_isr),
43
        X(dump_fpu),
44
        X(dump_thread),
45
 
46
        /* The following are special because they're not called
47
           explicitly (the C compiler generates them).  Fortunately,
48
           their interface isn't gonna change any time soon now, so
49
           it's OK to leave it out of version control.  */
50
        XNOVERS(__ashrdi3),
51
        XNOVERS(memcpy),
52
 
53
#include <linux/symtab_end.h>
54
};
55
 
56
void arch_syms_export(void)
57
{
58
        register_symtab(&arch_symbol_table);
59
 
60
        switch (boot_info.machtype) {
61
#ifdef CONFIG_ATARI
62
        case MACH_ATARI:
63
                mach_atari_syms_export();
64
                break;
65
#endif
66
#ifdef CONFIG_AMIGA
67
        case MACH_AMIGA:
68
                mach_amiga_syms_export();
69
                break;
70
#endif
71
#ifdef CONFIG_MAC
72
        case MACH_MAC:
73
                mach_mac_syms_export();
74
                break;
75
#endif
76
        default:
77
                break;
78
        }
79
}

powered by: WebSVN 2.1.0

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