From fce9c7a26f8c8a29d51c319c876a7bf0a32404a7 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Wed, 24 Apr 2019 17:19:23 -0700 Subject: 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 Maintainer: Gabe Black Tested-by: kokoro --- src/sim/aux_vector.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/sim') 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 AuxVector::AuxVector(IntType type, IntType val) : _auxType(TheISA::htog(type)), _auxVal(TheISA::htog(val)), -- cgit v1.2.3