summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-04-05 20:22:03 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-04-05 20:22:03 +0000
commit8a16d5896d6711a702b864ef80e63a3077fe6c6d (patch)
tree038a09c5ed4123e7741d79b02e9981e73aa896f2 /sys/arch
parentf6870d3939ef1cdb8286e0a361f3d4c1d42b04d4 (diff)
fpu_type -> fputype
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sun3/include/machdep.h4
-rw-r--r--sys/arch/sun3/sun3/locore.s8
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/sun3/include/machdep.h b/sys/arch/sun3/include/machdep.h
index f53af4afbdb..40798fad64a 100644
--- a/sys/arch/sun3/include/machdep.h
+++ b/sys/arch/sun3/include/machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.h,v 1.6 1997/02/14 23:50:17 kstailey Exp $ */
+/* $OpenBSD: machdep.h,v 1.7 1997/04/05 20:22:02 kstailey Exp $ */
/*
* Copyright (c) 1994 Gordon W. Ross
* Copyright (c) 1993 Adam Glass
@@ -65,7 +65,7 @@ struct pmap;
extern int cache_size;
extern int cold;
-extern int fpu_type;
+extern int fputype;
extern label_t *nofault;
diff --git a/sys/arch/sun3/sun3/locore.s b/sys/arch/sun3/sun3/locore.s
index 44652d4fd22..cc72f3f04fe 100644
--- a/sys/arch/sun3/sun3/locore.s
+++ b/sys/arch/sun3/sun3/locore.s
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.s,v 1.17 1997/02/20 06:30:03 kstailey Exp $ */
+/* $OpenBSD: locore.s,v 1.18 1997/04/05 20:22:01 kstailey Exp $ */
/* $NetBSD: locore.s,v 1.40 1996/11/06 20:19:54 cgd Exp $ */
/*
@@ -1046,7 +1046,7 @@ Lsw2:
movl usp,a2 | grab USP (a2 has been saved)
movl a2,a1@(PCB_USP) | and save it
- tstl _fpu_type | Do we have an fpu?
+ tstl _fputype | Do we have an fpu?
jeq Lswnofpsave | No? Then don't try save.
lea a1@(PCB_FPCTX),a2 | pointer to FP save area
fsave a2@ | save FP state
@@ -1098,7 +1098,7 @@ Lswnofpsave:
movl a1@(PCB_USP),a0
movl a0,usp | and USP
- tstl _fpu_type | If we don't have an fpu,
+ tstl _fputype | If we don't have an fpu,
jeq Lres_skip | don't try to restore it.
lea a1@(PCB_FPCTX),a0 | pointer to FP save area
tstb a0@ | null state frame?
@@ -1128,7 +1128,7 @@ ENTRY(savectx)
movl a0,a1@(PCB_USP) | and save it
moveml #0xFCFC,a1@(PCB_REGS) | save non-scratch registers
- tstl _fpu_type | Do we have FPU?
+ tstl _fputype | Do we have FPU?
jeq Lsavedone | No? Then don't save state.
lea a1@(PCB_FPCTX),a0 | pointer to FP save area
fsave a0@ | save FP state