Includes: Don't include isa_traits.hh and use the TheISA namespace unless really needed.
This commit is contained in:
@@ -45,7 +45,6 @@
|
||||
#include "sim/system.hh"
|
||||
|
||||
using namespace std;
|
||||
using namespace TheISA;
|
||||
|
||||
BadDevice::BadDevice(Params *p)
|
||||
: BasicPioDevice(p), devname(p->devicename)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -41,7 +41,6 @@
|
||||
#include <set>
|
||||
|
||||
#include "sim/sim_object.hh"
|
||||
#include "arch/isa_traits.hh"
|
||||
#include "params/Platform.hh"
|
||||
|
||||
class PciConfigAll;
|
||||
|
||||
@@ -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;
|
||||
|
||||
1
src/mem/cache/blk.hh
vendored
1
src/mem/cache/blk.hh
vendored
@@ -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"
|
||||
|
||||
|
||||
1
src/mem/cache/builder.cc
vendored
1
src/mem/cache/builder.cc
vendored
@@ -64,7 +64,6 @@
|
||||
|
||||
|
||||
using namespace std;
|
||||
using namespace TheISA;
|
||||
|
||||
#define BUILD_CACHE(TAGS, tags) \
|
||||
do { \
|
||||
|
||||
1
src/mem/cache/prefetch/tagged.cc
vendored
1
src/mem/cache/prefetch/tagged.cc
vendored
@@ -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)
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user