File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
portable/GCC/ARM_CRx_No_GIC Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 82
82
#endif
83
83
84
84
/* The space on the stack required to hold the FPU registers. */
85
- #define portFPU_REGISTER_WORDS ( ( 16 * 2 ) + 1 ) /* D0-D15 and FPSCR. */
85
+ #if ( configFPU_D32 == 1 )
86
+ #define portFPU_REGISTER_WORDS ( ( 32 * 2 ) + 1 ) /* D0-D31 and FPSCR. */
87
+ #else
88
+ #define portFPU_REGISTER_WORDS ( ( 16 * 2 ) + 1 ) /* D0-D15 and FPSCR. */
89
+ #endif /* configFPU_D32 */
86
90
87
91
/*-----------------------------------------------------------*/
88
92
Original file line number Diff line number Diff line change 80
80
/ * Save the floating point context , if any. * /
81
81
VMRSNE R1 , FPSCR
82
82
VPUSHNE {D0 - D15}
83
+ #if configFPU_D32 == 1
84
+ VPUSHNE {D16 - D31}
85
+ #endif / * configFPU_D32 * /
83
86
PUSHNE {R1}
84
87
85
88
/ * Save ulPortTaskHasFPUContext itself. * /
Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ UBaseType_t ulPortCountLeadingZeros( UBaseType_t ulBitmap );
150
150
void vPortTaskUsesFPU ( void );
151
151
#else
152
152
/* Each task has an FPU context already, so define this function as a
153
- *no-op. */
153
+ * no-op. */
154
154
#define vPortTaskUsesFPU ()
155
155
#endif
156
156
#define portTASK_USES_FLOATING_POINT () vPortTaskUsesFPU()
You can’t perform that action at this time.
0 commit comments