summaryrefslogtreecommitdiff
path: root/dev/platform.hh
diff options
context:
space:
mode:
Diffstat (limited to 'dev/platform.hh')
-rw-r--r--dev/platform.hh7
1 files changed, 5 insertions, 2 deletions
diff --git a/dev/platform.hh b/dev/platform.hh
index 4425570f2..db6a489ad 100644
--- a/dev/platform.hh
+++ b/dev/platform.hh
@@ -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) {}
};