diff options
author | Android Code Review <code-review@android.com> | 2009-09-20 23:39:18 -0700 |
---|---|---|
committer | Android Code Review <code-review@android.com> | 2009-09-20 23:39:18 -0700 |
commit | 4e30c09e57a0351daff70f6657794569445be21c (patch) | |
tree | 9b429261a70ccc3bddddb3d46ffbec1e36f75971 /libc/include | |
parent | 5632aeb83862a50e39dae9b7da2d7e2e5a8cb0d3 (diff) | |
parent | 336efb5267e465ac52d78327d37f79553b3f0584 (diff) | |
download | bionic-4e30c09e57a0351daff70f6657794569445be21c.zip bionic-4e30c09e57a0351daff70f6657794569445be21c.tar.gz bionic-4e30c09e57a0351daff70f6657794569445be21c.tar.bz2 |
Merge change 10538
* changes:
added syscalls for SuperH which automatically generate by gensyscalls.py
Diffstat (limited to 'libc/include')
-rw-r--r-- | libc/include/sys/linux-syscalls.h | 54 | ||||
-rw-r--r-- | libc/include/sys/linux-unistd.h | 1 |
2 files changed, 55 insertions, 0 deletions
diff --git a/libc/include/sys/linux-syscalls.h b/libc/include/sys/linux-syscalls.h index 7772f1e..5d2b55e 100644 --- a/libc/include/sys/linux-syscalls.h +++ b/libc/include/sys/linux-syscalls.h @@ -218,6 +218,60 @@ #define __NR_inotify_rm_watch (__NR_SYSCALL_BASE + 293) #endif +#if defined(__SH3__) || defined(__SH4__) +#define __NR_exit_group (__NR_SYSCALL_BASE + 252) +#define __NR_waitpid (__NR_SYSCALL_BASE + 7) +#define __NR_waitid (__NR_SYSCALL_BASE + 284) +#define __NR_kill (__NR_SYSCALL_BASE + 37) +#define __NR_tkill (__NR_SYSCALL_BASE + 238) +#define __NR_set_thread_area (__NR_SYSCALL_BASE + 243) +#define __NR_vfork (__NR_SYSCALL_BASE + 190) +#define __NR_openat (__NR_SYSCALL_BASE + 295) +#define __NR_madvise (__NR_SYSCALL_BASE + 219) +#define __NR_mincore (__NR_SYSCALL_BASE + 218) +#define __NR_getdents64 (__NR_SYSCALL_BASE + 220) +#define __NR_fstatfs64 (__NR_SYSCALL_BASE + 269) +#define __NR_fstatat64 (__NR_SYSCALL_BASE + 300) +#define __NR_mkdirat (__NR_SYSCALL_BASE + 296) +#define __NR_fchownat (__NR_SYSCALL_BASE + 298) +#define __NR_fchmodat (__NR_SYSCALL_BASE + 306) +#define __NR_renameat (__NR_SYSCALL_BASE + 302) +#define __NR_unlinkat (__NR_SYSCALL_BASE + 301) +#define __NR_statfs64 (__NR_SYSCALL_BASE + 268) +#define __NR_clock_gettime (__NR_SYSCALL_BASE + 265) +#define __NR_clock_settime (__NR_SYSCALL_BASE + 264) +#define __NR_clock_getres (__NR_SYSCALL_BASE + 266) +#define __NR_clock_nanosleep (__NR_SYSCALL_BASE + 267) +#define __NR_timer_create (__NR_SYSCALL_BASE + 259) +#define __NR_timer_settime (__NR_SYSCALL_BASE + 260) +#define __NR_timer_gettime (__NR_SYSCALL_BASE + 261) +#define __NR_timer_getoverrun (__NR_SYSCALL_BASE + 262) +#define __NR_timer_delete (__NR_SYSCALL_BASE + 263) +#define __NR_utimes (__NR_SYSCALL_BASE + 271) +#define __NR_socketcall (__NR_SYSCALL_BASE + 102) +#define __NR_socketcall (__NR_SYSCALL_BASE + 102) +#define __NR_socketcall (__NR_SYSCALL_BASE + 102) +#define __NR_socketcall (__NR_SYSCALL_BASE + 102) +#define __NR_socketcall (__NR_SYSCALL_BASE + 102) +#define __NR_socketcall (__NR_SYSCALL_BASE + 102) +#define __NR_socketcall (__NR_SYSCALL_BASE + 102) +#define __NR_socketcall (__NR_SYSCALL_BASE + 102) +#define __NR_socketcall (__NR_SYSCALL_BASE + 102) +#define __NR_socketcall (__NR_SYSCALL_BASE + 102) +#define __NR_socketcall (__NR_SYSCALL_BASE + 102) +#define __NR_socketcall (__NR_SYSCALL_BASE + 102) +#define __NR_socketcall (__NR_SYSCALL_BASE + 102) +#define __NR_socketcall (__NR_SYSCALL_BASE + 102) +#define __NR_socketcall (__NR_SYSCALL_BASE + 102) +#define __NR___socketcall (__NR_SYSCALL_BASE + 102) +#define __NR_epoll_create (__NR_SYSCALL_BASE + 254) +#define __NR_epoll_ctl (__NR_SYSCALL_BASE + 255) +#define __NR_epoll_wait (__NR_SYSCALL_BASE + 256) +#define __NR_inotify_init (__NR_SYSCALL_BASE + 290) +#define __NR_inotify_add_watch (__NR_SYSCALL_BASE + 291) +#define __NR_inotify_rm_watch (__NR_SYSCALL_BASE + 292) +#endif + #endif #endif /* _BIONIC_LINUX_SYSCALLS_H_ */ diff --git a/libc/include/sys/linux-unistd.h b/libc/include/sys/linux-unistd.h index 789271e..12f7704 100644 --- a/libc/include/sys/linux-unistd.h +++ b/libc/include/sys/linux-unistd.h @@ -171,6 +171,7 @@ int setsockopt (int, int, int, const void *, socklen_t); int getsockopt (int, int, int, void *, socklen_t *); int sendmsg (int, const struct msghdr *, unsigned int); int recvmsg (int, struct msghdr *, unsigned int); +int __socketcall (int, unsigned long*); int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param); int sched_getscheduler (pid_t pid); int sched_yield (void); |