2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>

* shared/m68kpretaskinghook.c: Eliminate copies of the Configuration
	Table. Use the RTEMS provided accessor macros to obtain configuration
	fields.
This commit is contained in:
Joel Sherrill
2007-12-11 15:49:39 +00:00
parent 040b74f020
commit cba8eabd23
2 changed files with 7 additions and 2 deletions

View File

@@ -32,7 +32,6 @@
*/
extern void bsp_libc_init( void *, unsigned long, int );
extern rtems_configuration_table BSP_Configuration;
extern char _RamBase[];
extern char _WorkspaceBase[];
@@ -47,7 +46,7 @@ void bsp_pretasking_hook(void)
unsigned long ramSpace;
heapStart = (void *)
((unsigned long)_WorkspaceBase + BSP_Configuration.work_space_size);
((unsigned long)_WorkspaceBase + rtems_configuration_get_work_space_size());
ramSpace = (unsigned long)_RamBase + _M68k_Ramsize - (unsigned long)heapStart;
/*