diff options
author | Iru Cai <mytbk920423@gmail.com> | 2019-03-21 10:15:58 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2019-03-21 10:37:10 +0800 |
commit | d4513c7a334f102c601b02de2ffcdf8efc096700 (patch) | |
tree | fea5269b903d9d16fa954bb2872aad74c65abcac | |
parent | a7439fd792c0467c4de99665e451d61aac73f0b7 (diff) | |
download | gem5-d4513c7a334f102c601b02de2ffcdf8efc096700.tar.xz |
Request::getVaddr()
Change-Id: Ife5c04941a9181da30e5cc692dec7cfd53feb71f
-rw-r--r-- | src/cpu/o3/lsq_unit.hh | 6 | ||||
-rw-r--r-- | src/cpu/o3/lsq_unit_impl.hh | 5 |
2 files changed, 6 insertions, 5 deletions
diff --git a/src/cpu/o3/lsq_unit.hh b/src/cpu/o3/lsq_unit.hh index 5cb29dc52..4f729a4e5 100644 --- a/src/cpu/o3/lsq_unit.hh +++ b/src/cpu/o3/lsq_unit.hh @@ -1035,9 +1035,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 9b0883a23..7f5406885 100644 --- a/src/cpu/o3/lsq_unit_impl.hh +++ b/src/cpu/o3/lsq_unit_impl.hh @@ -1137,8 +1137,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; |