From 54abc8b3372287d9b286f5a0dc04d25a916bf889 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Wed, 11 Apr 2007 14:02:03 +0000 Subject: Make the itlb set the PHYSICAL flag on a request when it translates it. This gets it out of the cpu. --HG-- extra : convert_revision : 20611263b799b5e835116adbf39d2ecc78701eef --- src/cpu/simple/base.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/cpu') diff --git a/src/cpu/simple/base.cc b/src/cpu/simple/base.cc index 877dc5bd4..c9d4f4c8f 100644 --- a/src/cpu/simple/base.cc +++ b/src/cpu/simple/base.cc @@ -335,9 +335,8 @@ BaseSimpleCPU::setupFetchRequest(Request *req) thread->readNextPC()); #endif - req->setVirt(0, thread->readPC() & ~3, sizeof(MachInst), - (FULL_SYSTEM && (thread->readPC() & 1)) ? PHYSICAL : 0, - thread->readPC()); + req->setVirt(0, thread->readPC() & ~3, sizeof(MachInst), 0, + thread->readPC()); Fault fault = thread->translateInstReq(req); -- cgit v1.2.3