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:
parent
3f652d19a6
commit
05c6416eba
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user