Преглед изворни кода

Merge pull request #8 from rajnesh-kanwal/fix_cache_issue

Fix I and D cache synchronization issue
MichaelZhuxx пре 3 година
родитељ
комит
2e2f6faaf1
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      boot/start.S

+ 2 - 0
boot/start.S

@@ -108,6 +108,8 @@ _start:
 	j .LwaitOtherHart
 
 .enter_uboot:
+	# Synchronize the instruction and data caches.
+	fence.i
 	li t0, DEFAULT_UBOOT_ADDR
 	csrr a0, mhartid
 	la a1, 0