mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-20 05:21:59 -04:00
Correct cut and paste asm code.
This commit is contained in:
parent
2855dbaa43
commit
125a9ef81d
|
@ -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 "); \
|
||||||
|
|
Loading…
Reference in a new issue