Gabe Black has submitted this change and it was merged. ( https://gem5-review.googlesource.com/c/public/gem5/+/18471 )

Change subject: x86: Get rid of some unnecessary TheISA-es in x86.
......................................................................

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 <[email protected]>
Maintainer: Gabe Black <[email protected]>
Tested-by: kokoro <[email protected]>
---
M src/arch/x86/memhelpers.hh
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Brandon Potter: Looks good to me, approved
  Gabe Black: Looks good to me, approved
  kokoro: Regressions pass



diff --git a/src/arch/x86/memhelpers.hh b/src/arch/x86/memhelpers.hh
index 416439b..59db401 100644
--- a/src/arch/x86/memhelpers.hh
+++ b/src/arch/x86/memhelpers.hh
@@ -179,7 +179,7 @@
 {
     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 @@
 {
     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)

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/18471
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: I5774968fdfb30b01eba52cdec5e6ef2c75cb66e4
Gerrit-Change-Number: 18471
Gerrit-PatchSet: 2
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-Reviewer: Andreas Sandberg <[email protected]>
Gerrit-Reviewer: Brandon Potter <[email protected]>
Gerrit-Reviewer: Gabe Black <[email protected]>
Gerrit-Reviewer: Jason Lowe-Power <[email protected]>
Gerrit-Reviewer: kokoro <[email protected]>
Gerrit-MessageType: merged
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to