mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
components/freertos: removed some dead ifdefs
This commit is contained in:
parent
c14fc39b0a
commit
e480435879
@ -129,18 +129,11 @@ STRUCT_FIELD (long, 4, XT_STK_LEND, lend)
|
|||||||
STRUCT_FIELD (long, 4, XT_STK_LCOUNT, lcount)
|
STRUCT_FIELD (long, 4, XT_STK_LCOUNT, lcount)
|
||||||
#endif
|
#endif
|
||||||
#ifndef __XTENSA_CALL0_ABI__
|
#ifndef __XTENSA_CALL0_ABI__
|
||||||
#ifdef CONFIG_FREERTOS_PORT_OPTIMIZE_INTERRUPT_HANDLING
|
|
||||||
/* Todo prepare the stack frame to receive all windows regisster */
|
|
||||||
STRUCT_FIELD (long, 4, XT_STK_TMP0, tmp0)
|
|
||||||
STRUCT_FIELD (long, 4, XT_STK_TMP1, tmp1)
|
|
||||||
STRUCT_FIELD (long, 4, XT_STK_TMP2, tmp2)
|
|
||||||
#else
|
|
||||||
/* Temporary space for saving stuff during window spill */
|
/* Temporary space for saving stuff during window spill */
|
||||||
STRUCT_FIELD (long, 4, XT_STK_TMP0, tmp0)
|
STRUCT_FIELD (long, 4, XT_STK_TMP0, tmp0)
|
||||||
STRUCT_FIELD (long, 4, XT_STK_TMP1, tmp1)
|
STRUCT_FIELD (long, 4, XT_STK_TMP1, tmp1)
|
||||||
STRUCT_FIELD (long, 4, XT_STK_TMP2, tmp2)
|
STRUCT_FIELD (long, 4, XT_STK_TMP2, tmp2)
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
#ifdef XT_USE_SWPRI
|
#ifdef XT_USE_SWPRI
|
||||||
/* Storage for virtual priority mask */
|
/* Storage for virtual priority mask */
|
||||||
STRUCT_FIELD (long, 4, XT_STK_VPRI, vpri)
|
STRUCT_FIELD (long, 4, XT_STK_VPRI, vpri)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user