diff options
Diffstat (limited to 'src/arch/generic')
-rw-r--r-- | src/arch/generic/memhelpers.hh | 2 | ||||
-rw-r--r-- | src/arch/generic/mmapped_ipr.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/generic/memhelpers.hh b/src/arch/generic/memhelpers.hh index 6fe1707a0..7fd4f70de 100644 --- a/src/arch/generic/memhelpers.hh +++ b/src/arch/generic/memhelpers.hh @@ -66,7 +66,7 @@ template <class MemT> void getMem(PacketPtr pkt, MemT &mem, Trace::InstRecord *traceData) { - mem = pkt->get<MemT>(); + mem = pkt->get<MemT>(TheISA::GuestByteOrder); if (traceData) traceData->setData(mem); } diff --git a/src/arch/generic/mmapped_ipr.cc b/src/arch/generic/mmapped_ipr.cc index c908eff01..14e2bafbd 100644 --- a/src/arch/generic/mmapped_ipr.cc +++ b/src/arch/generic/mmapped_ipr.cc @@ -47,7 +47,7 @@ handlePseudoInst(ThreadContext *xc, Packet *pkt) assert((offset >> 16) == 0); ret = PseudoInst::pseudoInst(xc, func, subfunc); if (pkt->isRead()) - pkt->set(ret); + pkt->set(ret, TheISA::GuestByteOrder); } Cycles |