mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-11-05 03:02:36 -05:00
portable: aarch64_sre: add the configuration and status registers to the fpu saved context
FPSR and FPCR are two 64-bits registers where only the lower 32 bits are defined. Save them when doing context switch with FPU context saving enabled. Signed-off-by: Marouen Ghodhbane <marouen.ghodhbane@nxp.com>
This commit is contained in:
parent
ff0989e46b
commit
630cfb5b79
2 changed files with 11 additions and 3 deletions
|
|
@ -122,8 +122,8 @@
|
|||
}
|
||||
|
||||
/* The space on the stack required to hold the FPU registers.
|
||||
* There are 32 128-bit registers.*/
|
||||
#define portFPU_REGISTER_WORDS ( 32 * 2 )
|
||||
* There are 32 128-bit plus 2 64-bit status registers.*/
|
||||
#define portFPU_REGISTER_WORDS ( (32 * 2) + 2 )
|
||||
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue