summaryrefslogtreecommitdiffstats
path: root/testsuites/samples
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1997-10-08 18:25:30 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1997-10-08 18:25:30 +0000
commit58e3dc799a7f71f08df223f1280c43da674c9a82 (patch)
treefeb87e4d6bc1a560bc858821bea251630d7c56f9 /testsuites/samples
parent89f5f5a1d84b0c9348f26fd515f79f4ca80fa5ee (diff)
downloadrtems-58e3dc799a7f71f08df223f1280c43da674c9a82.tar.bz2
Fix from Eric Norum so FPSP is installed before any FP code is actually
exercise.
Diffstat (limited to 'testsuites/samples')
-rw-r--r--testsuites/samples/paranoia/init.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuites/samples/paranoia/init.c b/testsuites/samples/paranoia/init.c
index e65630d8c2..9203c12719 100644
--- a/testsuites/samples/paranoia/init.c
+++ b/testsuites/samples/paranoia/init.c
@@ -32,6 +32,15 @@ rtems_task Init(
rtems_task_argument ignored
)
{
+ /*
+ * Install whatever optional floating point assistance package
+ * is required by this CPU.
+ */
+
+#if (defined (m68040))
+ M68KFPSPInstallExceptionHandlers ();
+#endif
+
printf( "\n\n*** PARANOIA TEST ***\n" );
paranoia(1, args);
printf( "*** END OF PARANOIA TEST ***\n" );