diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2006-06-21 19:24:39 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2006-06-21 19:24:39 +0000 |
commit | 5b634e84cdb0ff94cd3e1484eb9fbba54cc7a835 (patch) | |
tree | 1f288005e48807cb7d0483c09cbb4220280751e6 /sys/arch/sparc64/fpu/fpu_extern.h | |
parent | 3fdb32f92009b929a25182a1cc6b36061f51341d (diff) |
There was hope, at one time, of sharing fpu/ with sparc. That's still
possible, but not with #ifdef SUN4U all over the place. The define should
be _v9 or __sparc64__ since it will equally well apply to all v9 machines.
We'll burn that bridge before we cross it.
Diffstat (limited to 'sys/arch/sparc64/fpu/fpu_extern.h')
-rw-r--r-- | sys/arch/sparc64/fpu/fpu_extern.h | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/sys/arch/sparc64/fpu/fpu_extern.h b/sys/arch/sparc64/fpu/fpu_extern.h index 2a974f893b3..442a8ea957b 100644 --- a/sys/arch/sparc64/fpu/fpu_extern.h +++ b/sys/arch/sparc64/fpu/fpu_extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: fpu_extern.h,v 1.4 2002/08/03 15:22:06 jason Exp $ */ +/* $OpenBSD: fpu_extern.h,v 1.5 2006/06/21 19:24:38 jason Exp $ */ /* $NetBSD: fpu_extern.h,v 1.4 2000/08/03 18:32:08 eeh Exp $ */ /*- @@ -38,25 +38,15 @@ */ struct proc; -#ifndef SUN4U -struct fpstate; -struct trapframe; -#else /* SUN4U */ struct fpstate64; struct trapframe64; -#endif /* SUN4U */ union instr; struct fpemu; struct fpn; /* fpu.c */ -#ifndef SUN4U -void fpu_cleanup(struct proc *, struct fpstate *); -int fpu_emulate(struct proc *, struct trapframe *, struct fpstate *); -#else /* SUN4U */ void fpu_cleanup(struct proc *, struct fpstate64 *); int fpu_emulate(struct proc *, struct trapframe64 *, struct fpstate64 *); -#endif /* SUN4U */ int fpu_execute(struct proc *, struct fpemu *, union instr); /* fpu_add.c */ @@ -70,9 +60,7 @@ struct fpn *fpu_div(struct fpemu *); /* fpu_explode.c */ int fpu_itof(struct fpn *, u_int); -#ifdef SUN4U int fpu_xtof(struct fpn *, u_int64_t); -#endif /* SUN4U */ int fpu_stof(struct fpn *, u_int); int fpu_dtof(struct fpn *, u_int, u_int ); int fpu_qtof(struct fpn *, u_int, u_int , u_int , u_int ); @@ -80,9 +68,7 @@ void fpu_explode(struct fpemu *, struct fpn *, int, int ); /* fpu_implode.c */ u_int fpu_ftoi(struct fpemu *, struct fpn *); -#ifdef SUN4U u_int fpu_ftox(struct fpemu *, struct fpn *, u_int *); -#endif /* SUN4U */ u_int fpu_ftos(struct fpemu *, struct fpn *); u_int fpu_ftod(struct fpemu *, struct fpn *, u_int *); u_int fpu_ftoq(struct fpemu *, struct fpn *, u_int *); |