forked from Imagelibrary/rtems
2000-12-06 Joel Sherrill <joel@OARcorp.com>
* startup/bspstart.c: Removed unused variables ramSpace and _end. Added prototype for initialize_monitor_handles(). * startup/syscalls.c: Added casts and removed unused variables to eliminate warnings.
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2000-12-06 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* startup/bspstart.c: Removed unused variables ramSpace and _end.
|
||||
Added prototype for initialize_monitor_handles().
|
||||
* startup/syscalls.c: Added casts and removed unused variables to
|
||||
eliminate warnings.
|
||||
|
||||
2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
|
||||
|
||||
@@ -60,7 +60,6 @@ void bsp_pretasking_hook(void)
|
||||
extern int HeapSize;
|
||||
void *heapStart = &HeapBase;
|
||||
unsigned long heapSize = (unsigned long)&HeapSize;
|
||||
unsigned long ramSpace;
|
||||
|
||||
bsp_libc_init(heapStart, heapSize, 0);
|
||||
|
||||
@@ -78,8 +77,8 @@ void bsp_pretasking_hook(void)
|
||||
|
||||
void bsp_start( void )
|
||||
{
|
||||
extern int _end;
|
||||
extern int WorkspaceBase;
|
||||
void initialize_monitor_handles(void);
|
||||
|
||||
initialize_monitor_handles();
|
||||
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
|
||||
|
||||
@@ -36,20 +36,18 @@ do_AngelSWI (int reason, void * arg)
|
||||
void
|
||||
initialize_monitor_handles (void)
|
||||
{
|
||||
int i;
|
||||
|
||||
#ifdef ARM_RDI_MONITOR
|
||||
int volatile block[3];
|
||||
|
||||
block[0] = (int) ":tt";
|
||||
block[2] = 3; /* length of filename */
|
||||
block[1] = 0; /* mode "r" */
|
||||
armulator_stdin = do_AngelSWI (AngelSWI_Reason_Open, block);
|
||||
armulator_stdin = do_AngelSWI (AngelSWI_Reason_Open, (void *)block);
|
||||
|
||||
block[0] = (int) ":tt";
|
||||
block[2] = 3; /* length of filename */
|
||||
block[1] = 4; /* mode "w" */
|
||||
armulator_stdout = armulator_stderr = do_AngelSWI (AngelSWI_Reason_Open, block);
|
||||
armulator_stdout = armulator_stderr = do_AngelSWI (AngelSWI_Reason_Open, (void *)block);
|
||||
#else
|
||||
int fh;
|
||||
const char * name;
|
||||
|
||||
Reference in New Issue
Block a user