summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include/fpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/powerpc/include/fpu.h')
-rw-r--r--sys/powerpc/include/fpu.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/powerpc/include/fpu.h b/sys/powerpc/include/fpu.h
index 1f23caa..c01637b 100644
--- a/sys/powerpc/include/fpu.h
+++ b/sys/powerpc/include/fpu.h
@@ -68,4 +68,15 @@
#define FPSCR_NI 0x00000004
#define FPSCR_RN 0x00000003
+#ifdef _KERNEL
+
+/* List of PowerPC architectures that support FPUs. */
+#if defined(MPC750)
+#define PPC_HAVE_FPU
+
+void enable_fpu(struct thread *);
+void save_fpu(struct thread *);
+#endif /* PPC_HAVE_FPU */
+#endif /* _KERNEL */
+
#endif /* _MACHINE_FPU_H_ */
OpenPOWER on IntegriCloud