summaryrefslogtreecommitdiff
path: root/cpu/trace/reader/itx_reader.cc
diff options
context:
space:
mode:
authorErik Hallnor <ehallnor@umich.edu>2004-09-02 11:27:45 -0400
committerErik Hallnor <ehallnor@umich.edu>2004-09-02 11:27:45 -0400
commit8efb592e0b8a51056d75565cb970a99ef895ada5 (patch)
treeacd04c4d91d4bde94a446e2fbdab33264beb0f76 /cpu/trace/reader/itx_reader.cc
parent23e0643c6918fe6dd8211d96eb791e69408479b9 (diff)
parent1401a06691539e494a8d9cc59e5f682844d9d5ee (diff)
downloadgem5-8efb592e0b8a51056d75565cb970a99ef895ada5.tar.xz
Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/m5
into zizzer.eecs.umich.edu:/z/ehallnor/work/m5 --HG-- extra : convert_revision : 3f1842ffa9c193fbbdcfefb5aa364671b3d90785
Diffstat (limited to 'cpu/trace/reader/itx_reader.cc')
-rw-r--r--cpu/trace/reader/itx_reader.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpu/trace/reader/itx_reader.cc b/cpu/trace/reader/itx_reader.cc
index 593d383ec..615eb414e 100644
--- a/cpu/trace/reader/itx_reader.cc
+++ b/cpu/trace/reader/itx_reader.cc
@@ -130,6 +130,7 @@ ITXReader::getNextReq(MemReqPtr &req)
// Get the page offset from the virtual address.
tmp_req->paddr = tmp_req->vaddr & 0xfff;
tmp_req->paddr |= (c & 0xf0) << 8;
+ tmp_req->paddr |= (Addr)(c & 0xf0) << 32;
for (int i = 2; i < 4; ++i) {
c = getc(trace);
if (c == EOF) {
@@ -160,6 +161,7 @@ ITXReader::getNextReq(MemReqPtr &req)
break;
case ITXCode:
tmp_req->cmd = Read;
+ tmp_req->flags |= INST_READ;
break;
default:
fatal("Unknown ITX type");