summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2019-03-21 10:15:58 +0800
committerIru Cai <mytbk920423@gmail.com>2019-03-21 10:15:58 +0800
commit2881466321272c2555fdea25fc9bac2eb2e12f14 (patch)
treed7d88da8aee3ccaf1b2527fabb693e21d8a5aca7
parent082abbb5ebbfb48704b92bf166613aaf7b19b8d6 (diff)
downloadgem5-is-rebase06-RequestPtr.tar.xz
Request::getVaddr()is-rebase06-RequestPtr
Change-Id: Ife5c04941a9181da30e5cc692dec7cfd53feb71f
-rw-r--r--src/cpu/o3/lsq_unit.hh6
-rw-r--r--src/cpu/o3/lsq_unit_impl.hh5
2 files changed, 6 insertions, 5 deletions
diff --git a/src/cpu/o3/lsq_unit.hh b/src/cpu/o3/lsq_unit.hh
index d3dd34ee2..ea10c9b8d 100644
--- a/src/cpu/o3/lsq_unit.hh
+++ b/src/cpu/o3/lsq_unit.hh
@@ -1029,9 +1029,9 @@ LSQUnit<Impl>::read(const RequestPtr &req,
DPRINTF(LSQUnit, "created validation/expose"
" request for inst [sn:%lli]"
"req=%#x, reqLow=%#x, reqHigh=%#x\n",
- load_inst->seqNum, (Addr)(load_inst->postReq),
- (Addr)(load_inst->postSreqLow),
- (Addr)(load_inst->postSreqHigh));
+ load_inst->seqNum, load_inst->postReq->getVaddr(),
+ load_inst->postSreqLow->getVaddr(),
+ load_inst->postSreqHigh->getVaddr());
} else {
load_inst->setExposeCompleted();
load_inst->needPostFetch(false);
diff --git a/src/cpu/o3/lsq_unit_impl.hh b/src/cpu/o3/lsq_unit_impl.hh
index 3da248977..f55c20d18 100644
--- a/src/cpu/o3/lsq_unit_impl.hh
+++ b/src/cpu/o3/lsq_unit_impl.hh
@@ -1147,8 +1147,9 @@ LSQUnit<Impl>::exposeLoads()
DPRINTF(LSQUnit, "Validate/Expose request for inst [sn:%lli]"
" PC= %s. req=%#x, reqLow=%#x, reqHigh=%#x\n",
load_inst->seqNum, load_inst->pcState(),
- (Addr)(load_inst->postReq),
- (Addr)(load_inst->postSreqLow), (Addr)(load_inst->postSreqHigh));
+ load_inst->postReq->getVaddr(),
+ load_inst->postSreqLow->getVaddr(),
+ load_inst->postSreqHigh->getVaddr());
PacketPtr data_pkt = NULL;
PacketPtr snd_data_pkt = NULL;