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 
  31         X(_inb),
  32         X(_inw),
  33         X(_inl),
  34         X(_outb),
  35         X(_outw),
  36         X(_outl),
  37         X(_readb),
  38         X(_readw),
  39         X(_readl),
  40         X(_writeb),
  41         X(_writew),
  42         X(_writel),
  43         X(__divl),
  44         X(__reml),
  45         X(__divq),
  46         X(__remq),
  47         X(__divlu),
  48         X(__remlu),
  49         X(__divqu),
  50         X(__remqu),
  51         X(insl),
  52         X(insw),
  53         X(outsl),
  54         X(outsw),
  55         X(strcat),
  56         X(strcmp),
  57         X(strcpy),
  58         X(strlen),
  59         X(strncmp),
  60         X(strncpy),
  61         X(strnlen),
  62         X(strstr),
  63         X(strtok),
  64         X(strchr),
  65         X(hwrpb),
  66         X(memcmp),
  67         X(memmove),
  68         X(__memcpy),
  69         X(__constant_c_memset),
  70         /*
  71          * The following are special because they're not called
  72          * explicitly (the C compiler or assembler generates them in
  73          * response to division operations).  Fortunately, their
  74          * interface isn't gonna change any time soon now, so it's OK
  75          * to leave it out of version control.
  76          */
  77 # undef bcopy
  78 # undef memcpy
  79 # undef memset
  80         XNOVERS(__divl),
  81         XNOVERS(__divlu),
  82         XNOVERS(__divq),
  83         XNOVERS(__divqu),
  84         XNOVERS(__reml),
  85         XNOVERS(__remlu),
  86         XNOVERS(__remq),
  87         XNOVERS(__remqu),
  88         XNOVERS(memcpy),
  89         XNOVERS(memset),
  90         /* these shouldn't be necessary---they should be versioned: */
  91         XNOVERS(__memcpy),
  92         XNOVERS(__memset),
  93 #include <linux/symtab_end.h>
  94 };
  95 
  96 void arch_syms_export(void)
     /* [previous][next][first][last][top][bottom][index][help] */
  97 {
  98         register_symtab(&arch_symbol_table);
  99 }

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