]> granicus.if.org Git - esp-idf/commitdiff
Fix offset of coreid in tasktcb
authorJeroen Domburg <git@j0h.nl>
Wed, 12 Oct 2016 10:17:58 +0000 (18:17 +0800)
committerJeroen Domburg <git@j0h.nl>
Wed, 12 Oct 2016 10:17:58 +0000 (18:17 +0800)
components/freertos/xtensa_vectors.S

index f0d874a59c2ba7e99c07025861c0ac0c9a024617..0e83cb0850c6523a95e9cf9a216a9e6fe6d5183b 100644 (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.
   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
 
 /* Enable stack backtrace across exception/interrupt - see below */