Unmagic the thread pointer offset.

This commit is contained in:
Ruslan Bukin 2016-04-14 15:31:05 +00:00
parent a48bd01151
commit 5be589603e

View File

@ -46,7 +46,7 @@
#define CPU_SPINWAIT
#define DTV_OFFSET offsetof(struct tcb, tcb_dtv)
#define TP_OFFSET 0x10
#define TP_OFFSET sizeof(struct tcb)
/*
* Variant I tcb. The structure layout is fixed, don't blindly