33f1e25099
This fixes a race condition that happens whenever the ROM cache is flushed but the RAM one is not, causing any SWI calls (implemented as direct branches) to jump to random instructions. The fix could be to flush both caches at the same time (~expensive on low mem platforms), use indirect jumps (a bit expensive) or emit the SWI handler below the watermark to ensure it is never flushed. This is cheap and effective, requires minimal changes. |
||
---|---|---|
.. | ||
mips_emit.h | ||
mips_stub.S |