1/* 2 * Copyright (c) 2001-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 278 unchanged lines hidden (view full) --- 287 288 accesses = hits + misses; 289} 290 291 292Fault 293ITB::translate(RequestPtr &req, ThreadContext *tc) const 294{ |
295 //If this is a pal pc, then set PHYSICAL 296 if(FULL_SYSTEM && PcPAL(req->getPC())) 297 req->setFlags(req->getFlags() | PHYSICAL); 298 |
299 if (PcPAL(req->getPC())) { 300 // strip off PAL PC marker (lsb is 1) 301 req->setPaddr((req->getVaddr() & ~3) & PAddrImplMask); 302 hits++; 303 return NoFault; 304 } 305 306 if (req->getFlags() & PHYSICAL) { --- 337 unchanged lines hidden --- |