summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/c5471
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-11-01 11:16:51 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-11-01 11:16:51 -0600
commit1087c67c2acf53fbe1f549e89be6b70705b87792 (patch)
tree61f1d974a05187e9608eda2e79565654c03d308c /nuttx/arch/arm/src/c5471
parent9741311259ee5434987dc8c9918f29e355d22c4f (diff)
downloadnuttx-1087c67c2acf53fbe1f549e89be6b70705b87792.tar.gz
nuttx-1087c67c2acf53fbe1f549e89be6b70705b87792.tar.bz2
nuttx-1087c67c2acf53fbe1f549e89be6b70705b87792.zip
Extend stack debug logic to include IDLE and interrupt stacks. Also color the heap as well. Based on suggestions from David Sidrane
Diffstat (limited to 'nuttx/arch/arm/src/c5471')
-rw-r--r--nuttx/arch/arm/src/c5471/c5471_vectors.S17
1 files changed, 8 insertions, 9 deletions
diff --git a/nuttx/arch/arm/src/c5471/c5471_vectors.S b/nuttx/arch/arm/src/c5471/c5471_vectors.S
index aa514b03f..a553f7219 100644
--- a/nuttx/arch/arm/src/c5471/c5471_vectors.S
+++ b/nuttx/arch/arm/src/c5471/c5471_vectors.S
@@ -179,7 +179,7 @@ up_vectorirq:
.word g_irqtmp
#if CONFIG_ARCH_INTERRUPTSTACK > 3
.Lirqstackbase:
- .word up_stackbase
+ .word g_intstackbase
#endif
.align 5
@@ -462,7 +462,7 @@ up_vectoraddrexcptn:
b up_vectoraddrexcptn
/************************************************************************************
- * Name: up_interruptstack/g_userstack
+ * Name: g_intstackalloc/g_intstackbase
*
* Description:
* Shouldn't happen
@@ -472,14 +472,13 @@ up_vectoraddrexcptn:
#if CONFIG_ARCH_INTERRUPTSTACK > 3
.bss
.align 4
- .globl g_userstack
- .type g_userstack, object
-up_interruptstack:
+ .globl g_intstackbase
+ .type g_intstackbase, object
+g_intstackalloc:
.skip ((CONFIG_ARCH_INTERRUPTSTACK & ~3) - 4)
-g_userstack:
-up_stackbase:
+g_intstackbase:
.skip 4
- .size g_userstack, 4
- .size up_interruptstack, (CONFIG_ARCH_INTERRUPTSTACK & ~3)
+ .size g_intstackbase, 4
+ .size g_intstackalloc, (CONFIG_ARCH_INTERRUPTSTACK & ~3)
#endif
.end