changeset cb7bf3919bdd in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=cb7bf3919bdd
description:
        Includes: Don't include isa_traits.hh and use the TheISA namespace 
unless really needed.

diffstat:

 src/dev/baddev.cc                |  1 -
 src/dev/platform.cc              |  1 -
 src/dev/platform.hh              |  1 -
 src/dev/simple_disk.hh           |  1 -
 src/mem/cache/blk.hh             |  1 -
 src/mem/cache/builder.cc         |  1 -
 src/mem/cache/prefetch/tagged.cc |  1 -
 src/mem/physical.cc              |  1 +
 8 files changed, 1 insertions(+), 7 deletions(-)

diffs (88 lines):

diff -r 5143254707ed -r cb7bf3919bdd src/dev/baddev.cc
--- a/src/dev/baddev.cc Wed Feb 23 15:10:49 2011 -0600
+++ b/src/dev/baddev.cc Wed Feb 23 15:10:49 2011 -0600
@@ -45,7 +45,6 @@
 #include "sim/system.hh"
 
 using namespace std;
-using namespace TheISA;
 
 BadDevice::BadDevice(Params *p)
     : BasicPioDevice(p), devname(p->devicename)
diff -r 5143254707ed -r cb7bf3919bdd src/dev/platform.cc
--- a/src/dev/platform.cc       Wed Feb 23 15:10:49 2011 -0600
+++ b/src/dev/platform.cc       Wed Feb 23 15:10:49 2011 -0600
@@ -35,7 +35,6 @@
 #include "sim/sim_exit.hh"
 
 using namespace std;
-using namespace TheISA;
 
 Platform::Platform(const Params *p)
     : SimObject(p), intrctrl(p->intrctrl)
diff -r 5143254707ed -r cb7bf3919bdd src/dev/platform.hh
--- a/src/dev/platform.hh       Wed Feb 23 15:10:49 2011 -0600
+++ b/src/dev/platform.hh       Wed Feb 23 15:10:49 2011 -0600
@@ -41,7 +41,6 @@
 #include <set>
 
 #include "sim/sim_object.hh"
-#include "arch/isa_traits.hh"
 #include "params/Platform.hh"
 
 class PciConfigAll;
diff -r 5143254707ed -r cb7bf3919bdd src/dev/simple_disk.hh
--- a/src/dev/simple_disk.hh    Wed Feb 23 15:10:49 2011 -0600
+++ b/src/dev/simple_disk.hh    Wed Feb 23 15:10:49 2011 -0600
@@ -36,7 +36,6 @@
 #define __DEV_SIMPLE_DISK_HH__
 
 #include "sim/sim_object.hh"
-#include "arch/isa_traits.hh"
 #include "params/SimpleDisk.hh"
 
 class DiskImage;
diff -r 5143254707ed -r cb7bf3919bdd src/mem/cache/blk.hh
--- a/src/mem/cache/blk.hh      Wed Feb 23 15:10:49 2011 -0600
+++ b/src/mem/cache/blk.hh      Wed Feb 23 15:10:49 2011 -0600
@@ -39,7 +39,6 @@
 
 #include "base/printable.hh"
 #include "sim/core.hh"          // for Tick
-#include "arch/isa_traits.hh"   // for Addr
 #include "mem/packet.hh"
 #include "mem/request.hh"
 
diff -r 5143254707ed -r cb7bf3919bdd src/mem/cache/builder.cc
--- a/src/mem/cache/builder.cc  Wed Feb 23 15:10:49 2011 -0600
+++ b/src/mem/cache/builder.cc  Wed Feb 23 15:10:49 2011 -0600
@@ -64,7 +64,6 @@
 
 
 using namespace std;
-using namespace TheISA;
 
 #define BUILD_CACHE(TAGS, tags)                         \
     do {                                                \
diff -r 5143254707ed -r cb7bf3919bdd src/mem/cache/prefetch/tagged.cc
--- a/src/mem/cache/prefetch/tagged.cc  Wed Feb 23 15:10:49 2011 -0600
+++ b/src/mem/cache/prefetch/tagged.cc  Wed Feb 23 15:10:49 2011 -0600
@@ -33,7 +33,6 @@
  * Describes a tagged prefetcher based on template policies.
  */
 
-#include "arch/isa_traits.hh"
 #include "mem/cache/prefetch/tagged.hh"
 
 TaggedPrefetcher::TaggedPrefetcher(const BaseCacheParams *p)
diff -r 5143254707ed -r cb7bf3919bdd src/mem/physical.cc
--- a/src/mem/physical.cc       Wed Feb 23 15:10:49 2011 -0600
+++ b/src/mem/physical.cc       Wed Feb 23 15:10:49 2011 -0600
@@ -53,6 +53,7 @@
 #include <iostream>
 #include <string>
 
+#include "arch/isa_traits.hh"
 #include "arch/registers.hh"
 #include "base/intmath.hh"
 #include "base/misc.hh"
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to