From: Gabe Black Date: Mon, 29 Apr 2019 23:32:37 +0000 (-0700) Subject: x86: Get rid of some unnecessary TheISA-es in x86. X-Git-Tag: v19.0.0.0~905 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ecd6be3d11c1b1f9359f467972e84ae7713f1f63;p=gem5.git 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 --- 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)