Merge zizzer:/bk/linux
[gem5.git] / dev / platform.hh
index 4425570f2f889cb174158cf4d10c57114da767b1..db6a489ad656a4e29d8c2a613a645724f775a96b 100644 (file)
@@ -36,6 +36,7 @@
 
 #include "sim/sim_object.hh"
 
+class PciConfigAll;
 class IntrControl;
 class SimConsole;
 
@@ -46,13 +47,15 @@ class Platform : public SimObject
     IntrControl *intrctrl;
     /** Pointer to the simulation console */
     SimConsole *cons;
+    /** Pointer to the PCI configuration space */
+    PciConfigAll *pciconfig;
 
     int interrupt_frequency;
 
   public:
     Platform(const std::string &name, SimConsole *con, IntrControl *intctrl,
-             int intrFreq)
-        : SimObject(name), intrctrl(intctrl), cons(con),
+             PciConfigAll *pci, int intrFreq)
+        : SimObject(name), intrctrl(intctrl), cons(con), pciconfig(pci),
           interrupt_frequency(intrFreq) {}
 };