Fix potential MIPS issue on cache alignment
This commit is contained in:
parent
3eddcf8416
commit
a8d99d993f
|
@ -2536,7 +2536,8 @@ void translate_icache_sync() {
|
||||||
redo: \
|
redo: \
|
||||||
\
|
\
|
||||||
/* Pad the start of the block to 16 bytes, see "memory tagging" above */ \
|
/* Pad the start of the block to 16 bytes, see "memory tagging" above */ \
|
||||||
while ((((uintptr_t)ram_translation_ptr) % 16) != block_prologue_size) \
|
while (((uintptr_t)(&ram_translation_ptr[block_prologue_size] \
|
||||||
|
- ram_translation_cache)) % 16) \
|
||||||
ram_translation_ptr++; \
|
ram_translation_ptr++; \
|
||||||
\
|
\
|
||||||
translation_recursion_level++; \
|
translation_recursion_level++; \
|
||||||
|
|
Loading…
Reference in New Issue