Skip to content

Commit 0b26579

Browse files
committed
OS_TCB struct size is increased to 64 bytes (from 60 bytes). With the change to introduce stats checking in commit c1728p9, OS_TCB now includes an extra pointer, *argv, hence it is larger by 4 bytes.
1 parent f0c00bf commit 0b26579

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rtos/rtx/TARGET_CORTEX_A/RTX_CM_lib.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
#define _declare_box(pool,size,cnt) uint32_t pool[(((size)+3)/4)*(cnt) + 3]
5252
#define _declare_box8(pool,size,cnt) uint64_t pool[(((size)+7)/8)*(cnt) + 2]
5353

54-
#define OS_TCB_SIZE 60
54+
#define OS_TCB_SIZE 64
5555
#define OS_TMR_SIZE 8
5656

5757
#if defined (__CC_ARM) && !defined (__MICROLIB)

rtos/rtx/TARGET_CORTEX_M/RTX_CM_lib.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
#define _declare_box(pool,size,cnt) uint32_t pool[(((size)+3)/4)*(cnt) + 3]
5353
#define _declare_box8(pool,size,cnt) uint64_t pool[(((size)+7)/8)*(cnt) + 2]
5454

55-
#define OS_TCB_SIZE 60
55+
#define OS_TCB_SIZE 64
5656
#define OS_TMR_SIZE 8
5757

5858
typedef void *OS_ID;

0 commit comments

Comments
 (0)