Fix offset of coreid in tasktcb

This commit is contained in:
Jeroen Domburg 2016-10-12 18:17:58 +08:00
parent 89097d5f11
commit 03bd5b6d22

View File

@ -96,7 +96,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Define for workaround: pin no-cpu-affinity tasks to a cpu when fpu is used. Define for workaround: pin no-cpu-affinity tasks to a cpu when fpu is used.
Please change this when the tcb structure is changed Please change this when the tcb structure is changed
*/ */
#define TASKTCB_XCOREID_OFFSET (0x3C+configMAX_TASK_NAME_LEN+3)&~3 #define TASKTCB_XCOREID_OFFSET (0x38+configMAX_TASK_NAME_LEN+3)&~3
.extern pxCurrentTCB .extern pxCurrentTCB
/* Enable stack backtrace across exception/interrupt - see below */ /* Enable stack backtrace across exception/interrupt - see below */