[rtems commit] bsp/leon3: Do not use internal cache API

Sebastian Huber sebh at rtems.org
Fri Feb 2 06:08:57 UTC 2018


Module:    rtems
Branch:    master
Commit:    5f0a6376777e4a3449a8d449aa989b8373fc447b
Changeset: http://git.rtems.org/rtems/commit/?id=5f0a6376777e4a3449a8d449aa989b8373fc447b

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Feb  1 09:39:14 2018 +0100

bsp/leon3: Do not use internal cache API

Update #3285.

---

 c/src/lib/libbsp/sparc/leon3/startup/bspsmp.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/c/src/lib/libbsp/sparc/leon3/startup/bspsmp.c b/c/src/lib/libbsp/sparc/leon3/startup/bspsmp.c
index ef9cd39..280788f 100644
--- a/c/src/lib/libbsp/sparc/leon3/startup/bspsmp.c
+++ b/c/src/lib/libbsp/sparc/leon3/startup/bspsmp.c
@@ -16,7 +16,6 @@
 #include <bsp.h>
 #include <bsp/bootcard.h>
 #include <bsp/fatal.h>
-#include <cache_.h>
 #include <leon.h>
 #include <rtems/bspIo.h>
 #include <rtems/score/smpimpl.h>
@@ -88,7 +87,7 @@ void _CPU_SMP_Finalize_initialization( uint32_t cpu_count )
 
 void _CPU_SMP_Prepare_start_multitasking( void )
 {
-  _CPU_cache_invalidate_entire_instruction();
+  rtems_cache_invalidate_entire_instruction();
 }
 
 void _CPU_SMP_Send_interrupt(uint32_t target_processor_index)




More information about the vc mailing list