summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dev/SConscript9
-rw-r--r--src/dev/baddev.cc4
2 files changed, 5 insertions, 8 deletions
diff --git a/src/dev/SConscript b/src/dev/SConscript
index 1bcddb6ee..8596c2f74 100644
--- a/src/dev/SConscript
+++ b/src/dev/SConscript
@@ -31,12 +31,16 @@
Import('*')
+SimObject('Device.py')
+Source('io_device.cc')
+Source('isa_fake.cc')
+DebugFlag('IsaFake')
+
if env['TARGET_ISA'] == 'null':
Return()
SimObject('BadDevice.py')
SimObject('CopyEngine.py')
-SimObject('Device.py')
SimObject('DiskImage.py')
SimObject('Ethernet.py')
SimObject('Ide.py')
@@ -61,8 +65,6 @@ Source('i8254xGBe.cc')
Source('ide_ctrl.cc')
Source('ide_disk.cc')
Source('intel_8254_timer.cc')
-Source('io_device.cc')
-Source('isa_fake.cc')
Source('mc146818.cc')
Source('ns_gige.cc')
Source('pciconfigall.cc')
@@ -92,7 +94,6 @@ DebugFlag('EthernetSM')
DebugFlag('IdeCtrl')
DebugFlag('IdeDisk')
DebugFlag('Intel8254Timer')
-DebugFlag('IsaFake')
DebugFlag('MC146818')
DebugFlag('PCIDEV')
DebugFlag('PciConfigAll')
diff --git a/src/dev/baddev.cc b/src/dev/baddev.cc
index b3a30b7e5..918c754d5 100644
--- a/src/dev/baddev.cc
+++ b/src/dev/baddev.cc
@@ -32,14 +32,10 @@
* BadDevice implemenation
*/
-#include <deque>
#include <string>
-#include <vector>
#include "base/trace.hh"
-#include "config/the_isa.hh"
#include "dev/baddev.hh"
-#include "mem/port.hh"
#include "params/BadDevice.hh"
#include "sim/system.hh"