summaryrefslogtreecommitdiffstats
path: root/sys/x86/include/reg.h
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2012-03-18 19:12:11 +0000
committertijl <tijl@FreeBSD.org>2012-03-18 19:12:11 +0000
commit35c7447060de647306fd7680d6e277d1c28d3ed6 (patch)
tree9a0dee177ab5347c9aa3aac0e8e13706efaebc3f /sys/x86/include/reg.h
parent2bf580ea66d788d822942a29b2d9fe19d7d0c7d6 (diff)
downloadFreeBSD-src-35c7447060de647306fd7680d6e277d1c28d3ed6.zip
FreeBSD-src-35c7447060de647306fd7680d6e277d1c28d3ed6.tar.gz
Eliminate ia32_reg.h by moving its contents to x86 and ia64 reg.h.
Reviewed by: kib
Diffstat (limited to 'sys/x86/include/reg.h')
-rw-r--r--sys/x86/include/reg.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/sys/x86/include/reg.h b/sys/x86/include/reg.h
index 7f37275..56668ea8 100644
--- a/sys/x86/include/reg.h
+++ b/sys/x86/include/reg.h
@@ -232,11 +232,6 @@ struct __dbreg64 {
#undef __dbreg32
#undef __dbreg64
-#ifdef COMPAT_FREEBSD32
-#include <machine/fpu.h>
-#include <compat/ia32/ia32_reg.h>
-#endif
-
#ifdef _KERNEL
/*
* XXX these interfaces are MI, so they should be declared in a MI place.
@@ -248,6 +243,14 @@ int fill_fpregs(struct thread *, struct fpreg *);
int set_fpregs(struct thread *, struct fpreg *);
int fill_dbregs(struct thread *, struct dbreg *);
int set_dbregs(struct thread *, struct dbreg *);
+#ifdef COMPAT_FREEBSD32
+int fill_regs32(struct thread *, struct reg32 *);
+int set_regs32(struct thread *, struct reg32 *);
+int fill_fpregs32(struct thread *, struct fpreg32 *);
+int set_fpregs32(struct thread *, struct fpreg32 *);
+int fill_dbregs32(struct thread *, struct dbreg32 *);
+int set_dbregs32(struct thread *, struct dbreg32 *);
+#endif
#endif
#endif /* !_MACHINE_REG_H_ */
OpenPOWER on IntegriCloud