diff options
Diffstat (limited to 'nuttx/arch/sh/src')
-rw-r--r-- | nuttx/arch/sh/src/common/up_assert.c | 2 | ||||
-rw-r--r-- | nuttx/arch/sh/src/sh1/sh1_head.S | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/nuttx/arch/sh/src/common/up_assert.c b/nuttx/arch/sh/src/common/up_assert.c index cef369dc7..f4a1bc080 100644 --- a/nuttx/arch/sh/src/common/up_assert.c +++ b/nuttx/arch/sh/src/common/up_assert.c @@ -170,7 +170,7 @@ static void up_dumpstate(void) if (rtcb->pid == 0) { ustackbase = g_heapbase - 4; - ustacksize = CONFIG_PROC_STACK_SIZE; + ustacksize = CONFIG_IDLETHREAD_STACKSIZE; } else { diff --git a/nuttx/arch/sh/src/sh1/sh1_head.S b/nuttx/arch/sh/src/sh1/sh1_head.S index 155723f54..61f14443d 100644 --- a/nuttx/arch/sh/src/sh1/sh1_head.S +++ b/nuttx/arch/sh/src/sh1/sh1_head.S @@ -192,9 +192,9 @@ __vector_table: */ .long __start /* 0-1: Power-on reset (hard, NMI high) PC & SP */ - .long _ebss+CONFIG_PROC_STACK_SIZE-4 + .long _ebss+CONFIG_IDLETHREAD_STACKSIZE-4 .long __start /* 2-3: Manual reset (soft, NMI low) PC & SP */ - .long _ebss+CONFIG_PROC_STACK_SIZE-4 + .long _ebss+CONFIG_IDLETHREAD_STACKSIZE-4 .rept SH1_NCMN_VECTORS-4 .long _up_invalid_handler @@ -358,7 +358,7 @@ __start: .align 2 .Lstack: - .long _ebss+CONFIG_PROC_STACK_SIZE-4 + .long _ebss+CONFIG_IDLETHREAD_STACKSIZE-4 .Lwcr1: .long 0x5ffffa2 .Lbcr: @@ -517,7 +517,7 @@ __start0: .globl _g_heapbase .type _g_heapbase, object _g_heapbase: - .long _ebss+CONFIG_PROC_STACK_SIZE + .long _ebss+CONFIG_IDLETHREAD_STACKSIZE .size _g_heapbase, .-_g_heapbase .end |