summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2005-10-23 04:26:10 +0000
committerdavidxu <davidxu@FreeBSD.org>2005-10-23 04:26:10 +0000
commit3fbcdd3e931a1d95b6c17e0a1406fbd1aac4406c (patch)
treecf56779d6cbd2d247cdb859c5588f26c211e466c
parentcf50eec401d4d7384b3badbb5929bc33849a5855 (diff)
downloadFreeBSD-src-3fbcdd3e931a1d95b6c17e0a1406fbd1aac4406c.zip
FreeBSD-src-3fbcdd3e931a1d95b6c17e0a1406fbd1aac4406c.tar.gz
Regen for POSIX timer syscalls.
-rw-r--r--sys/kern/init_sysent.c12
-rw-r--r--sys/kern/syscalls.c12
-rw-r--r--sys/sys/syscall.h7
-rw-r--r--sys/sys/syscall.mk7
-rw-r--r--sys/sys/sysproto.h28
5 files changed, 51 insertions, 15 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c
index 0f9019b..7304a1b 100644
--- a/sys/kern/init_sysent.c
+++ b/sys/kern/init_sysent.c
@@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
- * created from FreeBSD: src/sys/kern/syscalls.master,v 1.200 2005/10/14 12:43:46 davidxu Exp
+ * created from FreeBSD: src/sys/kern/syscalls.master,v 1.202 2005/10/23 04:22:55 davidxu Exp
*/
#include "opt_compat.h"
@@ -264,11 +264,11 @@ struct sysent sysent[] = {
{ SYF_MPSAFE | AS(clock_gettime_args), (sy_call_t *)clock_gettime, AUE_NULL }, /* 232 = clock_gettime */
{ SYF_MPSAFE | AS(clock_settime_args), (sy_call_t *)clock_settime, AUE_NULL }, /* 233 = clock_settime */
{ SYF_MPSAFE | AS(clock_getres_args), (sy_call_t *)clock_getres, AUE_NULL }, /* 234 = clock_getres */
- { 0, (sy_call_t *)nosys, AUE_NULL }, /* 235 = timer_create */
- { 0, (sy_call_t *)nosys, AUE_NULL }, /* 236 = timer_delete */
- { 0, (sy_call_t *)nosys, AUE_NULL }, /* 237 = timer_settime */
- { 0, (sy_call_t *)nosys, AUE_NULL }, /* 238 = timer_gettime */
- { 0, (sy_call_t *)nosys, AUE_NULL }, /* 239 = timer_getoverrun */
+ { SYF_MPSAFE | AS(timer_create_args), (sy_call_t *)timer_create, AUE_NULL }, /* 235 = timer_create */
+ { SYF_MPSAFE | AS(timer_delete_args), (sy_call_t *)timer_delete, AUE_NULL }, /* 236 = timer_delete */
+ { SYF_MPSAFE | AS(timer_settime_args), (sy_call_t *)timer_settime, AUE_NULL }, /* 237 = timer_settime */
+ { SYF_MPSAFE | AS(timer_gettime_args), (sy_call_t *)timer_gettime, AUE_NULL }, /* 238 = timer_gettime */
+ { SYF_MPSAFE | AS(timer_getoverrun_args), (sy_call_t *)timer_getoverrun, AUE_NULL }, /* 239 = timer_getoverrun */
{ SYF_MPSAFE | AS(nanosleep_args), (sy_call_t *)nanosleep, AUE_NULL }, /* 240 = nanosleep */
{ 0, (sy_call_t *)nosys, AUE_NULL }, /* 241 = nosys */
{ 0, (sy_call_t *)nosys, AUE_NULL }, /* 242 = nosys */
diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c
index 3c6fae0..7593e6e 100644
--- a/sys/kern/syscalls.c
+++ b/sys/kern/syscalls.c
@@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
- * created from FreeBSD: src/sys/kern/syscalls.master,v 1.200 2005/10/14 12:43:46 davidxu Exp
+ * created from FreeBSD: src/sys/kern/syscalls.master,v 1.202 2005/10/23 04:22:55 davidxu Exp
*/
const char *syscallnames[] = {
@@ -242,11 +242,11 @@ const char *syscallnames[] = {
"clock_gettime", /* 232 = clock_gettime */
"clock_settime", /* 233 = clock_settime */
"clock_getres", /* 234 = clock_getres */
- "#235", /* 235 = timer_create */
- "#236", /* 236 = timer_delete */
- "#237", /* 237 = timer_settime */
- "#238", /* 238 = timer_gettime */
- "#239", /* 239 = timer_getoverrun */
+ "timer_create", /* 235 = timer_create */
+ "timer_delete", /* 236 = timer_delete */
+ "timer_settime", /* 237 = timer_settime */
+ "timer_gettime", /* 238 = timer_gettime */
+ "timer_getoverrun", /* 239 = timer_getoverrun */
"nanosleep", /* 240 = nanosleep */
"#241", /* 241 = nosys */
"#242", /* 242 = nosys */
diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h
index 42b170d..4ed4644 100644
--- a/sys/sys/syscall.h
+++ b/sys/sys/syscall.h
@@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
- * created from FreeBSD: src/sys/kern/syscalls.master,v 1.200 2005/10/14 12:43:46 davidxu Exp
+ * created from FreeBSD: src/sys/kern/syscalls.master,v 1.202 2005/10/23 04:22:55 davidxu Exp
*/
#define SYS_syscall 0
@@ -208,6 +208,11 @@
#define SYS_clock_gettime 232
#define SYS_clock_settime 233
#define SYS_clock_getres 234
+#define SYS_timer_create 235
+#define SYS_timer_delete 236
+#define SYS_timer_settime 237
+#define SYS_timer_gettime 238
+#define SYS_timer_getoverrun 239
#define SYS_nanosleep 240
#define SYS_ntp_gettime 248
#define SYS_minherit 250
diff --git a/sys/sys/syscall.mk b/sys/sys/syscall.mk
index 56e58ca..af9fa6b 100644
--- a/sys/sys/syscall.mk
+++ b/sys/sys/syscall.mk
@@ -1,7 +1,7 @@
# FreeBSD system call names.
# DO NOT EDIT-- this file is automatically generated.
# $FreeBSD$
-# created from FreeBSD: src/sys/kern/syscalls.master,v 1.200 2005/10/14 12:43:46 davidxu Exp
+# created from FreeBSD: src/sys/kern/syscalls.master,v 1.202 2005/10/23 04:22:55 davidxu Exp
MIASM = \
syscall.o \
exit.o \
@@ -157,6 +157,11 @@ MIASM = \
clock_gettime.o \
clock_settime.o \
clock_getres.o \
+ timer_create.o \
+ timer_delete.o \
+ timer_settime.o \
+ timer_gettime.o \
+ timer_getoverrun.o \
nanosleep.o \
ntp_gettime.o \
minherit.o \
diff --git a/sys/sys/sysproto.h b/sys/sys/sysproto.h
index f1a7c85..f0543d9 100644
--- a/sys/sys/sysproto.h
+++ b/sys/sys/sysproto.h
@@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
- * created from FreeBSD: src/sys/kern/syscalls.master,v 1.201 2005/10/18 11:46:23 stefanf Exp
+ * created from FreeBSD: src/sys/kern/syscalls.master,v 1.202 2005/10/23 04:22:55 davidxu Exp
*/
#ifndef _SYS_SYSPROTO_H_
@@ -719,6 +719,27 @@ struct clock_getres_args {
char clock_id_l_[PADL_(clockid_t)]; clockid_t clock_id; char clock_id_r_[PADR_(clockid_t)];
char tp_l_[PADL_(struct timespec *)]; struct timespec * tp; char tp_r_[PADR_(struct timespec *)];
};
+struct timer_create_args {
+ char clock_id_l_[PADL_(clockid_t)]; clockid_t clock_id; char clock_id_r_[PADR_(clockid_t)];
+ char evp_l_[PADL_(struct sigevent *)]; struct sigevent * evp; char evp_r_[PADR_(struct sigevent *)];
+ char timerid_l_[PADL_(timer_t *)]; timer_t * timerid; char timerid_r_[PADR_(timer_t *)];
+};
+struct timer_delete_args {
+ char timerid_l_[PADL_(timer_t)]; timer_t timerid; char timerid_r_[PADR_(timer_t)];
+};
+struct timer_settime_args {
+ char timerid_l_[PADL_(timer_t)]; timer_t timerid; char timerid_r_[PADR_(timer_t)];
+ char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
+ char value_l_[PADL_(const struct itimerspec *)]; const struct itimerspec * value; char value_r_[PADR_(const struct itimerspec *)];
+ char ovalue_l_[PADL_(struct itimerspec *)]; struct itimerspec * ovalue; char ovalue_r_[PADR_(struct itimerspec *)];
+};
+struct timer_gettime_args {
+ char timerid_l_[PADL_(timer_t)]; timer_t timerid; char timerid_r_[PADR_(timer_t)];
+ char value_l_[PADL_(struct itimerspec *)]; struct itimerspec * value; char value_r_[PADR_(struct itimerspec *)];
+};
+struct timer_getoverrun_args {
+ char timerid_l_[PADL_(timer_t)]; timer_t timerid; char timerid_r_[PADR_(timer_t)];
+};
struct nanosleep_args {
char rqtp_l_[PADL_(const struct timespec *)]; const struct timespec * rqtp; char rqtp_r_[PADR_(const struct timespec *)];
char rmtp_l_[PADL_(struct timespec *)]; struct timespec * rmtp; char rmtp_r_[PADR_(struct timespec *)];
@@ -1524,6 +1545,11 @@ int shmget(struct thread *, struct shmget_args *);
int clock_gettime(struct thread *, struct clock_gettime_args *);
int clock_settime(struct thread *, struct clock_settime_args *);
int clock_getres(struct thread *, struct clock_getres_args *);
+int timer_create(struct thread *, struct timer_create_args *);
+int timer_delete(struct thread *, struct timer_delete_args *);
+int timer_settime(struct thread *, struct timer_settime_args *);
+int timer_gettime(struct thread *, struct timer_gettime_args *);
+int timer_getoverrun(struct thread *, struct timer_getoverrun_args *);
int nanosleep(struct thread *, struct nanosleep_args *);
int ntp_gettime(struct thread *, struct ntp_gettime_args *);
int minherit(struct thread *, struct minherit_args *);
OpenPOWER on IntegriCloud