mem: Explicitly specify the endianness in the abstract memory.
authorGabe Black <gabeblack@google.com>
Fri, 12 Oct 2018 12:11:20 +0000 (05:11 -0700)
committerGabe Black <gabeblack@google.com>
Thu, 18 Oct 2018 07:47:31 +0000 (07:47 +0000)
commiteb8989ec7649335c959947335c96f3b563623962
tree02e899767bf40e93fb547340539b95343a403108
parent095d7fba324222273b92512680ffcfa12dbd7968
mem: Explicitly specify the endianness in the abstract memory.

The accessors are used for debugging output. If we're using an ISA
where there's an endianness, we use that explicitly, falling back to a
binary dump if the size isn't supported. If not, then we just dump the
data without interpretation regardless of size.

Change-Id: Ib050c4c876ee41f17cfd14ad657150bf6ab1de39
Reviewed-on: https://gem5-review.googlesource.com/c/13464
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/mem/abstract_mem.cc