Changeset f2ef7fd in mainline for uspace/lib/libc/include/syscall.h
- Timestamp:
- 2008-10-05T21:20:13Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6198611
- Parents:
- 1d132ae
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/include/syscall.h
r1d132ae rf2ef7fd 33 33 * @file 34 34 * @brief Syscall function declaration for architectures that don't 35 * inline syscalls. 35 * inline syscalls or architectures that handle syscalls 36 * according to the number of arguments. 36 37 */ 37 38 … … 39 40 #define LIBC_SYSCALL_H_ 40 41 42 #ifndef LIBARCH_SYSCALL_GENERIC 43 #error "You can't include this file directly." 44 #endif 45 41 46 #include <sys/types.h> 42 47 #include <kernel/syscall/syscall.h> 48 49 #define __syscall0 __syscall 50 #define __syscall1 __syscall 51 #define __syscall2 __syscall 52 #define __syscall3 __syscall 53 #define __syscall4 __syscall 54 #define __syscall5 __syscall 55 #define __syscall6 __syscall 43 56 44 57 extern sysarg_t __syscall(const sysarg_t p1, const sysarg_t p2,
Note:
See TracChangeset
for help on using the changeset viewer.