Regen (missing lwp syscalls).

This commit is contained in:
cube 2007-02-18 15:00:14 +00:00
parent 5bf3692f91
commit c7565916df
4 changed files with 84 additions and 28 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: netbsd32_syscall.h,v 1.62 2007/02/09 21:55:22 ad Exp $ */
/* $NetBSD: netbsd32_syscall.h,v 1.63 2007/02/18 15:00:14 cube Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.53.2.1 2006/11/18 21:39:14 ad Exp
* created from NetBSD: syscalls.master,v 1.56 2007/02/18 09:03:55 cube Exp
*/
#ifndef _netbsd32_SYS_SYSCALL_H_
@ -906,6 +906,21 @@
/* syscall: "netbsd32__lwp_setprivate" ret: "void" args: "netbsd32_voidp" */
#define netbsd32_SYS_netbsd32__lwp_setprivate 317
/* syscall: "netbsd32__lwp_kill" ret: "int" args: "lwpid_t" "int" */
#define netbsd32_SYS_netbsd32__lwp_kill 318
/* syscall: "netbsd32__lwp_detach" ret: "int" args: "lwpid_t" */
#define netbsd32_SYS_netbsd32__lwp_detach 319
/* syscall: "netbsd32__lwp_park" ret: "int" args: "const netbsd32_timespecp_t" "netbsd32_ucontextp" "const netbsd32_voidp" */
#define netbsd32_SYS_netbsd32__lwp_park 320
/* syscall: "netbsd32__lwp_unpark" ret: "int" args: "lwpid_t" "const netbsd32_voidp" */
#define netbsd32_SYS_netbsd32__lwp_unpark 321
/* syscall: "netbsd32__lwp_unpark_all" ret: "netbsd32_size_t" args: "const netbsd32_lwpidp" "netbsd32_size_t" "const netbsd32_voidp" */
#define netbsd32_SYS_netbsd32__lwp_unpark_all 322
/* 330 is obsolete netbsd32_sa_register */
/* 331 is obsolete netbsd32_sa_stacks */
/* 332 is obsolete sys_sa_enable */
@ -925,6 +940,9 @@
/* syscall: "netbsd32_kevent" ret: "int" args: "int" "netbsd32_keventp_t" "netbsd32_size_t" "netbsd32_keventp_t" "netbsd32_size_t" "netbsd32_timespecp_t" */
#define netbsd32_SYS_netbsd32_kevent 345
/* syscall: "sched_yield" ret: "int" args: */
#define netbsd32_SYS_sched_yield 350
/* syscall: "netbsd32_fsync_range" ret: "int" args: "int" "int" "off_t" "off_t" */
#define netbsd32_SYS_netbsd32_fsync_range 354

View File

