mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 09:38:32 -04:00
Update to include the option of saving/restoring the floating point context.
This commit is contained in:
parent
6177c6e4a4
commit
45fceb4bdd
4 changed files with 247 additions and 1 deletions
|
@ -67,7 +67,16 @@
|
|||
#define portCRITICAL_INTERRUPT_ENABLE ( 1UL << 17UL )
|
||||
#define portEXTERNAL_INTERRUPT_ENABLE ( 1UL << 15UL )
|
||||
#define portMACHINE_CHECK_ENABLE ( 1UL << 12UL )
|
||||
#define portINITIAL_MSR ( portCRITICAL_INTERRUPT_ENABLE | portEXTERNAL_INTERRUPT_ENABLE | portMACHINE_CHECK_ENABLE )
|
||||
|
||||
#if configUSE_FPU == 1
|
||||
#define portAPU_PRESENT ( 1UL << 25UL )
|
||||
#define portFCM_FPU_PRESENT ( 1UL << 13UL )
|
||||
#else
|
||||
#define portAPU_PRESENT ( 0UL )
|
||||
#define portFCM_FPU_PRESENT ( 0UL )
|
||||
#endif
|
||||
|
||||
#define portINITIAL_MSR ( portCRITICAL_INTERRUPT_ENABLE | portEXTERNAL_INTERRUPT_ENABLE | portMACHINE_CHECK_ENABLE | portAPU_PRESENT | portFCM_FPU_PRESENT )
|
||||
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue