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(hwrpb),
  53         X(memcmp),
  54         X(memmove),
  55         X(__memcpy),
  56         X(__constant_c_memset),
  57         /*
  58          * The following are special because they're not called
  59          * explictly (the C compiler or assembler generates them in
  60          * response to division operations).  Fortunately, their
  61          * interface isn't gonna change any time soon now, so it's OK
  62          * to leave it out of version control.
  63          */
  64 # undef bcopy
  65 # undef memcpy
  66 # undef memset
  67         XNOVERS(__divl),
  68         XNOVERS(__divlu),
  69         XNOVERS(__divq),
  70         XNOVERS(__divqu),
  71         XNOVERS(__reml),
  72         XNOVERS(__remlu),
  73         XNOVERS(__remq),
  74         XNOVERS(__remqu),
  75         XNOVERS(__memcpy),
  76         XNOVERS(__memset),
  77 #include <linux/symtab_end.h>
  78 };
  79 
  80 void arch_syms_export(void)
     /* [previous][next][first][last][top][bottom][index][help] */
  81 {
  82         register_symtab(&arch_symbol_table);
  83 }

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