summaryrefslogtreecommitdiff
path: root/sys/arch/m88k/include
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-05-16 11:47:17 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-05-16 11:47:17 +0000
commit3a84e00084d30e20920b7bcb34818288784c91ce (patch)
tree8c021dd15e3e4bd8e79a0fbccb63288edfcf3014 /sys/arch/m88k/include
parent65b476432954176a24f92f9dae135b0f627abbf7 (diff)
Remove PT_[GS]ETFPREGS and struct fpreg, as we have no real floating point
registers, and the floating point control registers are savec in the reg structure.
Diffstat (limited to 'sys/arch/m88k/include')
-rw-r--r--sys/arch/m88k/include/ptrace.h4
-rw-r--r--sys/arch/m88k/include/reg.h18
2 files changed, 4 insertions, 18 deletions
diff --git a/sys/arch/m88k/include/ptrace.h b/sys/arch/m88k/include/ptrace.h
index c662ecceb41..d6fa059eeda 100644
--- a/sys/arch/m88k/include/ptrace.h
+++ b/sys/arch/m88k/include/ptrace.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ptrace.h,v 1.1 2004/04/26 12:34:05 miod Exp $ */
+/* $OpenBSD: ptrace.h,v 1.2 2005/05/16 11:47:14 miod Exp $ */
/*
* Copyright (c) 1999, Steve Murphree, Jr.
* Copyright (c) 1992, 1993
@@ -52,8 +52,6 @@
#define PT_STEP (PT_FIRSTMACH + 0)
#define PT_GETREGS (PT_FIRSTMACH + 1)
#define PT_SETREGS (PT_FIRSTMACH + 2)
-#define PT_GETFPREGS (PT_FIRSTMACH + 3)
-#define PT_SETFPREGS (PT_FIRSTMACH + 4)
#ifdef _KERNEL
int cpu_singlestep(struct proc *);
diff --git a/sys/arch/m88k/include/reg.h b/sys/arch/m88k/include/reg.h
index 17fc16546e5..c1c16474662 100644
--- a/sys/arch/m88k/include/reg.h
+++ b/sys/arch/m88k/include/reg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: reg.h,v 1.1 2004/04/26 12:34:05 miod Exp $ */
+/* $OpenBSD: reg.h,v 1.2 2005/05/16 11:47:14 miod Exp $ */
/*
* Copyright (c) 1999 Steve Murphree, Jr.
* Copyright (c) 1996 Nivas Madhur
@@ -35,8 +35,8 @@
#define _M88K_REG_H_
struct reg {
- unsigned int r[32]; /* 0 - 31 */
- unsigned int epsr; /* 32 */
+ unsigned int r[32];
+ unsigned int epsr;
unsigned int fpsr;
unsigned int fpcr;
unsigned int sxip;
@@ -75,16 +75,4 @@ struct reg {
unsigned int fpit;
};
-struct fpreg {
- unsigned int fp_fpecr;
- unsigned int fp_fphs1;
- unsigned int fp_fpls1;
- unsigned int fp_fphs2;
- unsigned int fp_fpls2;
- unsigned int fp_fppt;
- unsigned int fp_fprh;
- unsigned int fp_fprl;
- unsigned int fp_fpit;
-};
-
#endif /* _M88K_REG_H_ */