AnsweredAssumed Answered

Cache, set associate to direct mapped

Question asked by a a on Jun 8, 2016
Latest reply on Jun 21, 2016 by Timesys Support

I read this on the ARM programmer guide

"You can lock the replacement algorithm on a way basis, enabling the associativity to be reduced from eight-way down to one-way, direct mapped."


Register 9 is the lockdown register, but I don't know how to use it, I saw "MRC p15,0,<Rd>,c9,c0,0" on ARM website, I have no idea how exactly it was used.


can someone provide an example of what exactly should I put in Rd, and how do I determine it is a read or write?