root/arch/alpha/kernel/ksyms.c

/* [previous][next][first][last][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. arch_syms_export

   1 /*
   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 <asm/io.h>
  12 #include <asm/hwrpb.h>
  13 
  14 extern void bcopy (const char *src, char *dst, int len);
  15 extern struct hwrpb_struct *hwrpb;
  16 
  17 /* these are C runtime functions with special calling conventions: */
  18 extern void __divl (void);
  19 extern void __reml (void);
  20 extern void __divq (void);
  21 extern void __remq (void);
  22 extern void __divlu (void);
  23 extern void __remlu (void);
  24 extern void __divqu (void);
  25 extern void __remqu (void);
  26 
  27 static struct symbol_table arch_symbol_table = {
  28 #include <linux/symtab_begin.h>
  29         /* platform dependent support */
  30         X(_inb),
  31         X(_inw),
  32         X(_inl),
  33         X(_outb),
  34         X(_outw),
  35         X(_outl),
  36         X(__divl),
  37         X(__reml),
  38         X(__divq),
  39         X(__remq),
  40         X(__divlu),
  41         X(__remlu),
  42         X(__divqu),
  43         X(__remqu),
  44         X(strcat),
  45         X(strcmp),
  46         X(strcpy),
  47         X(strlen),
  48         X(strncmp),
  49         X(strncpy),
  50         X(strnlen),
  51         X(strstr),
  52         X(strtok),
  53         X(strchr),
  54         X(hwrpb),
  55         X(memcmp),
  56         X(memmove),
  57         X(__memcpy),
  58         X(__constant_c_memset),
  59         /*
  60          * The following are special because they're not called
  61          * explictly (the C compiler or assembler generates them in
  62          * response to division operations).  Fortunately, their
  63          * interface isn't gonna change any time soon now, so it's OK
  64          * to leave it out of version control.
  65          */
  66 # undef bcopy
  67 # undef memcpy
  68 # undef memset
  69         XNOVERS(__divl),
  70         XNOVERS(__divlu),
  71         XNOVERS(__divq),
  72         XNOVERS(__divqu),
  73         XNOVERS(__reml),
  74         XNOVERS(__remlu),
  75         XNOVERS(__remq),
  76         XNOVERS(__remqu),
  77         XNOVERS(memcpy),
  78         XNOVERS(memset),
  79         /* these shouldn't be necessary---they should be versioned: */
  80         XNOVERS(__memcpy),
  81         XNOVERS(__memset),
  82 #include <linux/symtab_end.h>
  83 };
  84 
  85 void arch_syms_export(void)
     /* [previous][next][first][last][top][bottom][index][help] */
  86 {
  87         register_symtab(&arch_symbol_table);
  88 }

/* [previous][next][first][last][top][bottom][index][help] */