From a7fe9345eefa106c12630eb92df5dc956d94820c Mon Sep 17 00:00:00 2001 From: Vincentius Robby Date: Fri, 1 Jun 2007 12:24:49 -0400 Subject: Minor error. Forgotten to remove brackets for threadPC. --HG-- extra : convert_revision : 40a636a539e84decfca438c07adf022eed7b7780 --- src/cpu/simple/base.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/cpu/simple/base.cc b/src/cpu/simple/base.cc index 5e078c502..6145b13a1 100644 --- a/src/cpu/simple/base.cc +++ b/src/cpu/simple/base.cc @@ -342,7 +342,7 @@ BaseSimpleCPU::setupFetchRequest(Request *req) const Addr PCMask = ~(sizeof(MachInst) - 1); Addr fetchPC = thread->readPC() + fetchOffset; - req->setVirt(0, fetchPC & PCMask, sizeof(MachInst), 0, threadPC()); + req->setVirt(0, fetchPC & PCMask, sizeof(MachInst), 0, threadPC); Fault fault = thread->translateInstReq(req); -- cgit v1.2.3