Posted (Nov. 9, 2010, 3:37 a.m.)
-
src/cpu/simple_thread.cc (Diff revision 1) -
What happens to the old TLB? What if you wanted to switch to a new one? I'm assuming this is so state cached in the TLB gets transfered, but I don't think this is the right way to do it. Maybe in the copyRegs function you can transfer state between TLBs? Maybe it already is because you're updating miscregs, and that should update the TLB. Maybe you need to set more miscregs with effects.
