- Timestamp:
-
07/12/09 04:37:17 (15 years ago)
- Author:
-
Kptrs
- Comment:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v2
|
v3
|
|
69 | 69 | = RTEMS Library Build Support = |
70 | 70 | |
71 | | = =BSP Support== |
72 | 71 | |
| 72 | Throughout the RTEMS kernel, actions are taken to support floating point, if either software or hardware floating point is defined to be available '''at the time of compilation of the RTEMS libraries'''. For example, from {{{threaddispatch.c</core> (edited here for simplification): |
73 | 73 | |
74 | | ==Compiler Support== |
| 74 | #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE ) |
| 75 | if ( executing->fp_context != NULL ) |
| 76 | _Context_Save_fp( &executing->fp_context ); |
| 77 | #endif |
| 78 | |
| 79 | _Context_Switch( &executing->Registers, &heir->Registers ); |
| 80 | |
| 81 | #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE ) |
| 82 | if ( executing->fp_context != NULL ) |
| 83 | _Context_Restore_fp( &executing->fp_context ); |
| 84 | #endif |
| 85 | |
| 86 | Where do these definitions of floating point support come from? |
| 87 | = BSP Support = |
| 88 | |
| 89 | = =Compiler Support== |