diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-05-15 15:52:00 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-05-15 15:52:00 +0000 |
commit | 19f4a3491451cc77a8eebf583b144e78b58a3b61 (patch) | |
tree | 76e16401b8249aaca0be6af5c1a4af6c35ea17ff /c/src/lib/libbsp/m68k/mvme136/startup/bspstart.c | |
parent | disabled debugging output (diff) | |
download | rtems-19f4a3491451cc77a8eebf583b144e78b58a3b61.tar.bz2 |
2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac, startup/bspstart.c: Add capability for
bootcard.c BSP Initialization Framework to ask the BSP where it has
memory for the RTEMS Workspace and C Program Heap. These collectively
are referred to as work area. If the BSP supports this, then it does
not have to include code to split the available memory between the
two areas. This reduces the amount of code in the BSP specific
bspstart.c file. Additionally, the shared framework can dirty the
work area memory. Until most/all BSPs support this new capability, if
the BSP supports this, it should call
RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION from its configure.ac. When
the transition is complete, this autoconf macro can be removed.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/m68k/mvme136/startup/bspstart.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/c/src/lib/libbsp/m68k/mvme136/startup/bspstart.c b/c/src/lib/libbsp/m68k/mvme136/startup/bspstart.c index 24b20a4934..3af97ee2ec 100644 --- a/c/src/lib/libbsp/m68k/mvme136/startup/bspstart.c +++ b/c/src/lib/libbsp/m68k/mvme136/startup/bspstart.c @@ -22,27 +22,14 @@ #include <rtems/zilog/z8036.h> /* - * Use the shared implementations of the following routines - */ - -void bsp_libc_init( void *, uint32_t, int ); -void bsp_pretasking_hook(void); /* m68k version */ - -/* * bsp_start * * This routine does the bulk of the system initialization. */ - void bsp_start( void ) { m68k_isr_entry *monitors_vector_table; int index; - extern void *_WorkspaceBase; - extern void *_RamSize; - extern unsigned long _M68k_Ramsize; - - _M68k_Ramsize = (unsigned long)&_RamSize; monitors_vector_table = (m68k_isr_entry *)0; /* 135Bug Vectors are at 0 */ m68k_set_vbr( monitors_vector_table ); @@ -60,6 +47,4 @@ void bsp_start( void ) (*(uint8_t*)0xfffb0067) = 0x7f; /* make VME access round-robin */ rtems_cache_enable_instruction(); - - Configuration.work_space_start = (void *) &_WorkspaceBase; } |