Repository navigation
Do externally-requested interrupts invalidate a cached I_STAT?
#37
|
Hi! It's me again. :) Here it is written:
I think that IRQs caused by DMA transfers must invalidate the corresponding cache entry, and that this also must apply more generally to all IRQs issued outside the CPU (e.g., V-blank, timers, GPU). My reasoning stems from the following snippet of code found in the PSX BIOS (10j): In |
Replies: 2 comments 3 replies
|
The cache is only for code, not data. You can never hit the cache when loading or writing data, only when executing code. |
|
Answered upthread: the I-cache only serves instruction fetches, and there is no data cache, so polling |

The cache is only for code, not data. You can never hit the cache when loading or writing data, only when executing code.