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. --- c/src/exec/score/cpu/i386/cpu.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'c/src/exec/score/cpu/i386/cpu.c') diff --git a/c/src/exec/score/cpu/i386/cpu.c b/c/src/exec/score/cpu/i386/cpu.c index 476e610b67..cabc285ce9 100644 --- a/c/src/exec/score/cpu/i386/cpu.c +++ b/c/src/exec/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 -- cgit v1.2.3