1/* |
2 * Copyright 2014 Google, Inc. |
3 * Copyright (c) 2012-2013 ARM Limited 4 * All rights reserved. 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating 9 * to a hardware implementation of the functionality of the software 10 * licensed hereunder. You may use the software subject to the license --- 503 unchanged lines hidden (view full) --- 514 DPRINTF(SimpleCPU, "Tick\n"); 515 516 Tick latency = 0; 517 518 for (int i = 0; i < width || locked; ++i) { 519 numCycles++; 520 ppCycles->notify(1); 521 |
522 if (!curStaticInst || !curStaticInst->isDelayedCommit()) { |
523 checkForInterrupts(); |
524 checkPcEventQueue(); 525 } |
526 |
527 // We must have just got suspended by a PC event 528 if (_status == Idle) { 529 tryCompleteDrain(); 530 return; 531 } 532 533 Fault fault = NoFault; 534 --- 124 unchanged lines hidden --- |