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

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