root/include/asm-alpha/unistd.h

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

INCLUDED FROM


   1 #ifndef _ALPHA_UNISTD_H
   2 #define _ALPHA_UNISTD_H
   3 
   4 /*
   5  * ".long 131" is "PAL_callsys"..
   6  *
   7  * Duh, the alpha gcc compiler doesn't allow us to specify regs
   8  * yet. I'll have to see about this later..
   9  */
  10 
  11 /* XXX - _foo needs to be __foo, while __NR_bar could be _NR_bar. */
  12 #define _syscall0(type,name) \
  13 type name(void) \
  14 { \
  15 }
  16 
  17 #define _syscall1(type,name,type1,arg1) \
  18 type name(type1 arg1) \
  19 { \
  20 }
  21 
  22 #define _syscall2(type,name,type1,arg1,type2,arg2) \
  23 type name(type1 arg1,type2 arg2) \
  24 { \
  25 }
  26 
  27 #define _syscall3(type,name,type1,arg1,type2,arg2,type3,arg3) \
  28 type name(type1 arg1,type2 arg2,type3 arg3) \
  29 { \
  30 }
  31 
  32 #define _syscall4(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4) \
  33 type name (type1 arg1, type2 arg2, type3 arg3, type4 arg4) \
  34 { \
  35 } 
  36 
  37 #define _syscall5(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4, \
  38           type5,arg5) \
  39 type name (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5) \
  40 { \
  41 }
  42 
  43 #endif /* _ALPHA_UNISTD_H */

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