Rev 2479 | Rev 2605 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2479 | Rev 2541 | ||
|---|---|---|---|
| Line 33... | Line 33... | ||
| 33 | */ |
33 | */ |
| 34 | 34 | ||
| 35 | #ifndef LIBC_LIBC_H_ |
35 | #ifndef LIBC_LIBC_H_ |
| 36 | #define LIBC_LIBC_H_ |
36 | #define LIBC_LIBC_H_ |
| 37 | 37 | ||
| 38 | #include <types.h> |
38 | #include <sys/types.h> |
| 39 | #include <kernel/syscall/syscall.h> |
39 | #include <kernel/syscall/syscall.h> |
| 40 | #include <libarch/syscall.h> |
40 | #include <libarch/syscall.h> |
| 41 | 41 | ||
| 42 | #define __SYSCALL0(id) __syscall(0, 0, 0, 0, id) |
42 | #define __SYSCALL0(id) __syscall(0, 0, 0, 0, id) |
| 43 | #define __SYSCALL1(id, p1) __syscall(p1, 0, 0, 0, id) |
43 | #define __SYSCALL1(id, p1) __syscall(p1, 0, 0, 0, id) |