RTX: Add pointer to context to task structure

pull/1753/head
Niklas Hauser 2016-04-28 16:41:24 +01:00 committed by Milosch Meriac
parent 4cdc4a7b45
commit 259bd28c45
1 changed files with 1 additions and 0 deletions

View File

@ -79,6 +79,7 @@ typedef struct OS_TCB {
/* Task entry point used for uVision debugger */
FUNCP ptask; /* Task entry address */
void *context; /* Pointer to thread context */
} *P_TCB;
#define TCB_STACKF 37 /* 'stack_frame' offset */
#define TCB_TSTACK 44 /* 'tsk_stack' offset */