22 #define __SYSCALL_LL_E(x) (x) 23 #define __SYSCALL_LL_O(x) (x) 31 long pedigree_translate_syscall(
long which,
long a1,
long a2,
long a3,
long a4,
34 static __inline
long __syscall0(
long n)
36 return pedigree_translate_syscall(n, 0, 0, 0, 0, 0, 0);
39 static __inline
long __syscall1(
long n,
long a1)
41 return pedigree_translate_syscall(n, a1, 0, 0, 0, 0, 0);
44 static __inline
long __syscall2(
long n,
long a1,
long a2)
46 return pedigree_translate_syscall(n, a1, a2, 0, 0, 0, 0);
49 static __inline
long __syscall3(
long n,
long a1,
long a2,
long a3)
51 return pedigree_translate_syscall(n, a1, a2, a3, 0, 0, 0);
54 static __inline
long __syscall4(
long n,
long a1,
long a2,
long a3,
long a4)
56 return pedigree_translate_syscall(n, a1, a2, a3, a4, 0, 0);
59 static __inline
long __syscall5(
long n,
long a1,
long a2,
long a3,
long a4,
long a5)
61 return pedigree_translate_syscall(n, a1, a2, a3, a4, a5, 0);
64 static __inline
long __syscall6(
long n,
long a1,
long a2,
long a3,
long a4,
long a5,
long a6)
66 return pedigree_translate_syscall(n, a1, a2, a3, a4, a5, a6);