mirror of
https://github.com/FreeRTOS/FreeRTOS.git
synced 2025-06-25 18:57:01 +08:00
Correct cut and paste asm code.
This commit is contained in:
@ -82,7 +82,7 @@
|
|||||||
#error configKERNEL_INTERRUPT_PRIORITY (set in FreeRTOSConfig.h) must match the ILM value set in the following line - 30 (1Eh) being the default.
|
#error configKERNEL_INTERRUPT_PRIORITY (set in FreeRTOSConfig.h) must match the ILM value set in the following line - 30 (1Eh) being the default.
|
||||||
#endif
|
#endif
|
||||||
#define portDISABLE_INTERRUPTS() __asm(" STILM #1Eh ")
|
#define portDISABLE_INTERRUPTS() __asm(" STILM #1Eh ")
|
||||||
#define portENABLE_INTERRUPTS() __asm(" MOVL ILM, #1Fh ")
|
#define portENABLE_INTERRUPTS() __asm(" STILM #1Fh ")
|
||||||
|
|
||||||
#define portENTER_CRITICAL() \
|
#define portENTER_CRITICAL() \
|
||||||
__asm(" ST PS,@-R15 "); \
|
__asm(" ST PS,@-R15 "); \
|
||||||
|
Reference in New Issue
Block a user