mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 20:44:39 +08:00
risc-v/litex: Update docs for vexriscv invalidate and no-op flush.
Per further feedback from Litex community, the vexriscv cache is write-through so no flush is required - therefore, make it a nop. And add a pointer to vexriscv invalidation magic instr docs. Signed-off-by: Justin Erenkrantz <justin@erenkrantz.com>
This commit is contained in:
committed by
Lup Yuen Lee
parent
0737eb3325
commit
220263e7c4
@@ -52,6 +52,9 @@
|
||||
.globl up_invalidate_dcache_all
|
||||
.type up_invalidate_dcache_all, function
|
||||
|
||||
/* Invalidate entire cache via the 0x500F instruction
|
||||
* See https://github.com/SpinalHDL/VexRiscv?tab=readme-ov-file#dbuscachedplugin
|
||||
*/
|
||||
up_invalidate_dcache_all:
|
||||
.word 0x500F
|
||||
#endif
|
||||
@@ -74,8 +77,9 @@ up_invalidate_dcache_all:
|
||||
.globl up_flush_dcache_all
|
||||
.type up_flush_dcache_all, function
|
||||
|
||||
/* VexRiscv cache is write-through so there is no need to flush */
|
||||
up_flush_dcache_all:
|
||||
.word 0x500F
|
||||
nop
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user