diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-03-30 11:12:47 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-03-30 11:12:47 +0000 |
commit | 9919946a826082275166ebfe37eee168672f7eca (patch) | |
tree | c6165403496985bbec8fb1a6b823e1032991673a /testsuites/libtests/stackchk/blow.c | |
parent | 2004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org> (diff) | |
download | rtems-9919946a826082275166ebfe37eee168672f7eca.tar.bz2 |
2004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org>
* cpuuse/system.h, cpuuse/task1.c, cpuuse/tswitch.c, monitor/init.c,
monitor/system.h, rtems++/System.h, rtems++/Task1.cc,
rtems++/Task2.cc, rtems++/Task3.cc, rtmonuse/init.c,
rtmonuse/system.h, rtmonuse/task1.c, stackchk/blow.c: Convert to
using c99 fixed size types.
Diffstat (limited to '')
-rw-r--r-- | testsuites/libtests/stackchk/blow.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuites/libtests/stackchk/blow.c b/testsuites/libtests/stackchk/blow.c index 5049266ea2..ca9b4052cd 100644 --- a/testsuites/libtests/stackchk/blow.c +++ b/testsuites/libtests/stackchk/blow.c @@ -19,7 +19,7 @@ void b() {} void blow_stack( void ) { - volatile unsigned32 *low, *high; + volatile uint32_t *low, *high; unsigned char *area; b(); @@ -30,8 +30,8 @@ b(); area = (unsigned char *)_Thread_Executing->Start.Initial_stack.area; - low = (volatile unsigned32 *) (area + HEAP_OVERHEAD); - high = (volatile unsigned32 *) + low = (volatile uint32_t *) (area + HEAP_OVERHEAD); + high = (volatile uint32_t *) (area + _Thread_Executing->Start.Initial_stack.size - 16); |