diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-07-29 23:01:15 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-07-29 23:01:15 +0000 |
commit | 6805640ec7e626a8ce21d0527c4f9222716af039 (patch) | |
tree | b7ff180b730bcb12e96b7986401b2187194b08d7 /c/src/exec/score/cpu/i386/cpu.c | |
parent | Added section on ddd. (diff) | |
download | rtems-6805640ec7e626a8ce21d0527c4f9222716af039.tar.bz2 |
Patch from Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
to correct a typo CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES was actually
typed in as CPU_CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES.
Diffstat (limited to 'c/src/exec/score/cpu/i386/cpu.c')
-rw-r--r-- | c/src/exec/score/cpu/i386/cpu.c | 5 |
1 files changed, 4 insertions, 1 deletions
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 |