From ea08eeccae9297f7aabd2ef7f0c2517ac4549acc Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Tue, 20 Feb 2024 01:18:26 +0000 Subject: [PATCH] write in 30M --- kernel/arch/microblaze/kernel/misc.S | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/kernel/arch/microblaze/kernel/misc.S b/kernel/arch/microblaze/kernel/misc.S index 6759af6..1228a09 100644 --- a/kernel/arch/microblaze/kernel/misc.S +++ b/kernel/arch/microblaze/kernel/misc.S @@ -39,7 +39,7 @@ rsubi r11, r12, MICROBLAZE_TLB_SIZE - 1 bneid r11, _tlbia_1 /* loop for all entries */ addik r12, r12, 1 - /* sync */ + mbar 1 /* sync */ rtsd r15, 8 nop .size _tlbia, . - _tlbia @@ -58,6 +58,7 @@ blti r12, _tlbie_1 /* Check if found */ mts rtlbhi, r0 /* flush: ensure V is clear */ nop + mbar 1 /* sync */ _tlbie_1: rtsd r15, 8 nop -- Gitblit v1.6.2