mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
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>
|
2004-02-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
* Makefile.am: Reflect changes to bsp.am.
|
* Makefile.am: Reflect changes to bsp.am.
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ void *bsp_ram_end = (void *)RAM_END; /* first addr behind avail. ram area */
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
void bsp_postdriver_hook(void);
|
void bsp_postdriver_hook(void);
|
||||||
void bsp_libc_init( void *, unsigned32, int );
|
void bsp_libc_init( void *, uint32_t, int );
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
@@ -114,9 +114,9 @@ void bsp_predriver_hook(void)
|
|||||||
void bsp_pretasking_hook(void)
|
void bsp_pretasking_hook(void)
|
||||||
{
|
{
|
||||||
extern int _end;
|
extern int _end;
|
||||||
rtems_unsigned32 heap_start;
|
uint32_t heap_start;
|
||||||
|
|
||||||
heap_start = (rtems_unsigned32) &_end;
|
heap_start = (uint32_t) &_end;
|
||||||
if (heap_start & (CPU_ALIGNMENT-1))
|
if (heap_start & (CPU_ALIGNMENT-1))
|
||||||
heap_start = (heap_start + CPU_ALIGNMENT) & ~(CPU_ALIGNMENT-1);
|
heap_start = (heap_start + CPU_ALIGNMENT) & ~(CPU_ALIGNMENT-1);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user