diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2003-02-28 07:08:21 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2003-02-28 07:08:21 +0000 |
commit | 9c59c2d9536df048e309f70f48b67bba137ca244 (patch) | |
tree | ad9a664fbc86bd6d152ea43adb9316da3d18bc3e /cpukit/score/cpu/arm | |
parent | Merger from rtems-4-6-branch. (diff) | |
download | rtems-9c59c2d9536df048e309f70f48b67bba137ca244.tar.bz2 |
Merger from rtems-4-6-branch.
Diffstat (limited to 'cpukit/score/cpu/arm')
-rw-r--r-- | cpukit/score/cpu/arm/ChangeLog | 4 | ||||
-rw-r--r-- | cpukit/score/cpu/arm/rtems/score/arm.h | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/cpukit/score/cpu/arm/ChangeLog b/cpukit/score/cpu/arm/ChangeLog index 85cb79e851..0e26e358fe 100644 --- a/cpukit/score/cpu/arm/ChangeLog +++ b/cpukit/score/cpu/arm/ChangeLog @@ -1,3 +1,7 @@ +2003-02-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de> + + * rtems/score/arm.h: Set up ARM_HAS_FPU based on -D__SOFTFP__. + 2002-12-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * configure.ac: Require autoconf-2.57 + automake-1.7.2. diff --git a/cpukit/score/cpu/arm/rtems/score/arm.h b/cpukit/score/cpu/arm/rtems/score/arm.h index 7d8d135488..f32556bf64 100644 --- a/cpukit/score/cpu/arm/rtems/score/arm.h +++ b/cpukit/score/cpu/arm/rtems/score/arm.h @@ -65,7 +65,13 @@ extern "C" { #endif /* All ARM CPUs are assumed to not have floating point units */ +#if defined(__SOFTFP__) #define ARM_HAS_FPU 0 +#else +#define ARM_HAS_FPU 1 +# error "FPU-support not yet implemented for the arm" +#endif + /* * Define the name of the CPU family. |