@ -1,10 +1,10 @@
/* $NetBSD: netbsd32_syscallargs.h,v 1.62 2007/02/09 21:55:22 ad Exp $ */
/* $NetBSD: netbsd32_syscallargs.h,v 1.63 2007/02/18 15:00:14 cube Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.53.2.1 2006/11/18 21:39:14 ad Exp
* created from NetBSD: syscalls.master,v 1.56 2007/02/18 09:03:55 cube Exp
*/
#ifndef _netbsd32_SYS_SYSCALLARGS_H_
@ -1376,6 +1376,32 @@ struct netbsd32__lwp_setprivate_args {
syscallarg(netbsd32_voidp) ptr;
};
struct netbsd32__lwp_kill_args {
syscallarg(lwpid_t) target;
syscallarg(int) signo;
};
struct netbsd32__lwp_detach_args {
syscallarg(lwpid_t) target;
};
struct netbsd32__lwp_park_args {
syscallarg(const netbsd32_timespecp_t) ts;
syscallarg(netbsd32_ucontextp) ucp;
syscallarg(const netbsd32_voidp) hint;
};
struct netbsd32__lwp_unpark_args {
syscallarg(lwpid_t) target;
syscallarg(const netbsd32_voidp) hint;
};
struct netbsd32__lwp_unpark_all_args {
syscallarg(const netbsd32_lwpidp) targets;
syscallarg(netbsd32_size_t) ntargets;
syscallarg(const netbsd32_voidp) hint;
};
struct netbsd32___sigaction_sigtramp_args {
syscallarg(int) signum;
syscallarg(const netbsd32_sigactionp_t) nsa;
@ -2264,6 +2290,16 @@ int sys__lwp_getprivate(struct lwp *, void *, register_t *);
int netbsd32__lwp_setprivate(struct lwp *, void *, register_t *);
int netbsd32__lwp_kill(struct lwp *, void *, register_t *);
int netbsd32__lwp_detach(struct lwp *, void *, register_t *);
int netbsd32__lwp_park(struct lwp *, void *, register_t *);
int netbsd32__lwp_unpark(struct lwp *, void *, register_t *);
int netbsd32__lwp_unpark_all(struct lwp *, void *, register_t *);
int netbsd32___sigaction_sigtramp(struct lwp *, void *, register_t *);
int netbsd32_rasctl(struct lwp *, void *, register_t *);
@ -2272,6 +2308,8 @@ int sys_kqueue(struct lwp *, void *, register_t *);
int netbsd32_kevent(struct lwp *, void *, register_t *);
int sys_sched_yield(struct lwp *, void *, register_t *);
int netbsd32_fsync_range(struct lwp *, void *, register_t *);
int netbsd32_uuidgen(struct lwp *, void *, register_t *);

View File

@ -1,14 +1,14 @@
/* $NetBSD: netbsd32_syscalls.c,v 1.62 2007/02/09 21:55:22 ad Exp $ */
/* $NetBSD: netbsd32_syscalls.c,v 1.63 2007/02/18 15:00:14 cube Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.53.2.1 2006/11/18 21:39:14 ad Exp
* created from NetBSD: syscalls.master,v 1.56 2007/02/18 09:03:55 cube Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.62 2007/02/09 21:55:22 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.63 2007/02/18 15:00:14 cube Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@ -440,11 +440,11 @@ const char *const netbsd32_syscallnames[] = {
"netbsd32__lwp_wakeup", /* 315 = netbsd32__lwp_wakeup */
"_lwp_getprivate", /* 316 = _lwp_getprivate */
"netbsd32__lwp_setprivate", /* 317 = netbsd32__lwp_setprivate */
"#318 (unimplemented)", /* 318 = unimplemented */
"#319 (unimplemented)", /* 319 = unimplemented */
"#320 (unimplemented)", /* 320 = unimplemented */
"#321 (unimplemented)", /* 321 = unimplemented */
"#322 (unimplemented)", /* 322 = unimplemented */
"netbsd32__lwp_kill", /* 318 = netbsd32__lwp_kill */
"netbsd32__lwp_detach", /* 319 = netbsd32__lwp_detach */
"netbsd32__lwp_park", /* 320 = netbsd32__lwp_park */
"netbsd32__lwp_unpark", /* 321 = netbsd32__lwp_unpark */
"netbsd32__lwp_unpark_all", /* 322 = netbsd32__lwp_unpark_all */
"#323 (unimplemented)", /* 323 = unimplemented */
"#324 (unimplemented)", /* 324 = unimplemented */
"#325 (unimplemented)", /* 325 = unimplemented */
@ -472,7 +472,7 @@ const char *const netbsd32_syscallnames[] = {
"#347 (unimplemented)", /* 347 = unimplemented */
"#348 (unimplemented)", /* 348 = unimplemented */
"#349 (unimplemented)", /* 349 = unimplemented */
"#350 (unimplemented)", /* 350 = unimplemented */
"sched_yield", /* 350 = sched_yield */
"#351 (unimplemented)", /* 351 = unimplemented */
"#352 (unimplemented)", /* 352 = unimplemented */
"#353 (unimplemented)", /* 353 = unimplemented */

View File

@ -1,14 +1,14 @@
/* $NetBSD: netbsd32_sysent.c,v 1.62 2007/02/09 21:55:22 ad Exp $ */
/* $NetBSD: netbsd32_sysent.c,v 1.63 2007/02/18 15:00:14 cube Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.53.2.1 2006/11/18 21:39:14 ad Exp
* created from NetBSD: syscalls.master,v 1.56 2007/02/18 09:03:55 cube Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: netbsd32_sysent.c,v 1.62 2007/02/09 21:55:22 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: netbsd32_sysent.c,v 1.63 2007/02/18 15:00:14 cube Exp $");
#if defined(_KERNEL_OPT)
#include "opt_ktrace.h"
@ -869,16 +869,16 @@ struct sysent netbsd32_sysent[] = {
sys__lwp_getprivate }, /* 316 = _lwp_getprivate */
{ 1, s(struct netbsd32__lwp_setprivate_args), 0,
netbsd32__lwp_setprivate }, /* 317 = netbsd32__lwp_setprivate */
{ 0, 0, 0,
sys_nosys }, /* 318 = unimplemented */
{ 0, 0, 0,
sys_nosys }, /* 319 = unimplemented */
{ 0, 0, 0,
sys_nosys }, /* 320 = unimplemented */
{ 0, 0, 0,
sys_nosys }, /* 321 = unimplemented */
{ 0, 0, 0,
sys_nosys }, /* 322 = unimplemented */
{ 2, s(struct netbsd32__lwp_kill_args), 0,
netbsd32__lwp_kill }, /* 318 = netbsd32__lwp_kill */
{ 1, s(struct netbsd32__lwp_detach_args), 0,
netbsd32__lwp_detach }, /* 319 = netbsd32__lwp_detach */
{ 3, s(struct netbsd32__lwp_park_args), 0,
netbsd32__lwp_park }, /* 320 = netbsd32__lwp_park */
{ 2, s(struct netbsd32__lwp_unpark_args), 0,
netbsd32__lwp_unpark }, /* 321 = netbsd32__lwp_unpark */
{ 3, s(struct netbsd32__lwp_unpark_all_args), 0,
netbsd32__lwp_unpark_all }, /* 322 = netbsd32__lwp_unpark_all */
{ 0, 0, 0,
sys_nosys }, /* 323 = unimplemented */
{ 0, 0, 0,
@ -933,8 +933,8 @@ struct sysent netbsd32_sysent[] = {
sys_nosys }, /* 348 = unimplemented */
{ 0, 0, 0,
sys_nosys }, /* 349 = unimplemented */
{ 0, 0, 0,
sys_nosys }, /* 350 = unimplemented */
{ 0, 0, SYCALL_MPSAFE | 0,
sys_sched_yield }, /* 350 = sched_yield */
{ 0, 0, 0,
sys_nosys }, /* 351 = unimplemented */
{ 0, 0, 0,