Includes: Don't include isa_traits.hh and use the TheISA namespace unless really needed.

This commit is contained in:
Ali Saidi
2011-02-23 15:10:49 -06:00
parent 805ad4ba41
commit f05f35df99
8 changed files with 1 additions and 7 deletions

View File

@@ -45,7 +45,6 @@
#include "sim/system.hh"
using namespace std;
using namespace TheISA;
BadDevice::BadDevice(Params *p)
: BasicPioDevice(p), devname(p->devicename)

View File

@@ -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)

View File

@@ -41,7 +41,6 @@
#include <set>
#include "sim/sim_object.hh"
#include "arch/isa_traits.hh"
#include "params/Platform.hh"
class PciConfigAll;

View File

@@ -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;

View File

@@ -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"

View File

@@ -64,7 +64,6 @@
using namespace std;
using namespace TheISA;
#define BUILD_CACHE(TAGS, tags) \
do { \

View File

@@ -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)

View File

@@ -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"