mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 23:23:13 +00:00
2006-03-17 Ralf Corsepius <ralf.corsepius@rtems.org>
* cpu.c (_CPU_Initialize): Add fpu initialization.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
2006-03-17 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||
|
||||
* cpu.c (_CPU_Initialize): Add fpu initialization.
|
||||
* rtems/score/cpu.h: Setup CPU_*_ENDIAN from GCC's__MIPS{EL|EB}__.
|
||||
(Partial merger of submission by Bruce Robinson <brucer@pmccorp.com>).
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user