Skip to content

Commit 259bd28

Browse files
niklarmmeriac
authored andcommitted
RTX: Add pointer to context to task structure
1 parent 4cdc4a7 commit 259bd28

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rtos/rtx/TARGET_CORTEX_M/rt_TypeDef.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ typedef struct OS_TCB {
7979

8080
/* Task entry point used for uVision debugger */
8181
FUNCP ptask; /* Task entry address */
82+
void *context; /* Pointer to thread context */
8283
} *P_TCB;
8384
#define TCB_STACKF 37 /* 'stack_frame' offset */
8485
#define TCB_TSTACK 44 /* 'tsk_stack' offset */

0 commit comments

Comments
 (0)