Rev 2479 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2479 | Rev 3485 | ||
---|---|---|---|
Line 34... | Line 34... | ||
34 | */ |
34 | */ |
35 | 35 | ||
36 | #ifndef LIBC_ia32_SYSCALL_H_ |
36 | #ifndef LIBC_ia32_SYSCALL_H_ |
37 | #define LIBC_ia32_SYSCALL_H_ |
37 | #define LIBC_ia32_SYSCALL_H_ |
38 | 38 | ||
39 | #include <syscall.h> |
39 | #include <sys/types.h> |
- | 40 | #include <kernel/syscall/syscall.h> |
|
- | 41 | ||
- | 42 | #define __syscall0 __syscall_sysenter |
|
- | 43 | #define __syscall1 __syscall_sysenter |
|
- | 44 | #define __syscall2 __syscall_sysenter |
|
- | 45 | #define __syscall3 __syscall_sysenter |
|
- | 46 | #define __syscall4 __syscall_sysenter |
|
- | 47 | #define __syscall5 __syscall_int |
|
- | 48 | #define __syscall6 __syscall_int |
|
- | 49 | ||
- | 50 | extern sysarg_t |
|
- | 51 | __syscall_sysenter(const sysarg_t, const sysarg_t, const sysarg_t, const sysarg_t, |
|
- | 52 | const sysarg_t, const sysarg_t, const syscall_t); |
|
- | 53 | ||
- | 54 | extern sysarg_t |
|
- | 55 | __syscall_int(const sysarg_t, const sysarg_t, const sysarg_t, const sysarg_t, |
|
- | 56 | const sysarg_t, const sysarg_t, const syscall_t); |
|
40 | 57 | ||
41 | #endif |
58 | #endif |
42 | 59 | ||
43 | /** @} |
60 | /** @} |
44 | */ |
61 | */ |