[rtems commit] bsp/leon3: Do not invalidate cache in SMP start

Sebastian Huber sebh at rtems.org
Mon Dec 13 07:21:24 UTC 2021


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Jul  1 08:27:11 2021 +0200

bsp/leon3: Do not invalidate cache in SMP start

Since the trap table is now statically initialized, there is no need to
invalidate the instruction cache.

---

 bsps/sparc/leon3/start/bspsmp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bsps/sparc/leon3/start/bspsmp.c b/bsps/sparc/leon3/start/bspsmp.c
index 74f9df5..acd9328 100644
--- a/bsps/sparc/leon3/start/bspsmp.c
+++ b/bsps/sparc/leon3/start/bspsmp.c
@@ -105,7 +105,7 @@ void _CPU_SMP_Finalize_initialization( uint32_t cpu_count )
 
 void _CPU_SMP_Prepare_start_multitasking( void )
 {
-  rtems_cache_invalidate_entire_instruction();
+  /* Do nothing */
 }
 
 void _CPU_SMP_Send_interrupt(uint32_t target_processor_index)



More information about the vc mailing list