LWP'ify the svr4_mcontext stuff.

This commit is contained in:
rafal 2003-01-22 04:32:17 +00:00
parent 252f8847d5
commit c406903ac2
2 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: svr4_machdep.h,v 1.2 2002/03/05 14:12:30 simonb Exp $ */
/* $NetBSD: svr4_machdep.h,v 1.3 2003/01/22 04:32:17 rafal Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -74,8 +74,8 @@ typedef struct svr4_mcontext {
} svr4_mcontext_t;
#ifdef _KERNEL
int svr4_setmcontext(struct proc *, svr4_mcontext_t *, unsigned long);
void *svr4_getmcontext(struct proc *, svr4_mcontext_t *, unsigned long *);
int svr4_setmcontext(struct lwp *, svr4_mcontext_t *, unsigned long);
void *svr4_getmcontext(struct lwp *, svr4_mcontext_t *, unsigned long *);
#endif

View File

@ -1,4 +1,4 @@
/* $NetBSD: svr4_machdep.c,v 1.4 2003/01/17 23:36:18 thorpej Exp $ */
/* $NetBSD: svr4_machdep.c,v 1.5 2003/01/22 04:32:17 rafal Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -75,8 +75,8 @@
* XXX This should be filled later
*/
int
svr4_setmcontext(p, mc, flags)
struct proc *p;
svr4_setmcontext(l, mc, flags)
struct lwp *l;
svr4_mcontext_t *mc;
unsigned long flags;
{
@ -85,8 +85,8 @@ svr4_setmcontext(p, mc, flags)
}
void *
svr4_getmcontext(p, mc, flags)
struct proc *p;
svr4_getmcontext(l, mc, flags)
struct lwp *l;
svr4_mcontext_t *mc;
unsigned long *flags;
{