Add macros for syscalls with 11 to 13 args.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22933 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
François Revol 2007-11-15 22:59:35 +00:00
parent 3f652d19a6
commit 05c6416eba

View File

@ -74,3 +74,21 @@ FUNC(name) \
trap #0 ; \
rts
#define SYSCALL11(name, n) \
FUNC(name) \
move.l IMM n,%d0 ; \
trap #0 ; \
rts
#define SYSCALL12(name, n) \
FUNC(name) \
move.l IMM n,%d0 ; \
trap #0 ; \
rts
#define SYSCALL13(name, n) \
FUNC(name) \
move.l IMM n,%d0 ; \
trap #0 ; \
rts