forked from Imagelibrary/rtems
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.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user