forked from Imagelibrary/rtems
2008-06-10 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* shared/m68kbspgetworkarea.c: Fix extern type to RamSize. * shared/m68kpretaskinghook.c: Do not handle the RAM allocation if the BSP is handling it. * acinclude.m4: Add the mcf52235 BSP.
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2008-06-10 Matthew Riek <matthew.riek@ibiscomputer.com.au>
|
||||
|
||||
* shared/m68kbspgetworkarea.c: Fix extern type to RamSize.
|
||||
* shared/m68kpretaskinghook.c: Do not handle the RAM allocation if
|
||||
the BSP is handling it.
|
||||
* acinclude.m4: Add the mcf52235 BSP.
|
||||
|
||||
2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* shared/m68kpretaskinghook.c: Add capability for bootcard.c BSP
|
||||
|
||||
@@ -16,6 +16,8 @@ AC_DEFUN([RTEMS_CHECK_BSPDIR],
|
||||
AC_CONFIG_SUBDIRS([idp]);;
|
||||
mcf5206elite )
|
||||
AC_CONFIG_SUBDIRS([mcf5206elite]);;
|
||||
mcf52235 )
|
||||
AC_CONFIG_SUBDIRS([mcf52235]);;
|
||||
mcf5235 )
|
||||
AC_CONFIG_SUBDIRS([mcf5235]);;
|
||||
mrm332 )
|
||||
|
||||
@@ -29,7 +29,7 @@ void bsp_get_workarea(
|
||||
extern char _RamBase[];
|
||||
extern char _WorkspaceBase[];
|
||||
extern char _HeapSize[];
|
||||
extern void *_RamSize;
|
||||
extern char _RamSize[];
|
||||
|
||||
*workarea_base = _WorkspaceBase;
|
||||
*workarea_size = (unsigned long)_RamBase + (unsigned long) _RamSize -
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#if !defined(BSP_BOOTCARD_HANDLES_RAM_ALLOCATION)
|
||||
extern void bsp_libc_init( void *, unsigned long, int );
|
||||
|
||||
extern char _RamBase[];
|
||||
@@ -38,9 +39,11 @@ extern char _WorkspaceBase[];
|
||||
extern char _HeapSize[];
|
||||
|
||||
unsigned long _M68k_Ramsize;
|
||||
#endif
|
||||
|
||||
void bsp_pretasking_hook(void)
|
||||
{
|
||||
#if !defined(BSP_BOOTCARD_HANDLES_RAM_ALLOCATION)
|
||||
void *heapStart;
|
||||
unsigned long heapSize = (unsigned long)_HeapSize;
|
||||
unsigned long ramSpace;
|
||||
@@ -59,4 +62,5 @@ void bsp_pretasking_hook(void)
|
||||
rtems_fatal_error_occurred (('H'<<24) | ('E'<<16) | ('A'<<8) | 'P');
|
||||
|
||||
bsp_libc_init(heapStart, heapSize, 0);
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user