summaryrefslogtreecommitdiffstats
path: root/sys/i386/ibcs2
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-05-07 20:05:45 +0000
committerpeter <peter@FreeBSD.org>1997-05-07 20:05:45 +0000
commita7aa801767b7cd7e31c85ace5bc3f4770c83488f (patch)
tree6cb404fafe48f4fdc95f0672693410ebc1cf62fd /sys/i386/ibcs2
parent0ec87b239e264c84b225f3c95637fd513ecb008d (diff)
downloadFreeBSD-src-a7aa801767b7cd7e31c85ace5bc3f4770c83488f.zip
FreeBSD-src-a7aa801767b7cd7e31c85ace5bc3f4770c83488f.tar.gz
md_regs is a struct trapframe * now, not int []
Diffstat (limited to 'sys/i386/ibcs2')
-rw-r--r--sys/i386/ibcs2/ibcs2_isc.c4
-rw-r--r--sys/i386/ibcs2/ibcs2_misc.c4
-rw-r--r--sys/i386/ibcs2/ibcs2_xenix.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/i386/ibcs2/ibcs2_isc.c b/sys/i386/ibcs2/ibcs2_isc.c
index 54fc6cb..ecf9fe7 100644
--- a/sys/i386/ibcs2/ibcs2_isc.c
+++ b/sys/i386/ibcs2/ibcs2_isc.c
@@ -27,7 +27,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id$
+ * $Id: ibcs2_isc.c,v 1.8 1997/02/22 09:33:21 peter Exp $
*/
#include <sys/param.h>
@@ -50,7 +50,7 @@ extern struct sysent isc_sysent[];
int
ibcs2_isc(struct proc *p, struct ibcs2_isc_args *uap, int *retval)
{
- struct trapframe *tf = (struct trapframe *)p->p_md.md_regs;
+ struct trapframe *tf = p->p_md.md_regs;
struct sysent *callp;
u_int code;
diff --git a/sys/i386/ibcs2/ibcs2_misc.c b/sys/i386/ibcs2/ibcs2_misc.c
index 175b6f3..dfc4bad 100644
--- a/sys/i386/ibcs2/ibcs2_misc.c
+++ b/sys/i386/ibcs2/ibcs2_misc.c
@@ -45,7 +45,7 @@
*
* @(#)sun_misc.c 8.1 (Berkeley) 6/18/93
*
- * $Id: ibcs2_misc.c,v 1.18 1997/03/24 11:23:31 bde Exp $
+ * $Id: ibcs2_misc.c,v 1.19 1997/04/06 14:10:50 dfr Exp $
*/
/*
@@ -166,7 +166,7 @@ ibcs2_wait(p, uap, retval)
{
int error, status;
struct wait_args w4;
- struct trapframe *tf = (struct trapframe *)p->p_md.md_regs;
+ struct trapframe *tf = p->p_md.md_regs;
SCARG(&w4, rusage) = NULL;
if ((tf->tf_eflags & (PSL_Z|PSL_PF|PSL_N|PSL_V))
diff --git a/sys/i386/ibcs2/ibcs2_xenix.c b/sys/i386/ibcs2/ibcs2_xenix.c
index 065735e..d294924 100644
--- a/sys/i386/ibcs2/ibcs2_xenix.c
+++ b/sys/i386/ibcs2/ibcs2_xenix.c
@@ -27,7 +27,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: ibcs2_xenix.c,v 1.9 1997/02/22 09:33:29 peter Exp $
+ * $Id: ibcs2_xenix.c,v 1.10 1997/03/24 11:37:49 bde Exp $
*/
#include <sys/param.h>
@@ -63,7 +63,7 @@ extern struct sysent xenix_sysent[];
int
ibcs2_xenix(struct proc *p, struct ibcs2_xenix_args *uap, int *retval)
{
- struct trapframe *tf = (struct trapframe *)p->p_md.md_regs;
+ struct trapframe *tf = p->p_md.md_regs;
struct sysent *callp;
u_int code;
OpenPOWER on IntegriCloud