mirror of
https://github.com/saymrwulf/pulp-runtime.git
synced 2026-05-27 22:46:05 +00:00
Fix rapid synch
This commit is contained in:
parent
882c12c0ce
commit
f19891bb2b
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue