summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2019-04-29 16:32:37 -0700
committerGabe Black <gabeblack@google.com>2019-04-30 18:52:13 +0000
commitecd6be3d11c1b1f9359f467972e84ae7713f1f63 (patch)
tree7262db94074be9dd5ed620bcc069f3159c16d035 /src/arch
parent90f90b809c2945952af7cd19bacb82d1ef129869 (diff)
downloadgem5-ecd6be3d11c1b1f9359f467972e84ae7713f1f63.tar.xz
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 <Brandon.Potter@amd.com> Maintainer: Gabe Black <gabeblack@google.com> Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86/memhelpers.hh4
1 files 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)