소스 검색

flush cache after exception code install on ls1b

kontais 9 년 전
부모
커밋
c72433560d
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      bsp/ls1bdev/applications/startup.c

+ 3 - 0
bsp/ls1bdev/applications/startup.c

@@ -54,6 +54,9 @@ void rtthread_startup(void)
     rt_memcpy((void *)(A_K0BASE + 0x180), general_exception, 0x20);
     rt_memcpy((void *)(A_K0BASE + 0x200), irq_exception, 0x20);
 
+    invalidate_writeback_dcache_all();
+    invalidate_icache_all();
+
     /* init board */
     rt_hw_board_init();