mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-20 05:21:59 -04:00
This commit is contained in:
parent
babd7f05f7
commit
95189f40d2
|
@ -90,8 +90,8 @@ FreeRTOSConfig.h to set the configMEMMODEL value. */
|
|||
#if configKERNEL_INTERRUPT_PRIORITY != 6
|
||||
#error configKERNEL_INTERRUPT_PRIORITY (set in FreeRTOSConfig.h) must match the ILM value set in the following line - #06H being the default.
|
||||
#endif
|
||||
#define portENABLE_INTERRUPTS() __asm(" MOV ILM, #06h ")
|
||||
#define portDISABLE_INTERRUPTS() __asm(" MOV ILM, #07h ")
|
||||
#define portDISABLE_INTERRUPTS() __asm(" MOV ILM, #06h ")
|
||||
#define portENABLE_INTERRUPTS() __asm(" MOV ILM, #07h ")
|
||||
|
||||
#define portENTER_CRITICAL() \
|
||||
{ __asm(" PUSHW PS "); \
|
||||
|
|
Loading…
Reference in a new issue