root/include/asm-sparc/unistd.h

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

INCLUDED FROM


   1 #ifndef _SPARC_UNISTD_H
   2 #define _SPARC_UNISTD_H
   3 
   4 /*
   5  * System calls under the Sparc.
   6  *
   7  * This is work in progress.
   8  *
   9  * Copyright (C) 1994 David S. Miller (davem@caip.rutgers.edu)
  10  */
  11 
  12 /* XXX - _foo needs to be __foo, while __NR_bar could be _NR_bar. */
  13 #define _syscall0(type,name) \
  14 type name(void) \
  15 { \
  16 }
  17 
  18 #define _syscall1(type,name,type1,arg1) \
  19 type name(type1 arg1) \
  20 { \
  21 }
  22 
  23 #define _syscall2(type,name,type1,arg1,type2,arg2) \
  24 type name(type1 arg1,type2 arg2) \
  25 { \
  26 }
  27 
  28 #define _syscall3(type,name,type1,arg1,type2,arg2,type3,arg3) \
  29 type name(type1 arg1,type2 arg2,type3 arg3) \
  30 { \
  31 }
  32 
  33 #define _syscall4(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4) \
  34 type name (type1 arg1, type2 arg2, type3 arg3, type4 arg4) \
  35 { \
  36 } 
  37 
  38 #define _syscall5(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4, \
  39           type5,arg5) \
  40 type name (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5) \
  41 { \
  42 }
  43 
  44 #endif /* _ALPHA_UNISTD_H */

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