summaryrefslogtreecommitdiff
path: root/src/rtos/rtos_standard_stackings.c
diff options
context:
space:
mode:
authorAlan Bowman <alan.michael.bowman@gmail.com>2011-05-11 12:12:07 +0100
committerØyvind Harboe <oyvind.harboe@zylin.com>2011-05-14 16:59:29 +0200
commit6349a47ebc860681e4dbf3bffa31273c911dc7dd (patch)
tree6fba64fe983747be72fc4d6e511de8a785f3bee0 /src/rtos/rtos_standard_stackings.c
parent53c0fb6ef5edd2292c29d048c93f73e2be5fa4ba (diff)
downloadopenocd+libswd-6349a47ebc860681e4dbf3bffa31273c911dc7dd.tar.gz
openocd+libswd-6349a47ebc860681e4dbf3bffa31273c911dc7dd.tar.bz2
openocd+libswd-6349a47ebc860681e4dbf3bffa31273c911dc7dd.tar.xz
openocd+libswd-6349a47ebc860681e4dbf3bffa31273c911dc7dd.zip
Correct stacking direction and use of address offset
Diffstat (limited to 'src/rtos/rtos_standard_stackings.c')
-rw-r--r--src/rtos/rtos_standard_stackings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtos/rtos_standard_stackings.c b/src/rtos/rtos_standard_stackings.c
index e0ae0655..e15b8b3c 100644
--- a/src/rtos/rtos_standard_stackings.c
+++ b/src/rtos/rtos_standard_stackings.c
@@ -57,7 +57,7 @@ static const struct stack_register_offset rtos_standard_Cortex_M3_stack_offsets
const struct rtos_register_stacking rtos_standard_Cortex_M3_stacking =
{
0x40, // stack_registers_size
- 1, // stack_growth_direction
+ -1, // stack_growth_direction
26, // num_output_registers
rtos_standard_Cortex_M3_stack_offsets // register_offsets
};