diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2006-03-17 08:38:26 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2006-03-17 08:38:26 +0000 |
commit | a3de1b48f6d148d06c77e16824c22afac43e3306 (patch) | |
tree | 8dacd46c1e6e2a34e7e4ea6118c705b959702471 /cpukit/score/cpu/mips/cpu.c | |
parent | 2006-03-17 Ralf Corsepius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-a3de1b48f6d148d06c77e16824c22afac43e3306.tar.bz2 |
2006-03-17 Ralf Corsepius <ralf.corsepius@rtems.org>
* cpu.c (_CPU_Initialize): Add fpu initialization.
Diffstat (limited to 'cpukit/score/cpu/mips/cpu.c')
-rw-r--r-- | cpukit/score/cpu/mips/cpu.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cpukit/score/cpu/mips/cpu.c b/cpukit/score/cpu/mips/cpu.c index 5cf43917f0..7ce5d685ec 100644 --- a/cpukit/score/cpu/mips/cpu.c +++ b/cpukit/score/cpu/mips/cpu.c @@ -81,8 +81,12 @@ void _CPU_Initialize( * the task's during Context_Initialize. */ +#if CPU_HARDWARE_FP /* FP context initialization support goes here */ - + _CPU_Null_fp_context.fpcs = 0x1000000; /* Set FS flag in floating point coprocessor + control register to prevent underflow and + inexact exceptions */ +#endif _CPU_Table = *cpu_table; } |