mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
Revert removal of configFPU_D32
This commit is contained in:
parent
3560308473
commit
39cf561086
|
@ -82,7 +82,11 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* The space on the stack required to hold the FPU registers. */
|
/* The space on the stack required to hold the FPU registers. */
|
||||||
|
#if ( configFPU_D32 == 1 )
|
||||||
|
#define portFPU_REGISTER_WORDS ( ( 32 * 2 ) + 1 ) /* D0-D31 and FPSCR. */
|
||||||
|
#else
|
||||||
#define portFPU_REGISTER_WORDS ( ( 16 * 2 ) + 1 ) /* D0-D15 and FPSCR. */
|
#define portFPU_REGISTER_WORDS ( ( 16 * 2 ) + 1 ) /* D0-D15 and FPSCR. */
|
||||||
|
#endif /* configFPU_D32 */
|
||||||
|
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
|
|
|
@ -80,6 +80,9 @@
|
||||||
/* Save the floating point context, if any. */
|
/* Save the floating point context, if any. */
|
||||||
VMRSNE R1, FPSCR
|
VMRSNE R1, FPSCR
|
||||||
VPUSHNE {D0-D15}
|
VPUSHNE {D0-D15}
|
||||||
|
#if configFPU_D32 == 1
|
||||||
|
VPUSHNE {D16-D31}
|
||||||
|
#endif /* configFPU_D32 */
|
||||||
PUSHNE {R1}
|
PUSHNE {R1}
|
||||||
|
|
||||||
/* Save ulPortTaskHasFPUContext itself. */
|
/* Save ulPortTaskHasFPUContext itself. */
|
||||||
|
|
Loading…
Reference in a new issue