* startup/bspstart.c: Remove local prototypes of promCopyDcacheFlush,

promCopyIcacheFlush.
	* include/bsp.h: Add prototypes of promCopyDcacheFlush and
	promCopyIcacheFlush.
This commit is contained in:
Ralf Corsepius
2009-11-16 14:11:16 +00:00
parent 4edf8db59f
commit 5e9c2be3f9
3 changed files with 12 additions and 3 deletions

View File

@@ -1,3 +1,10 @@
2009-11-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/bspstart.c: Remove local prototypes of promCopyDcacheFlush,
promCopyIcacheFlush.
* include/bsp.h: Add prototypes of promCopyDcacheFlush and
promCopyIcacheFlush.
2009-11-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/bspstart.c: Remove nested externs.

View File

@@ -54,6 +54,11 @@ extern void assertSoftwareInterrupt(uint32_t);
rtems_isr_entry set_vector( rtems_isr_entry, rtems_vector_number, int );
/* from start.S */
extern void promCopyIcacheFlush(void);
extern void promCopyDcacheFlush(void);
#ifdef __cplusplus
}
#endif

View File

@@ -87,9 +87,6 @@ void bsp_start( void )
void clear_cache( void )
{
extern void promCopyIcacheFlush(void); /* from start.S */
extern void promCopyDcacheFlush(void);
promCopyIcacheFlush();
promCopyDcacheFlush();
}