*** task.c.bak 2007-03-12 20:26:01.000000000 +0900 --- task.c 2007-09-20 21:13:18.000000000 +0900 *************** *** 50,55 **** --- 50,61 ---- #endif /* USE_FUNC_TCB_TABLE */ #ifdef USE_FUNC_TASK_INITIALIZE + + LOCAL const TCB *DummyTCB = NULL; + EXPORT const UH TCB_tskid = (UH)&DummyTCB->tskid - (UH)DummyTCB; + EXPORT const UH TCB_state = (UH)&DummyTCB->state - (UH)DummyTCB; + EXPORT const UH CTXB_ssp = (UH)&DummyTCB->tskctxb.ssp - (UH)DummyTCB; + /* * TCB Initialization */