Rev 2071 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2071 | Rev 2089 | ||
---|---|---|---|
Line 36... | Line 36... | ||
36 | #include <arch/syscall.h> |
36 | #include <arch/syscall.h> |
37 | #include <arch/trap/syscall.h> |
37 | #include <arch/trap/syscall.h> |
38 | #include <syscall/syscall.h> |
38 | #include <syscall/syscall.h> |
39 | #include <panic.h> |
39 | #include <panic.h> |
40 | #include <arch/types.h> |
40 | #include <arch/types.h> |
41 | #include <typedefs.h> |
- | |
42 | 41 | ||
43 | unative_t syscall(int n, istate_t *istate, unative_t a1, unative_t a2, unative_t a3, unative_t a4) |
42 | unative_t syscall(int n, istate_t *istate, unative_t a1, unative_t a2, unative_t a3, unative_t a4) |
44 | { |
43 | { |
45 | return syscall_handler(a1, a2, a3, a4, n - TT_TRAP_INSTRUCTION(0)); |
44 | return syscall_handler(a1, a2, a3, a4, n - TT_TRAP_INSTRUCTION(0)); |
46 | } |
45 | } |