From 850e745dcf300cd5369d006b31e17ebfb417eab4 Mon Sep 17 00:00:00 2001 From: Tim Newsome Date: Wed, 4 May 2016 09:45:56 -0700 Subject: Use fence.i in Debug ROM. This replaces a hack that just disabled all of the icache. --- debug_rom/debug_rom.S | 1 + 1 file changed, 1 insertion(+) (limited to 'debug_rom/debug_rom.S') diff --git a/debug_rom/debug_rom.S b/debug_rom/debug_rom.S index e7e99d0..c164eeb 100755 --- a/debug_rom/debug_rom.S +++ b/debug_rom/debug_rom.S @@ -87,6 +87,7 @@ _entry: jdebugram: # Save s1 so that the debug program can use two registers. + fence.i csrr s0, CSR_MISA bltz s0, save_not_32 save_32: -- cgit v1.1