forked from Imagelibrary/rtems
2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>
* startup/bspstart.c: Convert to using c99 fixed size types.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>
|
||||
|
||||
* startup/bspstart.c: Convert to using c99 fixed size types.
|
||||
|
||||
2004-02-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Reflect changes to bsp.am.
|
||||
|
||||
@@ -83,7 +83,7 @@ void *bsp_ram_end = (void *)RAM_END; /* first addr behind avail. ram area */
|
||||
*/
|
||||
|
||||
void bsp_postdriver_hook(void);
|
||||
void bsp_libc_init( void *, unsigned32, int );
|
||||
void bsp_libc_init( void *, uint32_t, int );
|
||||
|
||||
/*
|
||||
*
|
||||
@@ -117,16 +117,16 @@ void bsp_pretasking_hook(void)
|
||||
{
|
||||
extern int _end;
|
||||
extern int _heap_end;
|
||||
rtems_unsigned32 heap_start;
|
||||
rtems_unsigned32 heap_size;
|
||||
rtems_unsigned32 heap_end;
|
||||
uint32_t heap_start;
|
||||
uint32_t heap_size;
|
||||
uint32_t heap_end;
|
||||
|
||||
|
||||
heap_start = (rtems_unsigned32) &_end;
|
||||
heap_start = (uint32_t ) &_end;
|
||||
if (heap_start & (CPU_ALIGNMENT-1))
|
||||
heap_start = (heap_start + CPU_ALIGNMENT) & ~(CPU_ALIGNMENT-1);
|
||||
|
||||
heap_end = (rtems_unsigned32) &_heap_end;
|
||||
heap_end = (uint32_t ) &_heap_end;
|
||||
if (heap_end & (CPU_ALIGNMENT-1))
|
||||
heap_end = (heap_end + CPU_ALIGNMENT) & ~(CPU_ALIGNMENT-1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user