Merge pull request #826 from adamgreen/rtxSupportStacksLargerThan64k

RTX: Support stacks larger than 64k
pull/809/head
Martin Kojtal 2015-01-05 07:48:32 +01:00
commit 5748a9da69
10 changed files with 12 additions and 11 deletions

View File

@ -35,7 +35,7 @@
.file "HAL_CM0.S"
.syntax unified
.equ TCB_TSTACK, 36
.equ TCB_TSTACK, 40
/*----------------------------------------------------------------------------

View File

@ -34,7 +34,7 @@
NAME HAL_CM0.S
#define TCB_TSTACK 36
#define TCB_TSTACK 40
EXTERN os_flags
EXTERN os_tsk

View File

@ -35,7 +35,7 @@
.file "HAL_CM0.S"
.syntax unified
.equ TCB_TSTACK, 36
.equ TCB_TSTACK, 40
/*----------------------------------------------------------------------------

View File

@ -34,7 +34,7 @@
NAME HAL_CM0.S
#define TCB_TSTACK 36
#define TCB_TSTACK 40
EXTERN os_flags
EXTERN os_tsk

View File

@ -35,7 +35,7 @@
.file "HAL_CM3.S"
.syntax unified
.equ TCB_TSTACK, 36
.equ TCB_TSTACK, 40
/*----------------------------------------------------------------------------

View File

@ -34,7 +34,7 @@
NAME HAL_CM3.S
#define TCB_TSTACK 36
#define TCB_TSTACK 40
EXTERN os_flags
EXTERN os_tsk

View File

@ -36,7 +36,7 @@
.syntax unified
.equ TCB_STACKF, 32
.equ TCB_TSTACK, 36
.equ TCB_TSTACK, 40
/*----------------------------------------------------------------------------

View File

@ -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

View File

@ -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 */

View File

@ -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 */