diff options
author | Gabe Black <gabeblack@google.com> | 2018-10-12 04:57:29 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2018-10-12 23:44:38 +0000 |
commit | 413b4e7431b20d9b29dbf66d6677a60205ddd357 (patch) | |
tree | 8fb40a98f4b5b14e78240e2a3f5907344ff83658 /src/arch/x86/intmessage.hh | |
parent | 2b979bd8913450355006fc9d9ccfa9dda21bbbb3 (diff) | |
download | gem5-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.hh | 2 |
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; } |