From 6805640ec7e626a8ce21d0527c4f9222716af039 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 29 Jul 1999 23:01:15 +0000 Subject: Patch from Charles-Antoine Gauthier to correct a typo CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES was actually typed in as CPU_CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES. --- cpukit/score/cpu/i386/cpu.c | 5 ++++- cpukit/score/cpu/i386/rtems/score/cpu.h | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'cpukit/score/cpu/i386') diff --git a/cpukit/score/cpu/i386/cpu.c b/cpukit/score/cpu/i386/cpu.c index 476e610b67..cabc285ce9 100644 --- a/cpukit/score/cpu/i386/cpu.c +++ b/cpukit/score/cpu/i386/cpu.c @@ -47,11 +47,12 @@ void _CPU_Initialize( * Manual and should work on any coprocessor greater than * the i80287. * - * NOTE: The NO RTEMS_WAIT form of the coprocessor instructions + * NOTE: The NO WAIT form of the coprocessor instructions * MUST be used in case there is not a coprocessor * to wait for. */ +#if CPU_HARDWARE_FP fp_status = 0xa5a5; asm volatile( "fninit" ); asm volatile( "fnstsw %0" : "=a" (fp_status) : "0" (fp_status) ); @@ -64,6 +65,8 @@ void _CPU_Initialize( : "0" (fp_context) ); } +#endif + } /*PAGE diff --git a/cpukit/score/cpu/i386/rtems/score/cpu.h b/cpukit/score/cpu/i386/rtems/score/cpu.h index 29f7d1161b..045df2ae72 100644 --- a/cpukit/score/cpu/i386/rtems/score/cpu.h +++ b/cpukit/score/cpu/i386/rtems/score/cpu.h @@ -85,7 +85,7 @@ extern "C" { * routines are handled. */ -#define CPU_CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES FALSE +#define CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES FALSE #define CPU_BIG_ENDIAN FALSE #define CPU_LITTLE_ENDIAN TRUE -- cgit v1.2.3