timing.cc (6012:47748a3b6ecf) | timing.cc (6022:410194bb3049) |
---|---|
1/* 2 * Copyright (c) 2002-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; --- 658 unchanged lines hidden (view full) --- 667 668 bool fromRom = isRomMicroPC(thread->readMicroPC()); 669 670 if (!fromRom && !curMacroStaticInst) { 671 Request *ifetch_req = new Request(); 672 ifetch_req->setThreadContext(_cpuId, /* thread ID */ 0); 673 setupFetchRequest(ifetch_req); 674 thread->itb->translateTiming(ifetch_req, tc, | 1/* 2 * Copyright (c) 2002-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; --- 658 unchanged lines hidden (view full) --- 667 668 bool fromRom = isRomMicroPC(thread->readMicroPC()); 669 670 if (!fromRom && !curMacroStaticInst) { 671 Request *ifetch_req = new Request(); 672 ifetch_req->setThreadContext(_cpuId, /* thread ID */ 0); 673 setupFetchRequest(ifetch_req); 674 thread->itb->translateTiming(ifetch_req, tc, |
675 &fetchTranslation); | 675 &fetchTranslation, false, true); |
676 } else { 677 _status = IcacheWaitResponse; 678 completeIfetch(NULL); 679 680 numCycles += tickToCycles(curTick - previousTick); 681 previousTick = curTick; 682 } 683} --- 378 unchanged lines hidden --- | 676 } else { 677 _status = IcacheWaitResponse; 678 completeIfetch(NULL); 679 680 numCycles += tickToCycles(curTick - previousTick); 681 previousTick = curTick; 682 } 683} --- 378 unchanged lines hidden --- |