Commit 2473cc4f authored by Richard Henderson's avatar Richard Henderson

[ALPHA] Add posix timer and clock syscalls.

parent ddeb999b
...@@ -433,6 +433,15 @@ sys_call_table: ...@@ -433,6 +433,15 @@ sys_call_table:
.quad sys_set_tid_address .quad sys_set_tid_address
.quad sys_restart_syscall .quad sys_restart_syscall
.quad sys_fadvise64 .quad sys_fadvise64
.quad sys_timer_create
.quad sys_timer_settime /* 415 */
.quad sys_timer_gettime
.quad sys_timer_getoverrun
.quad sys_timer_delete
.quad sys_clock_settime
.quad sys_clock_gettime /* 420 */
.quad sys_clock_getres
.quad sys_clock_nanosleep
.size sys_call_table, . - sys_call_table .size sys_call_table, . - sys_call_table
.type sys_call_table, @object .type sys_call_table, @object
......
...@@ -349,7 +349,16 @@ ...@@ -349,7 +349,16 @@
#define __NR_set_tid_address 411 #define __NR_set_tid_address 411
#define __NR_restart_syscall 412 #define __NR_restart_syscall 412
#define __NR_fadvise64 413 #define __NR_fadvise64 413
#define NR_SYSCALLS 414 #define __NR_timer_create 414
#define __NR_timer_settime 415
#define __NR_timer_gettime 416
#define __NR_timer_getoverrun 417
#define __NR_timer_delete 418
#define __NR_clock_settime 419
#define __NR_clock_gettime 420
#define __NR_clock_getres 421
#define __NR_clock_nanosleep 422
#define NR_SYSCALLS 423
#if defined(__GNUC__) #if defined(__GNUC__)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment