Remove intr_post function. No longer being used.
[gem5.git] / arch / alpha / vtophys.cc
index 3ffa4bd14bb941b6337c148d37769445e8b33eeb..1d70196c51e1f58f57fd09b99f523b17536001bb 100644 (file)
@@ -82,7 +82,7 @@ Addr
 vtophys(ExecContext *xc, Addr addr)
 {
     AlphaISA::VAddr vaddr = addr;
-    Addr ptbr = xc->regs.ipr[AlphaISA::IPR_PALtemp20];
+    Addr ptbr = xc->readMiscReg(AlphaISA::IPR_PALtemp20);
     Addr paddr = 0;
     //@todo Andrew couldn't remember why he commented some of this code
     //so I put it back in. Perhaps something to do with gdb debugging?