commit_impl.hh (7813:7338bc628489) | commit_impl.hh (7823:dac01f14f20f) |
---|---|
1/* 2 * Copyright (c) 2010 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 461 unchanged lines hidden (view full) --- 470template <class Impl> 471void 472DefaultCommit<Impl>::generateTrapEvent(ThreadID tid) 473{ 474 DPRINTF(Commit, "Generating trap event for [tid:%i]\n", tid); 475 476 TrapEvent *trap = new TrapEvent(this, tid); 477 | 1/* 2 * Copyright (c) 2010 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 461 unchanged lines hidden (view full) --- 470template <class Impl> 471void 472DefaultCommit<Impl>::generateTrapEvent(ThreadID tid) 473{ 474 DPRINTF(Commit, "Generating trap event for [tid:%i]\n", tid); 475 476 TrapEvent *trap = new TrapEvent(this, tid); 477 |
478 cpu->schedule(trap, curTick + trapLatency); | 478 cpu->schedule(trap, curTick() + trapLatency); |
479 trapInFlight[tid] = true; 480} 481 482template <class Impl> 483void 484DefaultCommit<Impl>::generateTCEvent(ThreadID tid) 485{ 486 assert(!trapInFlight[tid]); --- 926 unchanged lines hidden --- | 479 trapInFlight[tid] = true; 480} 481 482template <class Impl> 483void 484DefaultCommit<Impl>::generateTCEvent(ThreadID tid) 485{ 486 assert(!trapInFlight[tid]); --- 926 unchanged lines hidden --- |