|
@@ -66,6 +66,23 @@ type name (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5) \
|
|
return (type) (INLINE_SYSCALL(name, 5, arg1, arg2, arg3, arg4, arg5)); \
|
|
return (type) (INLINE_SYSCALL(name, 5, arg1, arg2, arg3, arg4, arg5)); \
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+#undef _syscall6
|
|
|
|
+#define _syscall6(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4, \
|
|
|
|
+ type5,arg5,type6,arg6) \
|
|
|
|
+type name (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5, type6 arg6) \
|
|
|
|
+{ \
|
|
|
|
+return (type) (INLINE_SYSCALL(name, 6, arg1, arg2, arg3, arg4, arg5, arg6)); \
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+#undef _syscall7
|
|
|
|
+#define _syscall7(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4, \
|
|
|
|
+ type5,arg5,type6,arg6,type7,arg7) \
|
|
|
|
+type name (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5, type6 arg6,type7 arg7) \
|
|
|
|
+{ \
|
|
|
|
+return (type) (INLINE_SYSCALL(name, 7, arg1, arg2, arg3, arg4, arg5, arg6, arg7)); \
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+
|
|
#undef INLINE_SYSCALL
|
|
#undef INLINE_SYSCALL
|
|
#define INLINE_SYSCALL(name, nr, args...) \
|
|
#define INLINE_SYSCALL(name, nr, args...) \
|
|
({ unsigned int _sys_result; \
|
|
({ unsigned int _sys_result; \
|