From ecd6be3d11c1b1f9359f467972e84ae7713f1f63 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 29 Apr 2019 16:32:37 -0700 Subject: [PATCH] x86: Get rid of some unnecessary TheISA-es in x86. The X86ISA namespace is already available. Change-Id: I5774968fdfb30b01eba52cdec5e6ef2c75cb66e4 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/18471 Reviewed-by: Brandon Potter Maintainer: Gabe Black Tested-by: kokoro --- src/arch/x86/memhelpers.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/arch/x86/memhelpers.hh b/src/arch/x86/memhelpers.hh index 416439b9e..59db401c1 100644 --- a/src/arch/x86/memhelpers.hh +++ b/src/arch/x86/memhelpers.hh @@ -179,7 +179,7 @@ writeMemTiming(ExecContext *xc, Trace::InstRecord *traceData, uint64_t mem, { if (traceData) traceData->setData(mem); - mem = TheISA::htog(mem); + mem = htog(mem); return xc->writeMem((uint8_t *)&mem, dataSize, addr, flags, res); } @@ -209,7 +209,7 @@ writeMemAtomic(ExecContext *xc, Trace::InstRecord *traceData, uint64_t mem, { if (traceData) traceData->setData(mem); - uint64_t host_mem = TheISA::htog(mem); + uint64_t host_mem = htog(mem); Fault fault = xc->writeMem((uint8_t *)&host_mem, dataSize, addr, flags, res); if (fault == NoFault && res) -- 2.30.2