Kill register declarations.
This commit is contained in:
parent
8c9b24b9ca
commit
a82aeb5508
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: coda_psdev.c,v 1.12 1999/10/17 23:39:15 cgd Exp $ */
|
||||
/* $NetBSD: coda_psdev.c,v 1.13 2000/03/30 11:24:16 augustss Exp $ */
|
||||
|
||||
/*
|
||||
*
|
||||
@ -123,7 +123,7 @@ vc_nb_open(dev, flag, mode, p)
|
||||
int mode;
|
||||
struct proc *p; /* NetBSD only */
|
||||
{
|
||||
register struct vcomm *vcp;
|
||||
struct vcomm *vcp;
|
||||
|
||||
ENTRY;
|
||||
|
||||
@ -155,8 +155,8 @@ vc_nb_close (dev, flag, mode, p)
|
||||
int mode;
|
||||
struct proc *p;
|
||||
{
|
||||
register struct vcomm *vcp;
|
||||
register struct vmsg *vmp, *nvmp = NULL;
|
||||
struct vcomm *vcp;
|
||||
struct vmsg *vmp, *nvmp = NULL;
|
||||
struct coda_mntinfo *mi;
|
||||
int err;
|
||||
|
||||
@ -239,8 +239,8 @@ vc_nb_read(dev, uiop, flag)
|
||||
struct uio *uiop;
|
||||
int flag;
|
||||
{
|
||||
register struct vcomm * vcp;
|
||||
register struct vmsg *vmp;
|
||||
struct vcomm * vcp;
|
||||
struct vmsg *vmp;
|
||||
int error = 0;
|
||||
|
||||
ENTRY;
|
||||
@ -293,8 +293,8 @@ vc_nb_write(dev, uiop, flag)
|
||||
struct uio *uiop;
|
||||
int flag;
|
||||
{
|
||||
register struct vcomm * vcp;
|
||||
register struct vmsg *vmp;
|
||||
struct vcomm * vcp;
|
||||
struct vmsg *vmp;
|
||||
struct coda_out_hdr *out;
|
||||
u_long seq;
|
||||
u_long opcode;
|
||||
@ -447,7 +447,7 @@ vc_nb_poll(dev, events, p)
|
||||
int events;
|
||||
struct proc *p;
|
||||
{
|
||||
register struct vcomm *vcp;
|
||||
struct vcomm *vcp;
|
||||
int event_msk = 0;
|
||||
|
||||
ENTRY;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: coda_subr.c,v 1.8 1999/10/17 23:39:15 cgd Exp $ */
|
||||
/* $NetBSD: coda_subr.c,v 1.9 2000/03/30 11:24:16 augustss Exp $ */
|
||||
|
||||
/*
|
||||
*
|
||||
@ -117,7 +117,7 @@ coda_alloc(void)
|
||||
*/
|
||||
void
|
||||
coda_free(cp)
|
||||
register struct cnode *cp;
|
||||
struct cnode *cp;
|
||||
{
|
||||
|
||||
CNODE_NEXT(cp) = coda_freelist;
|
||||
@ -316,7 +316,7 @@ void
|
||||
coda_checkunmounting(mp)
|
||||
struct mount *mp;
|
||||
{
|
||||
register struct vnode *vp, *nvp;
|
||||
struct vnode *vp, *nvp;
|
||||
struct cnode *cp;
|
||||
int count = 0, bad = 0;
|
||||
loop:
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: coda_vfsops.c,v 1.9 2000/03/16 18:08:21 jdolecek Exp $ */
|
||||
/* $NetBSD: coda_vfsops.c,v 1.10 2000/03/30 11:24:17 augustss Exp $ */
|
||||
|
||||
/*
|
||||
*
|
||||
@ -123,7 +123,7 @@ struct vfsops coda_vfsops = {
|
||||
int
|
||||
coda_vfsopstats_init(void)
|
||||
{
|
||||
register int i;
|
||||
int i;
|
||||
|
||||
for (i=0;i<CODA_VFSOPS_SIZE;i++) {
|
||||
coda_vfsopstats[i].opcode = i;
|
||||
@ -415,7 +415,7 @@ coda_quotactl(vfsp, cmd, uid, arg, p)
|
||||
*/
|
||||
int
|
||||
coda_nb_statfs(vfsp, sbp, p)
|
||||
register struct mount *vfsp;
|
||||
struct mount *vfsp;
|
||||
struct statfs *sbp;
|
||||
struct proc *p;
|
||||
{
|
||||
@ -482,7 +482,7 @@ coda_vget(vfsp, ino, vpp)
|
||||
*/
|
||||
int
|
||||
coda_fhtovp(vfsp, fhp, nam, vpp, exflagsp, creadanonp)
|
||||
register struct mount *vfsp;
|
||||
struct mount *vfsp;
|
||||
struct fid *fhp;
|
||||
struct mbuf *nam;
|
||||
struct vnode **vpp;
|
||||
|
@ -6,7 +6,7 @@ mkdir
|
||||
rmdir
|
||||
symlink
|
||||
*/
|
||||
/* $NetBSD: coda_vnops.c,v 1.16 1999/10/31 15:49:27 chs Exp $ */
|
||||
/* $NetBSD: coda_vnops.c,v 1.17 2000/03/30 11:24:17 augustss Exp $ */
|
||||
|
||||
/*
|
||||
*
|
||||
@ -195,7 +195,7 @@ coda_vop_nop(void *anon) {
|
||||
int
|
||||
coda_vnodeopstats_init(void)
|
||||
{
|
||||
register int i;
|
||||
int i;
|
||||
|
||||
for(i=0;i<CODA_VNODEOPS_SIZE;i++) {
|
||||
coda_vnodeopstats[i].opcode = i;
|
||||
@ -224,7 +224,7 @@ coda_open(v)
|
||||
*/
|
||||
/* true args */
|
||||
struct vop_open_args *ap = v;
|
||||
register struct vnode **vpp = &(ap->a_vp);
|
||||
struct vnode **vpp = &(ap->a_vp);
|
||||
struct cnode *cp = VTOC(*vpp);
|
||||
int flag = ap->a_mode & (~O_EXCL);
|
||||
struct ucred *cred = ap->a_cred;
|
||||
@ -628,9 +628,9 @@ coda_setattr(v)
|
||||
{
|
||||
/* true args */
|
||||
struct vop_setattr_args *ap = v;
|
||||
register struct vnode *vp = ap->a_vp;
|
||||
struct vnode *vp = ap->a_vp;
|
||||
struct cnode *cp = VTOC(vp);
|
||||
register struct vattr *vap = ap->a_vap;
|
||||
struct vattr *vap = ap->a_vap;
|
||||
struct ucred *cred = ap->a_cred;
|
||||
struct proc *p = ap->a_p;
|
||||
/* locals */
|
||||
@ -1431,7 +1431,7 @@ coda_mkdir(v)
|
||||
struct vnode *dvp = ap->a_dvp;
|
||||
struct cnode *dcp = VTOC(dvp);
|
||||
struct componentname *cnp = ap->a_cnp;
|
||||
register struct vattr *va = ap->a_vap;
|
||||
struct vattr *va = ap->a_vap;
|
||||
struct vnode **vpp = ap->a_vpp;
|
||||
struct ucred *cred = cnp->cn_cred;
|
||||
struct proc *p = cnp->cn_proc;
|
||||
@ -1690,7 +1690,7 @@ coda_readdir(v)
|
||||
struct vop_readdir_args *ap = v;
|
||||
struct vnode *vp = ap->a_vp;
|
||||
struct cnode *cp = VTOC(vp);
|
||||
register struct uio *uiop = ap->a_uio;
|
||||
struct uio *uiop = ap->a_uio;
|
||||
struct ucred *cred = ap->a_cred;
|
||||
int *eofflag = ap->a_eofflag;
|
||||
off_t **cookies = ap->a_cookies;
|
||||
@ -1778,7 +1778,7 @@ coda_strategy(v)
|
||||
{
|
||||
/* true args */
|
||||
struct vop_strategy_args *ap = v;
|
||||
register struct buf *bp __attribute__((unused)) = ap->a_bp;
|
||||
struct buf *bp __attribute__((unused)) = ap->a_bp;
|
||||
struct proc *p __attribute__((unused)) = curproc;
|
||||
/* upcall decl */
|
||||
/* locals */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: kern_info_43.c,v 1.10 2000/03/28 23:57:31 simonb Exp $ */
|
||||
/* $NetBSD: kern_info_43.c,v 1.11 2000/03/30 11:27:14 augustss Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1982, 1986, 1991, 1993
|
||||
@ -152,7 +152,7 @@ compat_43_sys_getkerninfo(p, v, retval)
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
register struct compat_43_sys_getkerninfo_args /* {
|
||||
struct compat_43_sys_getkerninfo_args /* {
|
||||
syscallarg(int) op;
|
||||
syscallarg(char *) where;
|
||||
syscallarg(int *) size;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: kern_resource_43.c,v 1.6 1999/09/28 14:47:00 bouyer Exp $ */
|
||||
/* $NetBSD: kern_resource_43.c,v 1.7 2000/03/30 11:27:14 augustss Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1982, 1986, 1991, 1993
|
||||
@ -60,7 +60,7 @@ compat_43_sys_getrlimit(p, v, retval)
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
register struct compat_43_sys_getrlimit_args /* {
|
||||
struct compat_43_sys_getrlimit_args /* {
|
||||
syscallarg(int) which;
|
||||
syscallarg(struct orlimit *) rlp;
|
||||
} */ *uap = v;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: kern_sig_13.c,v 1.4 1998/09/13 01:41:16 thorpej Exp $ */
|
||||
/* $NetBSD: kern_sig_13.c,v 1.5 2000/03/30 11:27:14 augustss Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
@ -183,7 +183,7 @@ compat_13_sys_sigaction(p, v, retval)
|
||||
|
||||
int
|
||||
compat_13_sys_sigprocmask(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -222,7 +222,7 @@ compat_13_sys_sigpending(p, v, retval)
|
||||
|
||||
int
|
||||
compat_13_sys_sigsuspend(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: kern_sig_43.c,v 1.11 1999/04/29 16:09:12 christos Exp $ */
|
||||
/* $NetBSD: kern_sig_43.c,v 1.12 2000/03/30 11:27:14 augustss Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
@ -139,7 +139,7 @@ compat_43_sigaltstack_to_sigstack(sa, ss)
|
||||
|
||||
int
|
||||
compat_43_sys_sigblock(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -190,7 +190,7 @@ compat_43_sys_sigstack(p, v, retval)
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
register struct compat_43_sys_sigstack_args /* {
|
||||
struct compat_43_sys_sigstack_args /* {
|
||||
syscallarg(struct sigstack *) nss;
|
||||
syscallarg(struct sigstack *) oss;
|
||||
} */ *uap = v;
|
||||
@ -227,7 +227,7 @@ compat_43_sys_sigvec(p, v, retval)
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
register struct compat_43_sys_sigvec_args /* {
|
||||
struct compat_43_sys_sigvec_args /* {
|
||||
syscallarg(int) signum;
|
||||
syscallarg(const struct sigvec *) nsv;
|
||||
syscallarg(struct sigvec *) osv;
|
||||
@ -263,7 +263,7 @@ compat_43_sys_killpg(p, v, retval)
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
register struct compat_43_sys_killpg_args /* {
|
||||
struct compat_43_sys_killpg_args /* {
|
||||
syscallarg(int) pgid;
|
||||
syscallarg(int) signum;
|
||||
} */ *uap = v;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: tty_43.c,v 1.9 2000/03/29 03:43:31 simonb Exp $ */
|
||||
/* $NetBSD: tty_43.c,v 1.10 2000/03/30 11:27:14 augustss Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1982, 1986, 1991, 1993
|
||||
@ -95,7 +95,7 @@ void ttcompatsetlflags __P((struct tty *, struct termios *));
|
||||
/*ARGSUSED*/
|
||||
int
|
||||
ttcompat(tp, com, data, flag, p)
|
||||
register struct tty *tp;
|
||||
struct tty *tp;
|
||||
u_long com;
|
||||
caddr_t data;
|
||||
int flag;
|
||||
@ -104,9 +104,9 @@ ttcompat(tp, com, data, flag, p)
|
||||
|
||||
switch (com) {
|
||||
case TIOCGETP: {
|
||||
register struct sgttyb *sg = (struct sgttyb *)data;
|
||||
register u_char *cc = tp->t_cc;
|
||||
register int speed;
|
||||
struct sgttyb *sg = (struct sgttyb *)data;
|
||||
u_char *cc = tp->t_cc;
|
||||
int speed;
|
||||
|
||||
speed = ttspeedtab(tp->t_ospeed, compatspeeds);
|
||||
sg->sg_ospeed = (speed == -1) ? MAX_SPEED : speed;
|
||||
@ -124,7 +124,7 @@ ttcompat(tp, com, data, flag, p)
|
||||
|
||||
case TIOCSETP:
|
||||
case TIOCSETN: {
|
||||
register struct sgttyb *sg = (struct sgttyb *)data;
|
||||
struct sgttyb *sg = (struct sgttyb *)data;
|
||||
struct termios term;
|
||||
int speed;
|
||||
|
||||
@ -147,7 +147,7 @@ ttcompat(tp, com, data, flag, p)
|
||||
|
||||
case TIOCGETC: {
|
||||
struct tchars *tc = (struct tchars *)data;
|
||||
register u_char *cc = tp->t_cc;
|
||||
u_char *cc = tp->t_cc;
|
||||
|
||||
tc->t_intrc = cc[VINTR];
|
||||
tc->t_quitc = cc[VQUIT];
|
||||
@ -159,7 +159,7 @@ ttcompat(tp, com, data, flag, p)
|
||||
}
|
||||
case TIOCSETC: {
|
||||
struct tchars *tc = (struct tchars *)data;
|
||||
register u_char *cc = tp->t_cc;
|
||||
u_char *cc = tp->t_cc;
|
||||
|
||||
cc[VINTR] = tc->t_intrc;
|
||||
cc[VQUIT] = tc->t_quitc;
|
||||
@ -173,7 +173,7 @@ ttcompat(tp, com, data, flag, p)
|
||||
}
|
||||
case TIOCSLTC: {
|
||||
struct ltchars *ltc = (struct ltchars *)data;
|
||||
register u_char *cc = tp->t_cc;
|
||||
u_char *cc = tp->t_cc;
|
||||
|
||||
cc[VSUSP] = ltc->t_suspc;
|
||||
cc[VDSUSP] = ltc->t_dsuspc;
|
||||
@ -185,7 +185,7 @@ ttcompat(tp, com, data, flag, p)
|
||||
}
|
||||
case TIOCGLTC: {
|
||||
struct ltchars *ltc = (struct ltchars *)data;
|
||||
register u_char *cc = tp->t_cc;
|
||||
u_char *cc = tp->t_cc;
|
||||
|
||||
ltc->t_suspc = cc[VSUSP];
|
||||
ltc->t_dsuspc = cc[VDSUSP];
|
||||
@ -261,13 +261,13 @@ ttcompat(tp, com, data, flag, p)
|
||||
|
||||
int
|
||||
ttcompatgetflags(tp)
|
||||
register struct tty *tp;
|
||||
struct tty *tp;
|
||||
{
|
||||
register tcflag_t iflag = tp->t_iflag;
|
||||
register tcflag_t lflag = tp->t_lflag;
|
||||
register tcflag_t oflag = tp->t_oflag;
|
||||
register tcflag_t cflag = tp->t_cflag;
|
||||
register int flags = 0;
|
||||
tcflag_t iflag = tp->t_iflag;
|
||||
tcflag_t lflag = tp->t_lflag;
|
||||
tcflag_t oflag = tp->t_oflag;
|
||||
tcflag_t cflag = tp->t_cflag;
|
||||
int flags = 0;
|
||||
|
||||
if (ISSET(iflag, IXOFF))
|
||||
SET(flags, TANDEM);
|
||||
@ -325,14 +325,14 @@ ttcompatgetflags(tp)
|
||||
|
||||
void
|
||||
ttcompatsetflags(tp, t)
|
||||
register struct tty *tp;
|
||||
register struct termios *t;
|
||||
struct tty *tp;
|
||||
struct termios *t;
|
||||
{
|
||||
register int flags = tp->t_flags;
|
||||
register tcflag_t iflag = t->c_iflag;
|
||||
register tcflag_t oflag = t->c_oflag;
|
||||
register tcflag_t lflag = t->c_lflag;
|
||||
register tcflag_t cflag = t->c_cflag;
|
||||
int flags = tp->t_flags;
|
||||
tcflag_t iflag = t->c_iflag;
|
||||
tcflag_t oflag = t->c_oflag;
|
||||
tcflag_t lflag = t->c_lflag;
|
||||
tcflag_t cflag = t->c_cflag;
|
||||
|
||||
if (ISSET(flags, TANDEM))
|
||||
SET(iflag, IXOFF);
|
||||
@ -413,14 +413,14 @@ ttcompatsetflags(tp, t)
|
||||
|
||||
void
|
||||
ttcompatsetlflags(tp, t)
|
||||
register struct tty *tp;
|
||||
register struct termios *t;
|
||||
struct tty *tp;
|
||||
struct termios *t;
|
||||
{
|
||||
register int flags = tp->t_flags;
|
||||
register tcflag_t iflag = t->c_iflag;
|
||||
register tcflag_t oflag = t->c_oflag;
|
||||
register tcflag_t lflag = t->c_lflag;
|
||||
register tcflag_t cflag = t->c_cflag;
|
||||
int flags = tp->t_flags;
|
||||
tcflag_t iflag = t->c_iflag;
|
||||
tcflag_t oflag = t->c_oflag;
|
||||
tcflag_t lflag = t->c_lflag;
|
||||
tcflag_t cflag = t->c_cflag;
|
||||
|
||||
/* Nothing we can do with CRTBS. */
|
||||
if (ISSET(flags, PRTERA))
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: uipc_syscalls_43.c,v 1.10 1998/12/18 13:18:43 drochner Exp $ */
|
||||
/* $NetBSD: uipc_syscalls_43.c,v 1.11 2000/03/30 11:27:15 augustss Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1982, 1986, 1989, 1990, 1993
|
||||
@ -149,7 +149,7 @@ compat_43_sys_recv(p, v, retval)
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
register struct compat_43_sys_recv_args /* {
|
||||
struct compat_43_sys_recv_args /* {
|
||||
syscallarg(int) s;
|
||||
syscallarg(caddr_t) buf;
|
||||
syscallarg(int) len;
|
||||
@ -199,7 +199,7 @@ compat_43_sys_recvmsg(p, v, retval)
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
register struct compat_43_sys_recvmsg_args /* {
|
||||
struct compat_43_sys_recvmsg_args /* {
|
||||
syscallarg(int) s;
|
||||
syscallarg(struct omsghdr *) msg;
|
||||
syscallarg(int) flags;
|
||||
@ -244,7 +244,7 @@ compat_43_sys_send(p, v, retval)
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
register struct compat_43_sys_send_args /* {
|
||||
struct compat_43_sys_send_args /* {
|
||||
syscallarg(int) s;
|
||||
syscallarg(caddr_t) buf;
|
||||
syscallarg(int) len;
|
||||
@ -270,7 +270,7 @@ compat_43_sys_sendmsg(p, v, retval)
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
register struct compat_43_sys_sendmsg_args /* {
|
||||
struct compat_43_sys_sendmsg_args /* {
|
||||
syscallarg(int) s;
|
||||
syscallarg(caddr_t) msg;
|
||||
syscallarg(int) flags;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: vfs_syscalls_12.c,v 1.5 1999/05/05 20:01:01 thorpej Exp $ */
|
||||
/* $NetBSD: vfs_syscalls_12.c,v 1.6 2000/03/30 11:27:15 augustss Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1989, 1993
|
||||
@ -97,7 +97,7 @@ compat_12_sys_getdirentries(p, v, retval)
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
register struct compat_12_sys_getdirentries_args /* {
|
||||
struct compat_12_sys_getdirentries_args /* {
|
||||
syscallarg(int) fd;
|
||||
syscallarg(char *) buf;
|
||||
syscallarg(u_int) count;
|
||||
@ -137,7 +137,7 @@ compat_12_sys_stat(p, v, retval)
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
register struct compat_12_sys_stat_args /* {
|
||||
struct compat_12_sys_stat_args /* {
|
||||
syscallarg(const char *) path;
|
||||
syscallarg(struct stat12 *) ub;
|
||||
} */ *uap = v;
|
||||
@ -170,7 +170,7 @@ compat_12_sys_lstat(p, v, retval)
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
register struct compat_12_sys_lstat_args /* {
|
||||
struct compat_12_sys_lstat_args /* {
|
||||
syscallarg(const char *) path;
|
||||
syscallarg(struct stat12 *) ub;
|
||||
} */ *uap = v;
|
||||
@ -202,13 +202,13 @@ compat_12_sys_fstat(p, v, retval)
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
register struct compat_12_sys_fstat_args /* {
|
||||
struct compat_12_sys_fstat_args /* {
|
||||
syscallarg(int) fd;
|
||||
syscallarg(struct stat12 *) sb;
|
||||
} */ *uap = v;
|
||||
int fd = SCARG(uap, fd);
|
||||
register struct filedesc *fdp = p->p_fd;
|
||||
register struct file *fp;
|
||||
struct filedesc *fdp = p->p_fd;
|
||||
struct file *fp;
|
||||
struct stat ub;
|
||||
struct stat12 oub;
|
||||
int error;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: vfs_syscalls_43.c,v 1.12 1999/05/05 20:01:01 thorpej Exp $ */
|
||||
/* $NetBSD: vfs_syscalls_43.c,v 1.13 2000/03/30 11:27:15 augustss Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1989, 1993
|
||||
@ -105,7 +105,7 @@ compat_43_sys_stat(p, v, retval)
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
register struct compat_43_sys_stat_args /* {
|
||||
struct compat_43_sys_stat_args /* {
|
||||
syscallarg(char *) path;
|
||||
syscallarg(struct stat43 *) ub;
|
||||
} */ *uap = v;
|
||||
@ -137,7 +137,7 @@ compat_43_sys_lstat(p, v, retval)
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
register struct compat_43_sys_lstat_args /* {
|
||||
struct compat_43_sys_lstat_args /* {
|
||||
syscallarg(char *) path;
|
||||
syscallarg(struct ostat *) ub;
|
||||
} */ *uap = v;
|
||||
@ -198,13 +198,13 @@ compat_43_sys_fstat(p, v, retval)
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
register struct compat_43_sys_fstat_args /* {
|
||||
struct compat_43_sys_fstat_args /* {
|
||||
syscallarg(int) fd;
|
||||
syscallarg(struct stat43 *) sb;
|
||||
} */ *uap = v;
|
||||
int fd = SCARG(uap, fd);
|
||||
register struct filedesc *fdp = p->p_fd;
|
||||
register struct file *fp;
|
||||
struct filedesc *fdp = p->p_fd;
|
||||
struct file *fp;
|
||||
struct stat ub;
|
||||
struct stat43 oub;
|
||||
int error;
|
||||
@ -244,7 +244,7 @@ compat_43_sys_ftruncate(p, v, retval)
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
register struct compat_43_sys_ftruncate_args /* {
|
||||
struct compat_43_sys_ftruncate_args /* {
|
||||
syscallarg(int) fd;
|
||||
syscallarg(long) length;
|
||||
} */ *uap = v;
|
||||
@ -269,7 +269,7 @@ compat_43_sys_truncate(p, v, retval)
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
register struct compat_43_sys_truncate_args /* {
|
||||
struct compat_43_sys_truncate_args /* {
|
||||
syscallarg(char *) path;
|
||||
syscallarg(long) length;
|
||||
} */ *uap = v;
|
||||
@ -294,7 +294,7 @@ compat_43_sys_lseek(p, v, retval)
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
register struct compat_43_sys_lseek_args /* {
|
||||
struct compat_43_sys_lseek_args /* {
|
||||
syscallarg(int) fd;
|
||||
syscallarg(long) offset;
|
||||
syscallarg(int) whence;
|
||||
@ -326,7 +326,7 @@ compat_43_sys_creat(p, v, retval)
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
register struct compat_43_sys_creat_args /* {
|
||||
struct compat_43_sys_creat_args /* {
|
||||
syscallarg(char *) path;
|
||||
syscallarg(int) mode;
|
||||
} */ *uap = v;
|
||||
@ -363,13 +363,13 @@ compat_43_sys_getdirentries(p, v, retval)
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
register struct compat_43_sys_getdirentries_args /* {
|
||||
struct compat_43_sys_getdirentries_args /* {
|
||||
syscallarg(int) fd;
|
||||
syscallarg(char *) buf;
|
||||
syscallarg(u_int) count;
|
||||
syscallarg(long *) basep;
|
||||
} */ *uap = v;
|
||||
register struct vnode *vp;
|
||||
struct vnode *vp;
|
||||
struct file *fp;
|
||||
struct uio auio, kuio;
|
||||
struct iovec aiov, kiov;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: vm_43.c,v 1.3 2000/03/29 03:43:31 simonb Exp $ */
|
||||
/* $NetBSD: vm_43.c,v 1.4 2000/03/30 11:27:15 augustss Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988 University of Utah.
|
||||
@ -81,7 +81,7 @@ compat_43_sys_mmap(p, v, retval)
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
register struct compat_43_sys_mmap_args /* {
|
||||
struct compat_43_sys_mmap_args /* {
|
||||
syscallarg(caddr_t) addr;
|
||||
syscallarg(size_t) len;
|
||||
syscallarg(int) prot;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ibcs2_fcntl.c,v 1.8 1997/05/08 16:19:52 mycroft Exp $ */
|
||||
/* $NetBSD: ibcs2_fcntl.c,v 1.9 2000/03/30 11:27:16 augustss Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995 Scott Bartram
|
||||
@ -237,12 +237,12 @@ ibcs2_sys_eaccess(p, v, retval)
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
register struct ibcs2_sys_eaccess_args /* {
|
||||
struct ibcs2_sys_eaccess_args /* {
|
||||
syscallarg(char *) path;
|
||||
syscallarg(int) flags;
|
||||
} */ *uap = v;
|
||||
register struct ucred *cred = p->p_ucred;
|
||||
register struct vnode *vp;
|
||||
struct ucred *cred = p->p_ucred;
|
||||
struct vnode *vp;
|
||||
int error, flags;
|
||||
struct nameidata nd;
|
||||
caddr_t sg = stackgap_init(p->p_emul);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ibcs2_ioctl.c,v 1.17 1999/01/14 15:00:38 jtk Exp $ */
|
||||
/* $NetBSD: ibcs2_ioctl.c,v 1.18 2000/03/30 11:27:16 augustss Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994, 1995 Scott Bartram
|
||||
@ -121,7 +121,7 @@ stios2btios(st, bt)
|
||||
struct ibcs2_termios *st;
|
||||
struct termios *bt;
|
||||
{
|
||||
register u_long l, r;
|
||||
u_long l, r;
|
||||
|
||||
l = st->c_iflag; r = 0;
|
||||
if (l & IBCS2_IGNBRK) r |= IGNBRK;
|
||||
@ -214,7 +214,7 @@ btios2stios(bt, st)
|
||||
struct termios *bt;
|
||||
struct ibcs2_termios *st;
|
||||
{
|
||||
register u_long l, r;
|
||||
u_long l, r;
|
||||
|
||||
l = bt->c_iflag; r = 0;
|
||||
if (l & IGNBRK) r |= IBCS2_IGNBRK;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ibcs2_misc.c,v 1.46 2000/03/28 23:57:32 simonb Exp $ */
|
||||
/* $NetBSD: ibcs2_misc.c,v 1.47 2000/03/30 11:27:16 augustss Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994, 1995, 1998 Scott Bartram
|
||||
@ -355,12 +355,12 @@ ibcs2_sys_getdents(p, v, retval)
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
register struct ibcs2_sys_getdents_args /* {
|
||||
struct ibcs2_sys_getdents_args /* {
|
||||
syscallarg(int) fd;
|
||||
syscallarg(char *) buf;
|
||||
syscallarg(int) nbytes;
|
||||
} */ *uap = v;
|
||||
register struct dirent *bdp;
|
||||
struct dirent *bdp;
|
||||
struct vnode *vp;
|
||||
caddr_t inp, buf; /* BSD-format */
|
||||
int len, reclen; /* BSD-format */
|
||||
@ -483,7 +483,7 @@ ibcs2_sys_read(p, v, retval)
|
||||
syscallarg(char *) buf;
|
||||
syscallarg(u_int) nbytes;
|
||||
} */ *uap = v;
|
||||
register struct dirent *bdp;
|
||||
struct dirent *bdp;
|
||||
struct vnode *vp;
|
||||
caddr_t inp, buf; /* BSD-format */
|
||||
int len, reclen; /* BSD-format */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ibcs2_signal.c,v 1.10 1998/09/11 12:50:08 mycroft Exp $ */
|
||||
/* $NetBSD: ibcs2_signal.c,v 1.11 2000/03/30 11:27:16 augustss Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995 Scott Bartram
|
||||
@ -243,7 +243,7 @@ native_to_ibcs2_sigaltstack(bss, sss)
|
||||
|
||||
int
|
||||
ibcs2_sys_sigaction(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -277,7 +277,7 @@ ibcs2_sys_sigaction(p, v, retval)
|
||||
|
||||
int
|
||||
ibcs2_sys_sigaltstack(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -310,7 +310,7 @@ ibcs2_sys_sigaltstack(p, v, retval)
|
||||
|
||||
int
|
||||
ibcs2_sys_sigsys(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -371,7 +371,7 @@ ibcs2_sys_sigsys(p, v, retval)
|
||||
|
||||
int
|
||||
ibcs2_sys_sigprocmask(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -420,7 +420,7 @@ ibcs2_sys_sigprocmask(p, v, retval)
|
||||
|
||||
int
|
||||
ibcs2_sys_sigpending(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -437,7 +437,7 @@ ibcs2_sys_sigpending(p, v, retval)
|
||||
|
||||
int
|
||||
ibcs2_sys_sigsuspend(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -460,7 +460,7 @@ ibcs2_sys_sigsuspend(p, v, retval)
|
||||
|
||||
int
|
||||
ibcs2_sys_pause(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -470,7 +470,7 @@ ibcs2_sys_pause(p, v, retval)
|
||||
|
||||
int
|
||||
ibcs2_sys_kill(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ibcs2_socksys.c,v 1.7 1996/10/13 00:46:51 christos Exp $ */
|
||||
/* $NetBSD: ibcs2_socksys.c,v 1.8 2000/03/30 11:27:16 augustss Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994, 1995 Scott Bartram
|
||||
@ -56,11 +56,11 @@ struct ibcs2_socksys_args {
|
||||
|
||||
int
|
||||
ibcs2_socksys(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
register struct ibcs2_socksys_args *uap = v;
|
||||
struct ibcs2_socksys_args *uap = v;
|
||||
int error;
|
||||
int realargs[7]; /* 1 for command, 6 for recvfrom */
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ibcs2_stat.c,v 1.13 2000/03/28 23:57:33 simonb Exp $ */
|
||||
/* $NetBSD: ibcs2_stat.c,v 1.14 2000/03/30 11:27:16 augustss Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1995, 1998 Scott Bartram
|
||||
* All rights reserved.
|
||||
@ -135,8 +135,8 @@ ibcs2_sys_statfs(p, v, retval)
|
||||
syscallarg(int) len;
|
||||
syscallarg(int) fstype;
|
||||
} */ *uap = v;
|
||||
register struct mount *mp;
|
||||
register struct statfs *sp;
|
||||
struct mount *mp;
|
||||
struct statfs *sp;
|
||||
int error;
|
||||
struct nameidata nd;
|
||||
caddr_t sg = stackgap_init(p->p_emul);
|
||||
@ -168,7 +168,7 @@ ibcs2_sys_fstatfs(p, v, retval)
|
||||
} */ *uap = v;
|
||||
struct file *fp;
|
||||
struct mount *mp;
|
||||
register struct statfs *sp;
|
||||
struct statfs *sp;
|
||||
int error;
|
||||
|
||||
/* getvnode() will use the descriptor for us */
|
||||
@ -195,8 +195,8 @@ ibcs2_sys_statvfs(p, v, retval)
|
||||
syscallarg(const char *) path;
|
||||
syscallarg(struct ibcs2_statvfs *) buf;
|
||||
} */ *uap = v;
|
||||
register struct mount *mp;
|
||||
register struct statfs *sp;
|
||||
struct mount *mp;
|
||||
struct statfs *sp;
|
||||
int error;
|
||||
struct nameidata nd;
|
||||
caddr_t sg = stackgap_init(p->p_emul);
|
||||
@ -227,7 +227,7 @@ ibcs2_sys_fstatvfs(p, v, retval)
|
||||
} */ *uap = v;
|
||||
struct file *fp;
|
||||
struct mount *mp;
|
||||
register struct statfs *sp;
|
||||
struct statfs *sp;
|
||||
int error;
|
||||
|
||||
/* getvnode() will use the descriptor for us */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: linux_machdep.c,v 1.8 2000/03/18 23:45:41 erh Exp $ */
|
||||
/* $NetBSD: linux_machdep.c,v 1.9 2000/03/30 11:27:16 augustss Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
@ -107,7 +107,7 @@ void setup_linux_rt_sigframe(tf, sig, mask)
|
||||
int sig;
|
||||
sigset_t *mask;
|
||||
{
|
||||
register struct proc *p = curproc;
|
||||
struct proc *p = curproc;
|
||||
struct linux_rt_sigframe *sfp, sigframe;
|
||||
struct sigacts *psp = p->p_sigacts;
|
||||
int onstack;
|
||||
@ -212,7 +212,7 @@ void setup_linux_sigframe(tf, sig, mask)
|
||||
int sig;
|
||||
sigset_t *mask;
|
||||
{
|
||||
register struct proc *p = curproc;
|
||||
struct proc *p = curproc;
|
||||
struct linux_sigframe *sfp, sigframe;
|
||||
struct sigacts *psp = p->p_sigacts;
|
||||
int onstack;
|
||||
@ -312,8 +312,8 @@ linux_sendsig(catcher, sig, mask, code)
|
||||
sigset_t *mask;
|
||||
u_long code;
|
||||
{
|
||||
register struct proc *p = curproc;
|
||||
register struct trapframe *tf = p->p_md.md_tf;
|
||||
struct proc *p = curproc;
|
||||
struct trapframe *tf = p->p_md.md_tf;
|
||||
struct linux_emuldata *edp;
|
||||
|
||||
/* Setup the signal frame (and part of the trapframe) */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: linux_machdep.c,v 1.47 1999/10/04 17:46:37 fvdl Exp $ */
|
||||
/* $NetBSD: linux_machdep.c,v 1.48 2000/03/30 11:27:17 augustss Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1995 The NetBSD Foundation, Inc.
|
||||
@ -116,7 +116,7 @@ linux_setregs(p, epp, stack)
|
||||
struct exec_package *epp;
|
||||
u_long stack;
|
||||
{
|
||||
register struct pcb *pcb = &p->p_addr->u_pcb;
|
||||
struct pcb *pcb = &p->p_addr->u_pcb;
|
||||
|
||||
setregs(p, epp, stack);
|
||||
pcb->pcb_savefpu.sv_env.en_cw = __Linux_NPXCW__;
|
||||
@ -140,8 +140,8 @@ linux_sendsig(catcher, sig, mask, code)
|
||||
sigset_t *mask;
|
||||
u_long code;
|
||||
{
|
||||
register struct proc *p = curproc;
|
||||
register struct trapframe *tf;
|
||||
struct proc *p = curproc;
|
||||
struct trapframe *tf;
|
||||
struct linux_sigframe *fp, frame;
|
||||
struct sigacts *psp = p->p_sigacts;
|
||||
|
||||
@ -247,7 +247,7 @@ linux_sys_sigreturn(p, v, retval)
|
||||
syscallarg(struct linux_sigcontext *) scp;
|
||||
} */ *uap = v;
|
||||
struct linux_sigcontext *scp, context;
|
||||
register struct trapframe *tf;
|
||||
struct trapframe *tf;
|
||||
sigset_t mask;
|
||||
|
||||
/*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: linux_misc.c,v 1.68 2000/03/28 23:57:33 simonb Exp $ */
|
||||
/* $NetBSD: linux_misc.c,v 1.69 2000/03/30 11:27:17 augustss Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1995, 1998, 1999 The NetBSD Foundation, Inc.
|
||||
@ -561,7 +561,7 @@ linux_sys_getdents(p, v, retval)
|
||||
syscallarg(struct linux_dirent *) dent;
|
||||
syscallarg(unsigned int) count;
|
||||
} */ *uap = v;
|
||||
register struct dirent *bdp;
|
||||
struct dirent *bdp;
|
||||
struct vnode *vp;
|
||||
caddr_t inp, buf; /* BSD-format */
|
||||
int len, reclen; /* BSD-format */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: linux_sched.c,v 1.4 1999/12/04 21:58:05 tron Exp $ */
|
||||
/* $NetBSD: linux_sched.c,v 1.5 2000/03/30 11:27:17 augustss Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1999 The NetBSD Foundation, Inc.
|
||||
@ -114,7 +114,7 @@ linux_sys_sched_setparam(cp, v, retval)
|
||||
} */ *uap = v;
|
||||
int error;
|
||||
struct linux_sched_param lp;
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
|
||||
/*
|
||||
* We only check for valid parameters and return afterwards.
|
||||
@ -128,7 +128,7 @@ linux_sys_sched_setparam(cp, v, retval)
|
||||
return error;
|
||||
|
||||
if (SCARG(uap, pid) != 0) {
|
||||
register struct pcred *pc = cp->p_cred;
|
||||
struct pcred *pc = cp->p_cred;
|
||||
|
||||
if ((p = pfind(SCARG(uap, pid))) == NULL)
|
||||
return ESRCH;
|
||||
@ -154,7 +154,7 @@ linux_sys_sched_getparam(cp, v, retval)
|
||||
syscallarg(linux_pid_t) pid;
|
||||
syscallarg(struct linux_sched_param *) sp;
|
||||
} */ *uap = v;
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
struct linux_sched_param lp;
|
||||
|
||||
/*
|
||||
@ -164,7 +164,7 @@ linux_sys_sched_getparam(cp, v, retval)
|
||||
return EINVAL;
|
||||
|
||||
if (SCARG(uap, pid) != 0) {
|
||||
register struct pcred *pc = cp->p_cred;
|
||||
struct pcred *pc = cp->p_cred;
|
||||
|
||||
if ((p = pfind(SCARG(uap, pid))) == NULL)
|
||||
return ESRCH;
|
||||
@ -194,7 +194,7 @@ linux_sys_sched_setscheduler(cp, v, retval)
|
||||
} */ *uap = v;
|
||||
int error;
|
||||
struct linux_sched_param lp;
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
|
||||
/*
|
||||
* We only check for valid parameters and return afterwards.
|
||||
@ -208,7 +208,7 @@ linux_sys_sched_setscheduler(cp, v, retval)
|
||||
return error;
|
||||
|
||||
if (SCARG(uap, pid) != 0) {
|
||||
register struct pcred *pc = cp->p_cred;
|
||||
struct pcred *pc = cp->p_cred;
|
||||
|
||||
if ((p = pfind(SCARG(uap, pid))) == NULL)
|
||||
return ESRCH;
|
||||
@ -239,7 +239,7 @@ linux_sys_sched_getscheduler(cp, v, retval)
|
||||
struct linux_sys_sched_getscheduler_args /* {
|
||||
syscallarg(linux_pid_t) pid;
|
||||
} */ *uap = v;
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
|
||||
*retval = -1;
|
||||
/*
|
||||
@ -247,7 +247,7 @@ linux_sys_sched_getscheduler(cp, v, retval)
|
||||
*/
|
||||
|
||||
if (SCARG(uap, pid) != 0) {
|
||||
register struct pcred *pc = cp->p_cred;
|
||||
struct pcred *pc = cp->p_cred;
|
||||
|
||||
if ((p = pfind(SCARG(uap, pid))) == NULL)
|
||||
return ESRCH;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: linux_sig_notalpha.c,v 1.21 1999/12/04 22:17:43 tron Exp $ */
|
||||
/* $NetBSD: linux_sig_notalpha.c,v 1.22 2000/03/30 11:27:17 augustss Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
|
||||
@ -68,7 +68,7 @@
|
||||
*/
|
||||
int
|
||||
linux_sys_signal(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -98,7 +98,7 @@ linux_sys_signal(p, v, retval)
|
||||
/* ARGSUSED */
|
||||
int
|
||||
linux_sys_siggetmask(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -121,7 +121,7 @@ linux_sys_siggetmask(p, v, retval)
|
||||
*/
|
||||
int
|
||||
linux_sys_sigsetmask(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -144,7 +144,7 @@ linux_sys_sigsetmask(p, v, retval)
|
||||
|
||||
int
|
||||
linux_sys_sigprocmask(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -164,7 +164,7 @@ linux_sys_sigprocmask(p, v, retval)
|
||||
*/
|
||||
int
|
||||
linux_sys_pause(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: linux_sigaction.c,v 1.18 1999/12/04 22:21:12 tron Exp $ */
|
||||
/* $NetBSD: linux_sigaction.c,v 1.19 2000/03/30 11:27:17 augustss Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
|
||||
@ -66,7 +66,7 @@
|
||||
*/
|
||||
int
|
||||
linux_sys_sigaction(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: linux_signal.c,v 1.25 1999/12/04 22:26:52 tron Exp $ */
|
||||
/* $NetBSD: linux_signal.c,v 1.26 2000/03/30 11:27:18 augustss Exp $ */
|
||||
/*-
|
||||
* Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
|
||||
* All rights reserved.
|
||||
@ -318,7 +318,7 @@ native_to_linux_sigaction(bsa, lsa)
|
||||
*/
|
||||
int
|
||||
linux_sys_rt_sigaction(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -359,7 +359,7 @@ linux_sys_rt_sigaction(p, v, retval)
|
||||
|
||||
int
|
||||
linux_sigprocmask1(p, how, set, oset)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
int how;
|
||||
const linux_old_sigset_t *set;
|
||||
linux_old_sigset_t *oset;
|
||||
@ -403,7 +403,7 @@ linux_sigprocmask1(p, how, set, oset)
|
||||
|
||||
int
|
||||
linux_sys_rt_sigprocmask(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -460,7 +460,7 @@ linux_sys_rt_sigprocmask(p, v, retval)
|
||||
|
||||
int
|
||||
linux_sys_rt_sigpending(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -481,7 +481,7 @@ linux_sys_rt_sigpending(p, v, retval)
|
||||
|
||||
int
|
||||
linux_sys_sigpending(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -498,7 +498,7 @@ linux_sys_sigpending(p, v, retval)
|
||||
|
||||
int
|
||||
linux_sys_sigsuspend(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -516,7 +516,7 @@ linux_sys_sigsuspend(p, v, retval)
|
||||
}
|
||||
int
|
||||
linux_sys_rt_sigsuspend(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -546,7 +546,7 @@ linux_sys_rt_sigsuspend(p, v, retval)
|
||||
*/
|
||||
int
|
||||
linux_sys_rt_queueinfo(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -566,7 +566,7 @@ linux_sys_rt_queueinfo(p, v, retval)
|
||||
|
||||
int
|
||||
linux_sys_kill(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: linux_socket.c,v 1.22 2000/01/12 17:19:11 jdolecek Exp $ */
|
||||
/* $NetBSD: linux_socket.c,v 1.23 2000/03/30 11:27:18 augustss Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
|
||||
@ -588,8 +588,8 @@ out:
|
||||
|
||||
int
|
||||
linux_ioctl_socket(p, uap, retval)
|
||||
register struct proc *p;
|
||||
register struct linux_sys_ioctl_args /* {
|
||||
struct proc *p;
|
||||
struct linux_sys_ioctl_args /* {
|
||||
syscallarg(int) fd;
|
||||
syscallarg(u_long) com;
|
||||
syscallarg(caddr_t) data;
|
||||
@ -641,13 +641,13 @@ linux_ioctl_socket(p, uap, retval)
|
||||
|
||||
int
|
||||
linux_sys_connect(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
int error;
|
||||
|
||||
register struct sys_connect_args /* {
|
||||
struct sys_connect_args /* {
|
||||
syscallarg(int) s;
|
||||
syscallarg(const struct sockaddr *) name;
|
||||
syscallarg(unsigned int) namelen;
|
||||
@ -657,7 +657,7 @@ linux_sys_connect(p, v, retval)
|
||||
|
||||
if (error == EISCONN) {
|
||||
struct file *fp;
|
||||
register struct socket *so;
|
||||
struct socket *so;
|
||||
int s, state, prflags;
|
||||
|
||||
/* getsock() will use the descriptor for us */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: linux_termios.c,v 1.6 1998/10/04 00:02:45 fvdl Exp $ */
|
||||
/* $NetBSD: linux_termios.c,v 1.7 2000/03/30 11:27:18 augustss Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
|
||||
@ -89,8 +89,8 @@ static void bsd_termios_to_linux_termios __P((struct termios *,
|
||||
|
||||
static void
|
||||
linux_termio_to_bsd_termios(lt, bts)
|
||||
register struct linux_termio *lt;
|
||||
register struct termios *bts;
|
||||
struct linux_termio *lt;
|
||||
struct termios *bts;
|
||||
{
|
||||
int index;
|
||||
|
||||
@ -172,8 +172,8 @@ linux_termio_to_bsd_termios(lt, bts)
|
||||
|
||||
static void
|
||||
bsd_termios_to_linux_termio(bts, lt)
|
||||
register struct termios *bts;
|
||||
register struct linux_termio *lt;
|
||||
struct termios *bts;
|
||||
struct linux_termio *lt;
|
||||
{
|
||||
int i, mask;
|
||||
|
||||
@ -258,8 +258,8 @@ bsd_termios_to_linux_termio(bts, lt)
|
||||
|
||||
static void
|
||||
linux_termios_to_bsd_termios(lts, bts)
|
||||
register struct linux_termios *lts;
|
||||
register struct termios *bts;
|
||||
struct linux_termios *lts;
|
||||
struct termios *bts;
|
||||
{
|
||||
int index;
|
||||
|
||||
@ -346,8 +346,8 @@ linux_termios_to_bsd_termios(lts, bts)
|
||||
|
||||
static void
|
||||
bsd_termios_to_linux_termios(bts, lts)
|
||||
register struct termios *bts;
|
||||
register struct linux_termios *lts;
|
||||
struct termios *bts;
|
||||
struct linux_termios *lts;
|
||||
{
|
||||
int i, mask;
|
||||
|
||||
@ -445,16 +445,16 @@ bsd_termios_to_linux_termios(bts, lts)
|
||||
|
||||
int
|
||||
linux_ioctl_termios(p, uap, retval)
|
||||
register struct proc *p;
|
||||
register struct linux_sys_ioctl_args /* {
|
||||
struct proc *p;
|
||||
struct linux_sys_ioctl_args /* {
|
||||
syscallarg(int) fd;
|
||||
syscallarg(u_long) com;
|
||||
syscallarg(caddr_t) data;
|
||||
} */ *uap;
|
||||
register_t *retval;
|
||||
{
|
||||
register struct file *fp;
|
||||
register struct filedesc *fdp;
|
||||
struct file *fp;
|
||||
struct filedesc *fdp;
|
||||
u_long com;
|
||||
struct linux_termio tmplt;
|
||||
struct linux_termios tmplts;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: netbsd32_compat_13.c,v 1.5 1999/12/30 15:40:45 eeh Exp $ */
|
||||
/* $NetBSD: netbsd32_compat_13.c,v 1.6 2000/03/30 11:27:18 augustss Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1998 Matthew R. Green
|
||||
@ -75,7 +75,7 @@ compat_13_netbsd32_sigaltstack13(p, v, retval)
|
||||
|
||||
int
|
||||
compat_13_netbsd32_sigprocmask(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -99,7 +99,7 @@ compat_13_netbsd32_sigprocmask(p, v, retval)
|
||||
|
||||
int
|
||||
compat_13_netbsd32_sigsuspend(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: netbsd32_netbsd.c,v 1.24 2000/03/23 06:48:17 thorpej Exp $ */
|
||||
/* $NetBSD: netbsd32_netbsd.c,v 1.25 2000/03/30 11:27:18 augustss Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1998 Matthew R. Green
|
||||
@ -666,8 +666,8 @@ netbsd32_wait4(q, v, retval)
|
||||
syscallarg(netbsd32_rusagep_t) rusage;
|
||||
} */ *uap = v;
|
||||
struct netbsd32_rusage ru32;
|
||||
register int nfound;
|
||||
register struct proc *p, *t;
|
||||
int nfound;
|
||||
struct proc *p, *t;
|
||||
int status, error;
|
||||
|
||||
if (SCARG(uap, pid) == 0)
|
||||
@ -932,8 +932,8 @@ netbsd32_getfsstat(p, v, retval)
|
||||
syscallarg(netbsd32_long) bufsize;
|
||||
syscallarg(int) flags;
|
||||
} */ *uap = v;
|
||||
register struct mount *mp, *nmp;
|
||||
register struct statfs *sp;
|
||||
struct mount *mp, *nmp;
|
||||
struct statfs *sp;
|
||||
struct netbsd32_statfs sb32;
|
||||
caddr_t sfsp;
|
||||
long count, maxcount, error;
|
||||
@ -1074,7 +1074,7 @@ netbsd32_recvmsg(p, v, retval)
|
||||
} */ *uap = v;
|
||||
struct netbsd32_msghdr msg;
|
||||
struct iovec aiov[UIO_SMALLIOV], *uiov, *iov;
|
||||
register int error;
|
||||
int error;
|
||||
|
||||
error = copyin((caddr_t)(u_long)SCARG(uap, msg), (caddr_t)&msg,
|
||||
sizeof(msg));
|
||||
@ -1122,7 +1122,7 @@ recvit32(p, s, mp, iov, namelenp, retsize)
|
||||
{
|
||||
struct file *fp;
|
||||
struct uio auio;
|
||||
register int i;
|
||||
int i;
|
||||
int len, error;
|
||||
struct mbuf *from = 0, *control = 0;
|
||||
struct socket *so;
|
||||
@ -2222,8 +2222,8 @@ netbsd32_getgroups(p, v, retval)
|
||||
syscallarg(int) gidsetsize;
|
||||
syscallarg(netbsd32_gid_tp) gidset;
|
||||
} */ *uap = v;
|
||||
register struct pcred *pc = p->p_cred;
|
||||
register int ngrp;
|
||||
struct pcred *pc = p->p_cred;
|
||||
int ngrp;
|
||||
int error;
|
||||
|
||||
ngrp = SCARG(uap, gidsetsize);
|
||||
@ -2910,8 +2910,8 @@ netbsd32_readv(p, v, retval)
|
||||
syscallarg(int) iovcnt;
|
||||
} */ *uap = v;
|
||||
int fd = SCARG(uap, fd);
|
||||
register struct file *fp;
|
||||
register struct filedesc *fdp = p->p_fd;
|
||||
struct file *fp;
|
||||
struct filedesc *fdp = p->p_fd;
|
||||
|
||||
if ((u_int)fd >= fdp->fd_nfiles ||
|
||||
(fp = fdp->fd_ofiles[fd]) == NULL ||
|
||||
@ -2935,7 +2935,7 @@ dofilereadv32(p, fd, fp, iovp, iovcnt, offset, flags, retval)
|
||||
register_t *retval;
|
||||
{
|
||||
struct uio auio;
|
||||
register struct iovec *iov;
|
||||
struct iovec *iov;
|
||||
struct iovec *needfree;
|
||||
struct iovec aiov[UIO_SMALLIOV];
|
||||
long i, cnt, error = 0;
|
||||
@ -3023,8 +3023,8 @@ netbsd32_writev(p, v, retval)
|
||||
syscallarg(int) iovcnt;
|
||||
} */ *uap = v;
|
||||
int fd = SCARG(uap, fd);
|
||||
register struct file *fp;
|
||||
register struct filedesc *fdp = p->p_fd;
|
||||
struct file *fp;
|
||||
struct filedesc *fdp = p->p_fd;
|
||||
|
||||
if ((u_int)fd >= fdp->fd_nfiles ||
|
||||
(fp = fdp->fd_ofiles[fd]) == NULL ||
|
||||
@ -3047,7 +3047,7 @@ dofilewritev32(p, fd, fp, iovp, iovcnt, offset, flags, retval)
|
||||
register_t *retval;
|
||||
{
|
||||
struct uio auio;
|
||||
register struct iovec *iov;
|
||||
struct iovec *iov;
|
||||
struct iovec *needfree;
|
||||
struct iovec aiov[UIO_SMALLIOV];
|
||||
long i, cnt, error = 0;
|
||||
@ -3424,8 +3424,8 @@ netbsd32_statfs(p, v, retval)
|
||||
syscallarg(const netbsd32_charp) path;
|
||||
syscallarg(netbsd32_statfsp_t) buf;
|
||||
} */ *uap = v;
|
||||
register struct mount *mp;
|
||||
register struct statfs *sp;
|
||||
struct mount *mp;
|
||||
struct statfs *sp;
|
||||
struct netbsd32_statfs s32;
|
||||
int error;
|
||||
struct nameidata nd;
|
||||
@ -3454,8 +3454,8 @@ netbsd32_fstatfs(p, v, retval)
|
||||
syscallarg(netbsd32_statfsp_t) buf;
|
||||
} */ *uap = v;
|
||||
struct file *fp;
|
||||
register struct mount *mp;
|
||||
register struct statfs *sp;
|
||||
struct mount *mp;
|
||||
struct statfs *sp;
|
||||
struct netbsd32_statfs s32;
|
||||
int error;
|
||||
|
||||
@ -4345,7 +4345,7 @@ netbsd32___semctl14(p, v, retval)
|
||||
struct ucred *cred = p->p_ucred;
|
||||
int i, rval, eval;
|
||||
struct netbsd32_semid_ds sbuf;
|
||||
register struct semid_ds *semaptr;
|
||||
struct semid_ds *semaptr;
|
||||
|
||||
semlock(p);
|
||||
|
||||
@ -5144,8 +5144,8 @@ netbsd32___fstat13(p, v, retval)
|
||||
syscallarg(netbsd32_statp_t) sb;
|
||||
} */ *uap = v;
|
||||
int fd = SCARG(uap, fd);
|
||||
register struct filedesc *fdp = p->p_fd;
|
||||
register struct file *fp;
|
||||
struct filedesc *fdp = p->p_fd;
|
||||
struct file *fp;
|
||||
struct netbsd32_stat sb32;
|
||||
struct stat ub;
|
||||
int error = 0;
|
||||
@ -5423,7 +5423,7 @@ netbsd32___sigaction14(p, v, retval)
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
register struct netbsd32___sigaction14_args /* {
|
||||
struct netbsd32___sigaction14_args /* {
|
||||
syscallarg(int) signum;
|
||||
syscallarg(const struct sigaction *) nsa;
|
||||
syscallarg(struct sigaction *) osa;
|
||||
@ -5461,7 +5461,7 @@ int netbsd32___sigpending14(p, v, retval)
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
register struct netbsd32___sigpending14_args /* {
|
||||
struct netbsd32___sigpending14_args /* {
|
||||
syscallarg(sigset_t *) set;
|
||||
} */ *uap = v;
|
||||
struct sys___sigpending14_args ua;
|
||||
@ -5475,7 +5475,7 @@ int netbsd32___sigprocmask14(p, v, retval)
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
register struct netbsd32___sigprocmask14_args /* {
|
||||
struct netbsd32___sigprocmask14_args /* {
|
||||
syscallarg(int) how;
|
||||
syscallarg(const sigset_t *) set;
|
||||
syscallarg(sigset_t *) oset;
|
||||
@ -5518,7 +5518,7 @@ int netbsd32___getcwd(p, v, retval)
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
register struct netbsd32___getcwd_args /* {
|
||||
struct netbsd32___getcwd_args /* {
|
||||
syscallarg(char *) bufp;
|
||||
syscallarg(size_t) length;
|
||||
} */ *uap = v;
|
||||
@ -5568,7 +5568,7 @@ int netbsd32_fchroot(p, v, retval)
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
register struct netbsd32_fchroot_args /* {
|
||||
struct netbsd32_fchroot_args /* {
|
||||
syscallarg(int) fd;
|
||||
} */ *uap = v;
|
||||
struct sys_fchroot_args ua;
|
||||
@ -5589,7 +5589,7 @@ netbsd32_fhopen(p, v, retval)
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
register struct netbsd32_fhopen_args /* {
|
||||
struct netbsd32_fhopen_args /* {
|
||||
syscallarg(const fhandle_t *) fhp;
|
||||
syscallarg(int) flags;
|
||||
} */ *uap = v;
|
||||
@ -5605,7 +5605,7 @@ int netbsd32_fhstat(p, v, retval)
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
register struct netbsd32_fhstat_args /* {
|
||||
struct netbsd32_fhstat_args /* {
|
||||
syscallarg(const netbsd32_fhandlep_t) fhp;
|
||||
syscallarg(struct stat *) sb;
|
||||
} */ *uap = v;
|
||||
@ -5621,7 +5621,7 @@ int netbsd32_fhstatfs(p, v, retval)
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
register struct netbsd32_fhstatfs_args /* {
|
||||
struct netbsd32_fhstatfs_args /* {
|
||||
syscallarg(const netbsd32_fhandlep_t) fhp;
|
||||
syscallarg(struct statfs *) buf;
|
||||
} */ *uap = v;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sunos_ioctl.c,v 1.30 1998/08/09 20:37:55 perry Exp $ */
|
||||
/* $NetBSD: sunos_ioctl.c,v 1.31 2000/03/30 11:27:19 augustss Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1993 Markus Wild.
|
||||
@ -122,7 +122,7 @@ stios2btios(st, bt)
|
||||
struct sunos_termios *st;
|
||||
struct termios *bt;
|
||||
{
|
||||
register u_long l, r;
|
||||
u_long l, r;
|
||||
|
||||
l = st->c_iflag;
|
||||
r = ((l & 0x00000001) ? IGNBRK : 0);
|
||||
@ -244,7 +244,7 @@ btios2stios(bt, st)
|
||||
struct termios *bt;
|
||||
struct sunos_termios *st;
|
||||
{
|
||||
register u_long l, r;
|
||||
u_long l, r;
|
||||
int s;
|
||||
|
||||
l = bt->c_iflag;
|
||||
@ -396,7 +396,7 @@ stio2stios(t, ts)
|
||||
|
||||
int
|
||||
sunos_sys_ioctl(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -405,9 +405,9 @@ sunos_sys_ioctl(p, v, retval)
|
||||
u_long com;
|
||||
caddr_t data;
|
||||
} */ *uap = v;
|
||||
register struct filedesc *fdp = p->p_fd;
|
||||
register struct file *fp;
|
||||
register int (*ctl) __P((struct file *, u_long, caddr_t, struct proc *));
|
||||
struct filedesc *fdp = p->p_fd;
|
||||
struct file *fp;
|
||||
int (*ctl) __P((struct file *, u_long, caddr_t, struct proc *));
|
||||
int error;
|
||||
|
||||
if ((unsigned)SCARG(uap, fd) >= fdp->fd_nfiles ||
|
||||
@ -974,7 +974,7 @@ static struct {
|
||||
|
||||
int
|
||||
sunos_sys_fcntl(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sunos_misc.c,v 1.103 2000/03/28 23:57:34 simonb Exp $ */
|
||||
/* $NetBSD: sunos_misc.c,v 1.104 2000/03/30 11:27:19 augustss Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
@ -447,7 +447,7 @@ sunos_sys_sigpending(p, v, retval)
|
||||
|
||||
int
|
||||
sunos_sys_sigsuspend(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -596,15 +596,15 @@ out:
|
||||
|
||||
int
|
||||
sunos_sys_mmap(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
register struct sunos_sys_mmap_args *uap = v;
|
||||
struct sunos_sys_mmap_args *uap = v;
|
||||
struct sys_mmap_args ouap;
|
||||
register struct filedesc *fdp;
|
||||
register struct file *fp;
|
||||
register struct vnode *vp;
|
||||
struct filedesc *fdp;
|
||||
struct file *fp;
|
||||
struct vnode *vp;
|
||||
|
||||
/*
|
||||
* Verify the arguments.
|
||||
@ -653,11 +653,11 @@ sunos_sys_mmap(p, v, retval)
|
||||
|
||||
int
|
||||
sunos_sys_mctl(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
register struct sunos_sys_mctl_args *uap = v;
|
||||
struct sunos_sys_mctl_args *uap = v;
|
||||
|
||||
switch (SCARG(uap, func)) {
|
||||
case MC_ADVISE: /* ignore for now */
|
||||
@ -675,7 +675,7 @@ sunos_sys_setsockopt(p, v, retval)
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
register struct sunos_sys_setsockopt_args *uap = v;
|
||||
struct sunos_sys_setsockopt_args *uap = v;
|
||||
struct file *fp;
|
||||
struct mbuf *m = NULL;
|
||||
int error;
|
||||
@ -945,8 +945,8 @@ sunos_sys_statfs(p, v, retval)
|
||||
register_t *retval;
|
||||
{
|
||||
struct sunos_sys_statfs_args *uap = v;
|
||||
register struct mount *mp;
|
||||
register struct statfs *sp;
|
||||
struct mount *mp;
|
||||
struct statfs *sp;
|
||||
int error;
|
||||
struct nameidata nd;
|
||||
|
||||
@ -974,7 +974,7 @@ sunos_sys_fstatfs(p, v, retval)
|
||||
struct sunos_sys_fstatfs_args *uap = v;
|
||||
struct file *fp;
|
||||
struct mount *mp;
|
||||
register struct statfs *sp;
|
||||
struct statfs *sp;
|
||||
int error;
|
||||
|
||||
/* getvnode() will use the descriptor for us */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: svr4_fcntl.c,v 1.33 1999/11/28 18:06:46 matt Exp $ */
|
||||
/* $NetBSD: svr4_fcntl.c,v 1.34 2000/03/30 11:27:19 augustss Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1994, 1997 The NetBSD Foundation, Inc.
|
||||
@ -361,7 +361,7 @@ fd_truncate(p, fd, flp, retval)
|
||||
|
||||
int
|
||||
svr4_sys_open(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -400,7 +400,7 @@ svr4_sys_open(p, v, retval)
|
||||
|
||||
int
|
||||
svr4_sys_open64(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -410,7 +410,7 @@ svr4_sys_open64(p, v, retval)
|
||||
|
||||
int
|
||||
svr4_sys_creat(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -430,7 +430,7 @@ svr4_sys_creat(p, v, retval)
|
||||
|
||||
int
|
||||
svr4_sys_creat64(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -440,7 +440,7 @@ svr4_sys_creat64(p, v, retval)
|
||||
|
||||
int
|
||||
svr4_sys_llseek(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -463,7 +463,7 @@ svr4_sys_llseek(p, v, retval)
|
||||
|
||||
int
|
||||
svr4_sys_access(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -482,7 +482,7 @@ svr4_sys_access(p, v, retval)
|
||||
|
||||
int
|
||||
svr4_sys_pread(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -504,7 +504,7 @@ svr4_sys_pread(p, v, retval)
|
||||
|
||||
int
|
||||
svr4_sys_pread64(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -527,7 +527,7 @@ svr4_sys_pread64(p, v, retval)
|
||||
|
||||
int
|
||||
svr4_sys_pwrite(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -549,7 +549,7 @@ svr4_sys_pwrite(p, v, retval)
|
||||
|
||||
int
|
||||
svr4_sys_pwrite64(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -571,7 +571,7 @@ svr4_sys_pwrite64(p, v, retval)
|
||||
|
||||
int
|
||||
svr4_sys_fcntl(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: svr4_ioctl.c,v 1.19 1999/09/07 18:20:18 christos Exp $ */
|
||||
/* $NetBSD: svr4_ioctl.c,v 1.20 2000/03/30 11:27:20 augustss Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1994 The NetBSD Foundation, Inc.
|
||||
@ -95,7 +95,7 @@ svr4_decode_cmd(cmd, dir, c, num, argsiz)
|
||||
|
||||
int
|
||||
svr4_sys_ioctl(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: svr4_resource.c,v 1.5 1999/09/28 14:47:02 bouyer Exp $ */
|
||||
/* $NetBSD: svr4_resource.c,v 1.6 2000/03/30 11:27:20 augustss Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
@ -93,7 +93,7 @@ svr4_to_native_rl(rl)
|
||||
|
||||
int
|
||||
svr4_sys_getrlimit(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -140,7 +140,7 @@ svr4_sys_getrlimit(p, v, retval)
|
||||
|
||||
int
|
||||
svr4_sys_setrlimit(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -191,7 +191,7 @@ svr4_sys_setrlimit(p, v, retval)
|
||||
|
||||
int
|
||||
svr4_sys_getrlimit64(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -238,7 +238,7 @@ svr4_sys_getrlimit64(p, v, retval)
|
||||
|
||||
int
|
||||
svr4_sys_setrlimit64(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: svr4_signal.c,v 1.35 1999/09/07 18:20:19 christos Exp $ */
|
||||
/* $NetBSD: svr4_signal.c,v 1.36 2000/03/30 11:27:20 augustss Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1994, 1998 The NetBSD Foundation, Inc.
|
||||
@ -274,7 +274,7 @@ native_to_svr4_sigaltstack(bss, sss)
|
||||
|
||||
int
|
||||
svr4_sys_sigaction(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -308,7 +308,7 @@ svr4_sys_sigaction(p, v, retval)
|
||||
|
||||
int
|
||||
svr4_sys_sigaltstack(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -344,7 +344,7 @@ svr4_sys_sigaltstack(p, v, retval)
|
||||
*/
|
||||
int
|
||||
svr4_sys_signal(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -405,7 +405,7 @@ svr4_sys_signal(p, v, retval)
|
||||
|
||||
int
|
||||
svr4_sys_sigprocmask(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -462,7 +462,7 @@ svr4_sys_sigprocmask(p, v, retval)
|
||||
|
||||
int
|
||||
svr4_sys_sigpending(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -491,7 +491,7 @@ svr4_sys_sigpending(p, v, retval)
|
||||
|
||||
int
|
||||
svr4_sys_sigsuspend(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -514,7 +514,7 @@ svr4_sys_sigsuspend(p, v, retval)
|
||||
|
||||
int
|
||||
svr4_sys_pause(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -524,7 +524,7 @@ svr4_sys_pause(p, v, retval)
|
||||
|
||||
int
|
||||
svr4_sys_kill(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -604,7 +604,7 @@ svr4_setcontext(p, uc)
|
||||
|
||||
int
|
||||
svr4_sys_context(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: svr4_stat.c,v 1.35 2000/03/28 23:57:34 simonb Exp $ */
|
||||
/* $NetBSD: svr4_stat.c,v 1.36 2000/03/30 11:27:20 augustss Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1994 The NetBSD Foundation, Inc.
|
||||
@ -162,7 +162,7 @@ bsd_to_svr4_stat64(st, st4)
|
||||
|
||||
int
|
||||
svr4_sys_stat(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -208,7 +208,7 @@ svr4_sys_stat(p, v, retval)
|
||||
|
||||
int
|
||||
svr4_sys_lstat(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -253,7 +253,7 @@ svr4_sys_lstat(p, v, retval)
|
||||
|
||||
int
|
||||
svr4_sys_fstat(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -294,7 +294,7 @@ svr4_sys_fstat(p, v, retval)
|
||||
|
||||
int
|
||||
svr4_sys_xstat(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -330,7 +330,7 @@ svr4_sys_xstat(p, v, retval)
|
||||
|
||||
int
|
||||
svr4_sys_lxstat(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -366,7 +366,7 @@ svr4_sys_lxstat(p, v, retval)
|
||||
|
||||
int
|
||||
svr4_sys_fxstat(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -398,7 +398,7 @@ svr4_sys_fxstat(p, v, retval)
|
||||
|
||||
int
|
||||
svr4_sys_stat64(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -434,7 +434,7 @@ svr4_sys_stat64(p, v, retval)
|
||||
|
||||
int
|
||||
svr4_sys_lstat64(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -470,7 +470,7 @@ svr4_sys_lstat64(p, v, retval)
|
||||
|
||||
int
|
||||
svr4_sys_fstat64(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -507,7 +507,7 @@ struct svr4_ustat_args {
|
||||
|
||||
int
|
||||
svr4_ustat(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -534,7 +534,7 @@ svr4_ustat(p, v, retval)
|
||||
|
||||
int
|
||||
svr4_sys_uname(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -565,7 +565,7 @@ svr4_sys_uname(p, v, retval)
|
||||
|
||||
int
|
||||
svr4_sys_systeminfo(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -679,7 +679,7 @@ svr4_sys_systeminfo(p, v, retval)
|
||||
|
||||
int
|
||||
svr4_sys_utssys(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -713,7 +713,7 @@ svr4_sys_utssys(p, v, retval)
|
||||
|
||||
int
|
||||
svr4_sys_utime(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -748,7 +748,7 @@ svr4_sys_utime(p, v, retval)
|
||||
|
||||
int
|
||||
svr4_sys_utimes(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -811,7 +811,7 @@ svr4_to_bsd_pathconf(name)
|
||||
|
||||
int
|
||||
svr4_sys_pathconf(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -837,7 +837,7 @@ svr4_sys_pathconf(p, v, retval)
|
||||
|
||||
int
|
||||
svr4_sys_fpathconf(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: svr4_stream.c,v 1.35 1999/09/07 18:20:19 christos Exp $ */
|
||||
/* $NetBSD: svr4_stream.c,v 1.36 2000/03/30 11:27:20 augustss Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1994 The NetBSD Foundation, Inc.
|
||||
@ -1463,7 +1463,7 @@ svr4_stream_ioctl(fp, p, retval, fd, cmd, dat)
|
||||
|
||||
int
|
||||
svr4_sys_putmsg(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
@ -1631,7 +1631,7 @@ svr4_sys_putmsg(p, v, retval)
|
||||
|
||||
int
|
||||
svr4_sys_getmsg(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ultrix_fs.c,v 1.17 1999/04/25 02:42:01 simonb Exp $ */
|
||||
/* $NetBSD: ultrix_fs.c,v 1.18 2000/03/30 11:27:21 augustss Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995, 1997 Jonathan Stone
|
||||
@ -157,8 +157,8 @@ make_ultrix_mntent __P(( struct statfs *sp, struct ultrix_fs_data *tem));
|
||||
*/
|
||||
static void
|
||||
make_ultrix_mntent(sp, tem)
|
||||
register struct statfs *sp;
|
||||
register struct ultrix_fs_data *tem;
|
||||
struct statfs *sp;
|
||||
struct ultrix_fs_data *tem;
|
||||
{
|
||||
|
||||
memset(tem, 0, sizeof (*tem));
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ultrix_ioctl.c,v 1.13 1998/08/09 20:37:56 perry Exp $ */
|
||||
/* $NetBSD: ultrix_ioctl.c,v 1.14 2000/03/30 11:27:21 augustss Exp $ */
|
||||
/* from : NetBSD: sunos_ioctl.c,v 1.21 1995/10/07 06:27:31 mycroft Exp */
|
||||
|
||||
/*
|
||||
@ -139,7 +139,7 @@ stios2btios(st, bt)
|
||||
struct emul_termios *st;
|
||||
struct termios *bt;
|
||||
{
|
||||
register u_long l, r;
|
||||
u_long l, r;
|
||||
|
||||
l = st->c_iflag;
|
||||
r = ((l & 0x00000001) ? IGNBRK : 0);
|
||||
@ -271,7 +271,7 @@ btios2stios(bt, st)
|
||||
struct termios *bt;
|
||||
struct emul_termios *st;
|
||||
{
|
||||
register u_long l, r;
|
||||
u_long l, r;
|
||||
|
||||
l = bt->c_iflag;
|
||||
r = ((l & IGNBRK) ? 0x00000001 : 0);
|
||||
@ -444,14 +444,14 @@ stio2stios(t, ts)
|
||||
|
||||
int
|
||||
ultrix_sys_ioctl(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
struct ultrix_sys_ioctl_args *uap = v;
|
||||
register struct filedesc *fdp = p->p_fd;
|
||||
register struct file *fp;
|
||||
register int (*ctl) __P((struct file *, u_long, caddr_t, struct proc *));
|
||||
struct filedesc *fdp = p->p_fd;
|
||||
struct file *fp;
|
||||
int (*ctl) __P((struct file *, u_long, caddr_t, struct proc *));
|
||||
int error;
|
||||
|
||||
if ( (unsigned)SCARG(uap, fd) >= fdp->fd_nfiles ||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ultrix_misc.c,v 1.55 2000/03/28 23:57:35 simonb Exp $ */
|
||||
/* $NetBSD: ultrix_misc.c,v 1.56 2000/03/30 11:27:21 augustss Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995, 1997 Jonathan Stone (hereinafter referred to as the author)
|
||||
@ -317,15 +317,15 @@ async_daemon(p, v, retval)
|
||||
|
||||
int
|
||||
ultrix_sys_mmap(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
register struct ultrix_sys_mmap_args *uap = v;
|
||||
struct ultrix_sys_mmap_args *uap = v;
|
||||
struct sys_mmap_args ouap;
|
||||
register struct filedesc *fdp;
|
||||
register struct file *fp;
|
||||
register struct vnode *vp;
|
||||
struct filedesc *fdp;
|
||||
struct file *fp;
|
||||
struct vnode *vp;
|
||||
|
||||
/*
|
||||
* Verify the arguments.
|
||||
@ -371,7 +371,7 @@ ultrix_sys_setsockopt(p, v, retval)
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
register struct ultrix_sys_setsockopt_args *uap = v;
|
||||
struct ultrix_sys_setsockopt_args *uap = v;
|
||||
struct file *fp;
|
||||
struct mbuf *m = NULL;
|
||||
int error;
|
||||
@ -574,18 +574,18 @@ ultrix_sys_vhangup(p, v, retval)
|
||||
#ifdef __mips
|
||||
int
|
||||
ultrix_sys_cacheflush(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
register struct ultrix_sys_cacheflush_args /* {
|
||||
struct ultrix_sys_cacheflush_args /* {
|
||||
syscallarg(void *) addr;
|
||||
syscallarg(int) nbytes;
|
||||
syscallarg(int) flag;
|
||||
} */ *uap = v;
|
||||
register vaddr_t va = (vaddr_t)SCARG(uap, addr);
|
||||
register int nbytes = SCARG(uap, nbytes);
|
||||
register int whichcache = SCARG(uap, whichcache);
|
||||
vaddr_t va = (vaddr_t)SCARG(uap, addr);
|
||||
int nbytes = SCARG(uap, nbytes);
|
||||
int whichcache = SCARG(uap, whichcache);
|
||||
|
||||
return (mips_user_cacheflush(p, va, nbytes, whichcache));
|
||||
}
|
||||
@ -593,18 +593,18 @@ ultrix_sys_cacheflush(p, v, retval)
|
||||
|
||||
int
|
||||
ultrix_sys_cachectl(p, v, retval)
|
||||
register struct proc *p;
|
||||
struct proc *p;
|
||||
void *v;
|
||||
register_t *retval;
|
||||
{
|
||||
register struct ultrix_sys_cachectl_args /* {
|
||||
struct ultrix_sys_cachectl_args /* {
|
||||
syscallarg(void *) addr;
|
||||
syscallarg(int) nbytes;
|
||||
syscallarg(int) cacheop;
|
||||
} */ *uap = v;
|
||||
register vaddr_t va = (vaddr_t)SCARG(uap, addr);
|
||||
register int nbytes = SCARG(uap, nbytes);
|
||||
register int cacheop = SCARG(uap, cacheop);
|
||||
vaddr_t va = (vaddr_t)SCARG(uap, addr);
|
||||
int nbytes = SCARG(uap, nbytes);
|
||||
int cacheop = SCARG(uap, cacheop);
|
||||
|
||||
return mips_user_cachectl(p, va, nbytes, cacheop);
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ultrix_pathname.c,v 1.9 1999/05/05 20:01:07 thorpej Exp $ */
|
||||
/* $NetBSD: ultrix_pathname.c,v 1.10 2000/03/30 11:27:21 augustss Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
@ -272,8 +272,8 @@ ultrix_sys_statfs(p, v, retval)
|
||||
register_t *retval;
|
||||
{
|
||||
struct ultrix_sys_statfs_args *uap = v;
|
||||
register struct mount *mp;
|
||||
register struct statfs *sp;
|
||||
struct mount *mp;
|
||||
struct statfs *sp;
|
||||
int error;
|
||||
struct nameidata nd;
|
||||
|
||||
@ -307,7 +307,7 @@ ultrix_sys_fstatfs(p, v, retval)
|
||||
struct ultrix_sys_fstatfs_args *uap = v;
|
||||
struct file *fp;
|
||||
struct mount *mp;
|
||||
register struct statfs *sp;
|
||||
struct statfs *sp;
|
||||
int error;
|
||||
|
||||
/* getvnode() will use the descriptor for us */
|
||||
|
Loading…
Reference in New Issue
Block a user