File pr1782.diff, 1.5 KB (added by Joel Sherrill, on 04/22/11 at 16:53:41) |
Patch to disable deferred FPU switching when SMP enabled
|
-
? ch
? c/changes-xxx
? c/src/ch
? c/src/lib/libbsp/m68k/genmcf548x/joel.diff
? doc/started/NOTES
RCS file: /usr1/CVS/rtems/cpukit/score/include/rtems/score/thread.h,v
retrieving revision 1.101
diff -u -r1.101 thread.h
|
|
|
58 | 58 | #define __THREAD_DO_NOT_INLINE_ENABLE_DISPATCH__ |
59 | 59 | #endif |
60 | 60 | |
| 61 | /* |
| 62 | * Deferred floating point context switches are not currently |
| 63 | * supported when in SMP configuration. |
| 64 | */ |
| 65 | #if defined(RTEMS_SMP) |
| 66 | #undef CPU_USE_DEFERRED_FP_SWITCH |
| 67 | #define CPU_USE_DEFERRED_FP_SWITCH FALSE |
| 68 | #endif |
| 69 | |
61 | 70 | #ifdef __cplusplus |
62 | 71 | extern "C" { |
63 | 72 | #endif |
-
RCS file: /usr1/CVS/rtems/doc/porting/taskcontext.t,v
retrieving revision 1.7
diff -u -r1.7 taskcontext.t
|
|
|
401 | 401 | #define CPU_USE_DEFERRED_FP_SWITCH TRUE |
402 | 402 | @end example |
403 | 403 | |
| 404 | Note that currently, when in SMP configuration, deferred floating point |
| 405 | context switching is unavailable. |
| 406 | |
404 | 407 | @subsection Floating Point Context Data Structure |
405 | 408 | |
406 | 409 | The Context_Control_fp contains the per task information for the floating |
Download in other formats: