mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
add Charles' flush command + recommended nops
the Vex has a custom flush instruction, after contacting charles he recommends maybe adding some nops to make sure it completes (maybe hardware bug? unclear. we're about to find out.)
This commit is contained in:
parent
c90bbb6276
commit
7b0f30c318
9 changed files with 9 additions and 0 deletions
0
xous-rs/assemble.sh
Normal file → Executable file
0
xous-rs/assemble.sh
Normal file → Executable file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -101,5 +101,14 @@ vex_aes_dec_id_last_3:
|
|||
|
||||
.global riscv_cache_flush
|
||||
riscv_cache_flush:
|
||||
.word 0x500F
|
||||
nop
|
||||
nop
|
||||
nop
|
||||
nop
|
||||
fence
|
||||
nop
|
||||
nop
|
||||
nop
|
||||
nop
|
||||
ret
|
||||
|
|
|
|||
Loading…
Reference in a new issue