commit_impl.hh (8516:a9c0d2ab490a) | commit_impl.hh (8518:9c87727099ce) |
---|---|
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 --- 491 unchanged lines hidden (view full) --- 500DefaultCommit<Impl>::generateTrapEvent(ThreadID tid) 501{ 502 DPRINTF(Commit, "Generating trap event for [tid:%i]\n", tid); 503 504 TrapEvent *trap = new TrapEvent(this, tid); 505 506 cpu->schedule(trap, curTick() + trapLatency); 507 trapInFlight[tid] = true; | 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 --- 491 unchanged lines hidden (view full) --- 500DefaultCommit<Impl>::generateTrapEvent(ThreadID tid) 501{ 502 DPRINTF(Commit, "Generating trap event for [tid:%i]\n", tid); 503 504 TrapEvent *trap = new TrapEvent(this, tid); 505 506 cpu->schedule(trap, curTick() + trapLatency); 507 trapInFlight[tid] = true; |
508 thread[tid]->trapPending = true; |
|
508} 509 510template <class Impl> 511void 512DefaultCommit<Impl>::generateTCEvent(ThreadID tid) 513{ 514 assert(!trapInFlight[tid]); 515 DPRINTF(Commit, "Generating TC squash event for [tid:%i]\n", tid); --- 979 unchanged lines hidden --- | 509} 510 511template <class Impl> 512void 513DefaultCommit<Impl>::generateTCEvent(ThreadID tid) 514{ 515 assert(!trapInFlight[tid]); 516 DPRINTF(Commit, "Generating TC squash event for [tid:%i]\n", tid); --- 979 unchanged lines hidden --- |