arch: Explicitly specify the endianness in the generic mem helpers.
authorGabe Black <gabeblack@google.com>
Fri, 12 Oct 2018 12:03:38 +0000 (05:03 -0700)
committerGabe Black <gabeblack@google.com>
Fri, 12 Oct 2018 23:58:58 +0000 (23:58 +0000)
commita22030133d9bed4e4e93f549b7993705421be845
tree5fac4e73fd4a35d6175949ed1f172e05165d2412
parent657b3ce63f28fe85aedf3a71e7c459a114c0de16
arch: Explicitly specify the endianness in the generic mem helpers.

This avoids using the accessors which automatically assume an
endianness, requiring the memory system to know what the guest ISA is.

Change-Id: I863fa4116f00e77b801a2f8ea2fbe34e7f55fd5f
Reviewed-on: https://gem5-review.googlesource.com/c/13461
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
src/arch/generic/memhelpers.hh
src/arch/generic/mmapped_ipr.cc