summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-03-27 02:19:34 -0700
committerGabe Black <gabeblack@google.com>2018-03-27 10:58:18 +0000
commita5f933d9af64b8625785fb3eea469d1e98442fdd (patch)
tree6748d9833ddac1f78eeb181eae013fecb35f3f6c
parent8e111ba2507f191f8a08d98972dd45eab0242250 (diff)
downloadgem5-a5f933d9af64b8625785fb3eea469d1e98442fdd.tar.xz
dev: sparc: Get rid of the TheISA namespace in the SPARC devices.
It's not used, and so doesn't need to be brought in with a "using" statement. Change-Id: Iff4f7c66dbf1ee18e2e1a7d3e73bbae8cc4bf8eb Reviewed-on: https://gem5-review.googlesource.com/9406 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Gabe Black <gabeblack@google.com>
-rw-r--r--src/dev/sparc/dtod.cc2
-rw-r--r--src/dev/sparc/t1000.cc3
2 files changed, 0 insertions, 5 deletions
diff --git a/src/dev/sparc/dtod.cc b/src/dev/sparc/dtod.cc
index 3d47ff660..b87d2813a 100644
--- a/src/dev/sparc/dtod.cc
+++ b/src/dev/sparc/dtod.cc
@@ -41,14 +41,12 @@
#include "base/time.hh"
#include "base/trace.hh"
-#include "config/the_isa.hh"
#include "dev/platform.hh"
#include "mem/packet_access.hh"
#include "mem/port.hh"
#include "sim/system.hh"
using namespace std;
-using namespace TheISA;
DumbTOD::DumbTOD(const Params *p)
: BasicPioDevice(p, 0x08)
diff --git a/src/dev/sparc/t1000.cc b/src/dev/sparc/t1000.cc
index 0bc7ad87d..e3a1d7f89 100644
--- a/src/dev/sparc/t1000.cc
+++ b/src/dev/sparc/t1000.cc
@@ -38,13 +38,10 @@
#include <string>
#include <vector>
-#include "config/the_isa.hh"
#include "cpu/intr_control.hh"
#include "sim/system.hh"
using namespace std;
-//Should this be AlphaISA?
-using namespace TheISA;
T1000::T1000(const Params *p)
: Platform(p), system(p->system)