From f19891bb2b6adf0eb48d8ff60ba2aa80854151c7 Mon Sep 17 00:00:00 2001 From: Michael Rogenmoser Date: Thu, 16 Feb 2023 18:37:11 +0100 Subject: [PATCH] Fix rapid synch --- kernel/hmr_synch.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kernel/hmr_synch.c b/kernel/hmr_synch.c index 9387395..c865f91 100644 --- a/kernel/hmr_synch.c +++ b/kernel/hmr_synch.c @@ -347,6 +347,11 @@ void __attribute__((naked)) pos_hmr_synch() { "li t2, " QU(ARCHI_EU_DEMUX_ADDR + EU_BARRIER_DEMUX_OFFSET) " \n\t" // t1 is tmr base address "add t1, t1, t2 \n\t" "p.elw zero, " QU(EU_HW_BARR_TRIGGER_WAIT_CLEAR) "(t1) \n\t" // barrier + "nop\n\t" + "nop\n\t" + "nop\n\t" + "nop\n\t" + "nop\n\t" "j pos_hmr_load_part_from_stack \n" // Executes mret // Rest is the normal SW routine