mem: Expose the raw packet accessor functions.
authorGabe Black <gabeblack@google.com>
Fri, 12 Oct 2018 11:53:00 +0000 (04:53 -0700)
committerGabe Black <gabeblack@google.com>
Fri, 12 Oct 2018 23:44:14 +0000 (23:44 +0000)
commit2b979bd8913450355006fc9d9ccfa9dda21bbbb3
tree5362e2d4cd0893f763020a3ccb6ca6f41a99567c
parent38de206cf0c5beb5ac880181c5dab3e4aa0344a7
mem: Expose the raw packet accessor functions.

This avoids a place where data has its endianness switched so that when
the endianness based accessors switch it back it returns to normal. It
also makes it easier to show intent when accessing single bytes where
endianness doesn't matter, and there's no contextual endianness.

Change-Id: I1b97396c1b9bb39727d35112d90e3969e5fe0aab
Reviewed-on: https://gem5-review.googlesource.com/c/13455
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
src/mem/packet.hh