mirror of
https://github.com/adulau/aha.git
synced 2025-01-03 22:53:18 +00:00
[ARM] Update ARM syscalls
Add utimensat, signalfd, timerfd, eventfd syscalls. Add ignore defines for sync_file_range and fadvise64_64 which we implement differently. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
e903382cea
commit
c05107911a
2 changed files with 14 additions and 0 deletions
|
@ -357,6 +357,10 @@
|
||||||
/* 345 */ CALL(sys_getcpu)
|
/* 345 */ CALL(sys_getcpu)
|
||||||
CALL(sys_ni_syscall) /* eventually epoll_pwait */
|
CALL(sys_ni_syscall) /* eventually epoll_pwait */
|
||||||
CALL(sys_kexec_load)
|
CALL(sys_kexec_load)
|
||||||
|
CALL(sys_utimensat)
|
||||||
|
CALL(sys_signalfd)
|
||||||
|
/* 350 */ CALL(sys_timerfd)
|
||||||
|
CALL(sys_eventfd)
|
||||||
#ifndef syscalls_counted
|
#ifndef syscalls_counted
|
||||||
.equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls
|
.equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls
|
||||||
#define syscalls_counted
|
#define syscalls_counted
|
||||||
|
|
|
@ -373,6 +373,10 @@
|
||||||
#define __NR_getcpu (__NR_SYSCALL_BASE+345)
|
#define __NR_getcpu (__NR_SYSCALL_BASE+345)
|
||||||
/* 346 for epoll_pwait */
|
/* 346 for epoll_pwait */
|
||||||
#define __NR_kexec_load (__NR_SYSCALL_BASE+347)
|
#define __NR_kexec_load (__NR_SYSCALL_BASE+347)
|
||||||
|
#define __NR_utimensat (__NR_SYSCALL_BASE+348)
|
||||||
|
#define __NR_signalfd (__NR_SYSCALL_BASE+349)
|
||||||
|
#define __NR_timerfd (__NR_SYSCALL_BASE+350)
|
||||||
|
#define __NR_eventfd (__NR_SYSCALL_BASE+351)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The following SWIs are ARM private.
|
* The following SWIs are ARM private.
|
||||||
|
@ -433,5 +437,11 @@
|
||||||
*/
|
*/
|
||||||
#define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall")
|
#define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall")
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Unimplemented (or alternatively implemented) syscalls
|
||||||
|
*/
|
||||||
|
#define __IGNORE_sync_file_range 1
|
||||||
|
#define __IGNORE_fadvise64_64 1
|
||||||
|
|
||||||
#endif /* __KERNEL__ */
|
#endif /* __KERNEL__ */
|
||||||
#endif /* __ASM_ARM_UNISTD_H */
|
#endif /* __ASM_ARM_UNISTD_H */
|
||||||
|
|
Loading…
Reference in a new issue