diff options
author | Steve Reinhardt <steve.reinhardt@amd.com> | 2009-04-20 18:54:02 -0700 |
---|---|---|
committer | Steve Reinhardt <steve.reinhardt@amd.com> | 2009-04-20 18:54:02 -0700 |
commit | 3083268d60ba28cf011eadd6d6e4f400e6686cc3 (patch) | |
tree | 7dbd37a140a59acacaf46101b7ea1e8fb5a8dbfe /src/cpu/trace | |
parent | 7f8ea68a309790821d81500d1ba15d4ceef25933 (diff) | |
download | gem5-3083268d60ba28cf011eadd6d6e4f400e6686cc3.tar.xz |
request: rename INST_READ to INST_FETCH.
Diffstat (limited to 'src/cpu/trace')
-rw-r--r-- | src/cpu/trace/reader/itx_reader.cc | 2 | ||||
-rw-r--r-- | src/cpu/trace/trace_cpu.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/trace/reader/itx_reader.cc b/src/cpu/trace/reader/itx_reader.cc index f27b82ff1..e03ac6905 100644 --- a/src/cpu/trace/reader/itx_reader.cc +++ b/src/cpu/trace/reader/itx_reader.cc @@ -168,7 +168,7 @@ ITXReader::getNextReq(MemReqPtr &req) break; case ITXCode: tmp_req->cmd = Read; - tmp_req->flags |= INST_READ; + tmp_req->flags |= INST_FETCH; break; default: fatal("Unknown ITX type"); diff --git a/src/cpu/trace/trace_cpu.cc b/src/cpu/trace/trace_cpu.cc index ab00b3093..b286f1e40 100644 --- a/src/cpu/trace/trace_cpu.cc +++ b/src/cpu/trace/trace_cpu.cc @@ -68,7 +68,7 @@ TraceCPU::tick() while (nextReq && curTick >= nextCycle) { assert(nextReq->thread_num < 4 && "Not enough threads"); - if (nextReq->isInstRead() && icacheInterface) { + if (nextReq->isInstFetch() && icacheInterface) { if (icacheInterface->isBlocked()) break; |