summaryrefslogtreecommitdiff
path: root/src/arch/x86/intmessage.hh
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-10-12 04:57:29 -0700
committerGabe Black <gabeblack@google.com>2018-10-12 23:44:38 +0000
commit413b4e7431b20d9b29dbf66d6677a60205ddd357 (patch)
tree8fb40a98f4b5b14e78240e2a3f5907344ff83658 /src/arch/x86/intmessage.hh
parent2b979bd8913450355006fc9d9ccfa9dda21bbbb3 (diff)
downloadgem5-413b4e7431b20d9b29dbf66d6677a60205ddd357.tar.xz
x86: Use little endian packet accessors.
We know data is little endian, so we can use those accessors explicitly. Change-Id: I09aa7f1e525ad1346e932ce4a772b64bf59dc350 Reviewed-on: https://gem5-review.googlesource.com/c/13456 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/arch/x86/intmessage.hh')
-rw-r--r--src/arch/x86/intmessage.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/intmessage.hh b/src/arch/x86/intmessage.hh
index 83d80bb94..8ec60b2aa 100644
--- a/src/arch/x86/intmessage.hh
+++ b/src/arch/x86/intmessage.hh
@@ -94,7 +94,7 @@ namespace X86ISA
buildIntRequest(const uint8_t id, T payload, Addr offset, Addr size)
{
PacketPtr pkt = prepIntRequest(id, offset, size);
- pkt->set<T>(payload);
+ pkt->setRaw<T>(payload);
return pkt;
}