forked from Imagelibrary/rtems
2007-11-30 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c: BSP_DIRTY_MEMORY should be tested for zero not just defined.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2007-11-30 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* startup/bspstart.c: BSP_DIRTY_MEMORY should be tested for zero not
|
||||||
|
just defined.
|
||||||
|
|
||||||
2007-11-29 Till Straumann <strauman@slac.stanford.edu>
|
2007-11-29 Till Straumann <strauman@slac.stanford.edu>
|
||||||
|
|
||||||
* startup/bspstart.c, Makefile.am: Initialize BATs and enable MMU
|
* startup/bspstart.c, Makefile.am: Initialize BATs and enable MMU
|
||||||
|
|||||||
@@ -189,7 +189,7 @@ void bsp_start( void )
|
|||||||
}
|
}
|
||||||
|
|
||||||
BSP_Configuration.work_space_start = work_space_start;
|
BSP_Configuration.work_space_start = work_space_start;
|
||||||
#if defined(BSP_DIRTY_MEMORY)
|
#if (BSP_DIRTY_MEMORY == 1)
|
||||||
{
|
{
|
||||||
memset(&end, 0xCF, (unsigned char *)&RAM_END - (unsigned char *)&end );
|
memset(&end, 0xCF, (unsigned char *)&RAM_END - (unsigned char *)&end );
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user