fix some build problems from prior changesets
authorNathan Binkert <nate@binkert.org>
Thu, 21 Apr 2011 01:45:03 +0000 (18:45 -0700)
committerNathan Binkert <nate@binkert.org>
Thu, 21 Apr 2011 01:45:03 +0000 (18:45 -0700)
13 files changed:
src/arch/arm/interrupts.hh
src/arch/arm/linux/system.cc
src/arch/arm/table_walker.cc
src/dev/arm/amba_device.cc
src/dev/arm/amba_fake.cc
src/dev/arm/gic.cc
src/dev/arm/kmi.cc
src/dev/arm/pl011.cc
src/dev/arm/pl111.cc
src/dev/arm/timer_sp804.cc
src/mem/slicc/symbols/Func.py
src/python/m5/main.py
src/python/m5/simulate.py

index a94408a4f0791d84761623f3c8b50ad0fb59e798..884bb7b9f22106d1ef21edfaab57594305f514bf 100644 (file)
@@ -48,6 +48,7 @@
 #include "arch/arm/miscregs.hh"
 #include "arch/arm/registers.hh"
 #include "cpu/thread_context.hh"
+#include "debug/Interrupt.hh"
 #include "params/ArmInterrupts.hh"
 #include "sim/sim_object.hh"
 
index 0d34121b4b58088abfa74cd238b2afb5d79e83aa..1190a7f3a0f7e273acda53ab105abfc1d923e8ec 100644 (file)
@@ -47,6 +47,7 @@
 #include "base/loader/object_file.hh"
 #include "base/loader/symtab.hh"
 #include "cpu/thread_context.hh"
+#include "debug/Loader.hh"
 #include "kern/linux/events.hh"
 #include "mem/physical.hh"
 
index 9296b951a5e5bbdf350a354ba17572dc267240e2..c0c177e8578be7fbce90a68da8727c49c75478d7 100644 (file)
@@ -42,6 +42,9 @@
 #include "arch/arm/tlb.hh"
 #include "cpu/base.hh"
 #include "cpu/thread_context.hh"
+#include "debug/Checkpoint.hh"
+#include "debug/TLB.hh"
+#include "debug/TLBVerbose.hh"
 #include "dev/io_device.hh"
 #include "sim/system.hh"
 
index b2948b803dd8118b0e69e026eaa3b79ddc360b59..a9a163fd2cd201b4923f069efb399cfb30c95773 100644 (file)
@@ -41,6 +41,7 @@
  */
 
 #include "base/trace.hh"
+#include "debug/AMBA.hh"
 #include "dev/arm/amba_device.hh"
 #include "dev/arm/amba_fake.hh"
 #include "mem/packet.hh"
index f2115048b0c8cdc6ff15920177a84058043afd38..cc1f51761b8e567ba6caf65db5b7e2ba4aa30131 100644 (file)
@@ -41,6 +41,7 @@
  */
 
 #include "base/trace.hh"
+#include "debug/AMBA.hh"
 #include "dev/arm/amba_fake.hh"
 #include "mem/packet.hh"
 #include "mem/packet_access.hh"
index ee80081442254a0742eda81c040b57bdca95ad6e..b4fbb96b1d8d7d4254a291ba16e0047a1b023c1e 100644 (file)
@@ -43,6 +43,8 @@
 
 #include "base/trace.hh"
 #include "cpu/intr_control.hh"
+#include "debug/Checkpoint.hh"
+#include "debug/GIC.hh"
 #include "dev/arm/gic.hh"
 #include "dev/platform.hh"
 #include "dev/terminal.hh"
index 1b8c15b83fda2ef8f970005b1eafd733fe702728..92b5ee8cb890f7d6d3e8e5daf641d23ad618efc5 100644 (file)
@@ -43,6 +43,7 @@
 
 #include "base/vnc/vncserver.hh"
 #include "base/trace.hh"
+#include "debug/Pl050.hh"
 #include "dev/arm/amba_device.hh"
 #include "dev/arm/kmi.hh"
 #include "dev/ps2.hh"
index dd1c8863e3b82fd09c4880f36758f8c06b42535c..2ab92c1db6ab4540d76cad7ccf41026696f46af1 100644 (file)
@@ -41,6 +41,8 @@
  */
 
 #include "base/trace.hh"
+#include "debug/Checkpoint.hh"
+#include "debug/Uart.hh"
 #include "dev/arm/amba_device.hh"
 #include "dev/arm/gic.hh"
 #include "dev/arm/pl011.hh"
index 410c8d3615ea35dde8158be362c6f6062c648d26..1bf6f1485b40058f5033497df7b5c0b1c77d2b7e 100644 (file)
@@ -42,6 +42,8 @@
 #include "base/bitmap.hh"
 #include "base/output.hh"
 #include "base/trace.hh"
+#include "debug/PL111.hh"
+#include "debug/Uart.hh"
 #include "dev/arm/amba_device.hh"
 #include "dev/arm/gic.hh"
 #include "dev/arm/pl111.hh"
index e6d2657ea9124cb3014eb4e6534fcb98e4e07456..5ecfebc71723bfd03086d8f55a7d5824b22b27a5 100644 (file)
@@ -39,6 +39,8 @@
 
 #include "base/intmath.hh"
 #include "base/trace.hh"
+#include "debug/Checkpoint.hh"
+#include "debug/Timer.hh"
 #include "dev/arm/gic.hh"
 #include "dev/arm/timer_sp804.hh"
 #include "mem/packet.hh"
index e1670e3ed9817e1d1fb4dfa8ad2badd81ef8ef95..28a0cf93c3f0f7b10141836df986fc58e422a2cd 100644 (file)
@@ -77,6 +77,7 @@ class Func(Symbol):
         code('''
 /** Auto generated C++ code started by $__file__:$__line__ */
 
+#include "debug/RubySlicc.hh"
 #include "mem/protocol/Types.hh"
 ''')
 
index cdaecc1ccd7bfca9903e35292237016a83d09261..b0034c10d201badf72b65e2f449070005acc9135 100644 (file)
@@ -144,6 +144,8 @@ def interact(scope):
         code.InteractiveConsole(scope).interact(banner)
 
 def main(*args):
+    import m5
+
     import core
     import debug
     import defines
@@ -154,7 +156,6 @@ def main(*args):
 
     from util import fatal
 
-    global options
     if len(args) == 0:
         options, arguments = parse_options()
     elif len(args) == 2:
@@ -162,6 +163,8 @@ def main(*args):
     else:
         raise TypeError, "main() takes 0 or 2 arguments (%d given)" % len(args)
 
+    m5.options = options
+
     def check_tracing():
         if defines.TRACING_ON:
             return
index 184c2c6f7f5e4e118f90d4b981b10d7f79f6d5a3..9a5dc836df26ea4532329d9436742af58f183552 100644 (file)
@@ -47,7 +47,7 @@ MaxTick = 2**63 - 1
 # The final hook to generate .ini files.  Called from the user script
 # once the config is built.
 def instantiate(ckpt_dir=None):
-    from main import options
+    from m5 import options
 
     root = objects.Root.getInstance()