summaryrefslogtreecommitdiff
path: root/src/sim
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2019-04-24 17:19:23 -0700
committerGabe Black <gabeblack@google.com>2019-04-28 03:09:09 +0000
commitfce9c7a26f8c8a29d51c319c876a7bf0a32404a7 (patch)
tree61cf66e892473fafab9e0e7726750542a0be92b0 /src/sim
parentcdcc55a6a8fe9b4625b316a8d8845366ccfa71c9 (diff)
downloadgem5-fce9c7a26f8c8a29d51c319c876a7bf0a32404a7.tar.xz
mem: Remove the ISA specialized versions of port proxy's read/write.
These selected their behavior based on ifdefs and had to be disabled when on the NULL ISA. The versions which take an explicit endianness have been renamed to just read/write instead of readGtoH and writeHtoG since the direction of the translation is obvious from context. Change-Id: I6cfbfda6c4481962d442d3370534e50532d41814 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/18372 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com> Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'src/sim')
-rw-r--r--src/sim/aux_vector.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sim/aux_vector.cc b/src/sim/aux_vector.cc
index 87a22e455..18834ac9b 100644
--- a/src/sim/aux_vector.cc
+++ b/src/sim/aux_vector.cc
@@ -66,6 +66,9 @@
#error "THE_ISA not set"
#endif
+#include "arch/isa_traits.hh"
+#include "sim/byteswap.hh"
+
template<class IntType>
AuxVector<IntType>::AuxVector(IntType type, IntType val)
: _auxType(TheISA::htog(type)), _auxVal(TheISA::htog(val)),