mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-21 22:11:57 -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
|
#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.
|
#error configKERNEL_INTERRUPT_PRIORITY (set in FreeRTOSConfig.h) must match the ILM value set in the following line - #06H being the default.
|
||||||
#endif
|
#endif
|
||||||
#define portENABLE_INTERRUPTS() __asm(" MOV ILM, #06h ")
|
#define portDISABLE_INTERRUPTS() __asm(" MOV ILM, #06h ")
|
||||||
#define portDISABLE_INTERRUPTS() __asm(" MOV ILM, #07h ")
|
#define portENABLE_INTERRUPTS() __asm(" MOV ILM, #07h ")
|
||||||
|
|
||||||
#define portENTER_CRITICAL() \
|
#define portENTER_CRITICAL() \
|
||||||
{ __asm(" PUSHW PS "); \
|
{ __asm(" PUSHW PS "); \
|
||||||
|
|
Loading…
Reference in a new issue