File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
bsp/xuantie/virt64/c906/libcpu Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -50,12 +50,12 @@ rt_always_inline void rt_hw_cpu_dcache_clean_and_invalidate_all_local(void)
5050/*use fence.i to invalidate all icache*/
5151rt_always_inline void rt_hw_cpu_icache_invalidate_local (void * addr , int size )
5252{
53- __asm__ __volatile__( "fence.i" ::: "memory" );
53+
5454}
5555/*use fence.i to invalidate all icache*/
5656rt_always_inline void rt_hw_cpu_icache_invalidate_all_local (void )
5757{
58- __asm__ __volatile__( "fence.i" ::: "memory" );
58+
5959}
6060
6161/**
@@ -78,7 +78,7 @@ rt_always_inline void rt_hw_cpu_icache_invalidate_all_local(void)
7878/** instruction barrier */
7979static inline void rt_hw_cpu_sync (void )
8080{
81- __asm__ __volatile__( "fence.i" ::: "memory" );
81+
8282}
8383
8484/**
You can’t perform that action at this time.
0 commit comments