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?
Solved! Go to Solution.
The commands 'MRC' and 'MCR' are used to specify if its a read or a write operation. MRC stands for "send a command to a coprocessor and get some data back" and MCR is "send a command to a coprocessor and pass some data along".
Rd is the core register and its contents must be the value needed to be set in the register. I will update you with the example commands soon, meanwhile please refer the below link for more information "ARM Information Center ".