forked from Imagelibrary/rtems
2007-05-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/bspstart.c: Use uintptr_t for address arithmetics.
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
2007-05-07 Ralf Corsépius <ralf.corsepius@rtems.org>
|
2007-05-07 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
|
* startup/bspstart.c: Use uintptr_t for address arithmetics.
|
||||||
* bsp_specs: Remove -qrtems_debug.
|
* bsp_specs: Remove -qrtems_debug.
|
||||||
|
|
||||||
2006-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
|
2006-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|||||||
@@ -117,7 +117,7 @@ void bsp_postdriver_hook(void)
|
|||||||
|
|
||||||
void bsp_start(void)
|
void bsp_start(void)
|
||||||
{
|
{
|
||||||
uint32_t workspace_ptr;
|
uintptr_t workspace_ptr;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copy the table (normally done in shared main).
|
* Copy the table (normally done in shared main).
|
||||||
@@ -172,7 +172,7 @@ void bsp_start(void)
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
workspace_ptr =
|
workspace_ptr =
|
||||||
(uint32_t) sbrk(BSP_Configuration.work_space_size + CPU_ALIGNMENT);
|
(uintptr_t) sbrk(BSP_Configuration.work_space_size + CPU_ALIGNMENT);
|
||||||
workspace_ptr += CPU_ALIGNMENT - 1;
|
workspace_ptr += CPU_ALIGNMENT - 1;
|
||||||
workspace_ptr &= ~(CPU_ALIGNMENT - 1);
|
workspace_ptr &= ~(CPU_ALIGNMENT - 1);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user