From 00d2a828971594d3c3407ae1ee064e32e256c95c Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 28 May 1997 20:36:35 +0000 Subject: Added support for context switching the data used by the gcc m68k software floating point emulation code. Code implemented by Karen Sara Looney with much email assistance from Joel. --- c/src/exec/rtems/headers/attr.h | 2 +- c/src/exec/rtems/include/rtems/rtems/attr.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'c/src/exec/rtems') diff --git a/c/src/exec/rtems/headers/attr.h b/c/src/exec/rtems/headers/attr.h index cada11dbad..84f79f636f 100644 --- a/c/src/exec/rtems/headers/attr.h +++ b/c/src/exec/rtems/headers/attr.h @@ -47,7 +47,7 @@ typedef unsigned32 rtems_attribute; #define RTEMS_NO_PRIORITY_CEILING 0x00000000 #define RTEMS_PRIORITY_CEILING 0x00000040 -#if ( CPU_HARDWARE_FP == TRUE ) +#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE ) #define ATTRIBUTES_NOT_SUPPORTED 0 #else #define ATTRIBUTES_NOT_SUPPORTED RTEMS_FLOATING_POINT diff --git a/c/src/exec/rtems/include/rtems/rtems/attr.h b/c/src/exec/rtems/include/rtems/rtems/attr.h index cada11dbad..84f79f636f 100644 --- a/c/src/exec/rtems/include/rtems/rtems/attr.h +++ b/c/src/exec/rtems/include/rtems/rtems/attr.h @@ -47,7 +47,7 @@ typedef unsigned32 rtems_attribute; #define RTEMS_NO_PRIORITY_CEILING 0x00000000 #define RTEMS_PRIORITY_CEILING 0x00000040 -#if ( CPU_HARDWARE_FP == TRUE ) +#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE ) #define ATTRIBUTES_NOT_SUPPORTED 0 #else #define ATTRIBUTES_NOT_SUPPORTED RTEMS_FLOATING_POINT -- cgit v1.2.3