forked from Imagelibrary/rtems
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:
@@ -1,3 +1,9 @@
|
|||||||
|
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.
|
||||||
|
|
||||||
2007-05-11 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2007-05-11 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* dmv152/.cvsignore, dmv152/ChangeLog, dmv152/Makefile.am,
|
* dmv152/.cvsignore, dmv152/ChangeLog, dmv152/Makefile.am,
|
||||||
|
|||||||
@@ -32,7 +32,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
extern void bsp_libc_init( void *, unsigned long, int );
|
extern void bsp_libc_init( void *, unsigned long, int );
|
||||||
extern rtems_configuration_table BSP_Configuration;
|
|
||||||
|
|
||||||
extern char _RamBase[];
|
extern char _RamBase[];
|
||||||
extern char _WorkspaceBase[];
|
extern char _WorkspaceBase[];
|
||||||
@@ -47,7 +46,7 @@ void bsp_pretasking_hook(void)
|
|||||||
unsigned long ramSpace;
|
unsigned long ramSpace;
|
||||||
|
|
||||||
heapStart = (void *)
|
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;
|
ramSpace = (unsigned long)_RamBase + _M68k_Ramsize - (unsigned long)heapStart;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user