mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #826 from adamgreen/rtxSupportStacksLargerThan64k
RTX: Support stacks larger than 64kpull/809/head
commit
5748a9da69
|
@ -35,7 +35,7 @@
|
|||
.file "HAL_CM0.S"
|
||||
.syntax unified
|
||||
|
||||
.equ TCB_TSTACK, 36
|
||||
.equ TCB_TSTACK, 40
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------------
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
NAME HAL_CM0.S
|
||||
|
||||
#define TCB_TSTACK 36
|
||||
#define TCB_TSTACK 40
|
||||
|
||||
EXTERN os_flags
|
||||
EXTERN os_tsk
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
.file "HAL_CM0.S"
|
||||
.syntax unified
|
||||
|
||||
.equ TCB_TSTACK, 36
|
||||
.equ TCB_TSTACK, 40
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------------
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
NAME HAL_CM0.S
|
||||
|
||||
#define TCB_TSTACK 36
|
||||
#define TCB_TSTACK 40
|
||||
|
||||
EXTERN os_flags
|
||||
EXTERN os_tsk
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
.file "HAL_CM3.S"
|
||||
.syntax unified
|
||||
|
||||
.equ TCB_TSTACK, 36
|
||||
.equ TCB_TSTACK, 40
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------------
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
NAME HAL_CM3.S
|
||||
|
||||
#define TCB_TSTACK 36
|
||||
#define TCB_TSTACK 40
|
||||
|
||||
EXTERN os_flags
|
||||
EXTERN os_tsk
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
.syntax unified
|
||||
|
||||
.equ TCB_STACKF, 32
|
||||
.equ TCB_TSTACK, 36
|
||||
.equ TCB_TSTACK, 40
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------------
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
NAME HAL_CM4.S
|
||||
|
||||
#define TCB_STACKF 32
|
||||
#define TCB_TSTACK 36
|
||||
#define TCB_TSTACK 40
|
||||
|
||||
EXTERN os_flags
|
||||
EXTERN os_tsk
|
||||
|
|
|
@ -32,8 +32,9 @@ typedef struct OS_TCB {
|
|||
|
||||
/* Hardware dependant part: specific for CM processor */
|
||||
U8 stack_frame; /* Stack frame: 0=Basic, 1=Extended */
|
||||
U8 reserved;
|
||||
U16 priv_stack; /* Private stack size in bytes */
|
||||
U8 reserved1;
|
||||
U16 reserved2;
|
||||
U32 priv_stack; /* Private stack size in bytes */
|
||||
U32 tsk_stack; /* Current task Stack pointer (R13) */
|
||||
U32 *stack; /* Pointer to Task Stack memory block */
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ typedef void *OS_ID;
|
|||
typedef U32 OS_RESULT;
|
||||
|
||||
#define TCB_STACKF 32 /* 'stack_frame' offset */
|
||||
#define TCB_TSTACK 36 /* 'tsk_stack' offset */
|
||||
#define TCB_TSTACK 40 /* 'tsk_stack' offset */
|
||||
|
||||
typedef struct OS_PSFE { /* Post Service Fifo Entry */
|
||||
void *id; /* Object Identification */
|
||||
|
|
Loading…
Reference in New Issue