diff options
author | Andrew Schultz <alschult@umich.edu> | 2004-05-03 11:48:17 -0400 |
---|---|---|
committer | Andrew Schultz <alschult@umich.edu> | 2004-05-03 11:48:17 -0400 |
commit | 8538ffdb3682d71c90c33b92b436a2d9cbdc42c3 (patch) | |
tree | 9d0e79de7630c3f5765d422cf8752f663533dddb /dev/platform.hh | |
parent | 53b54c2b65773374f617a73bb967554b706d7bbd (diff) | |
parent | 6807c319b02af31626ab2ed716da6341924eb857 (diff) | |
download | gem5-8538ffdb3682d71c90c33b92b436a2d9cbdc42c3.tar.xz |
Merge zizzer:/bk/linux
into zower.eecs.umich.edu:/.automount/zizzer/z/alschult/DiskModel/linux
--HG--
extra : convert_revision : 8eca0fba9d96bffea7a24bce9b14f0284bd58c83
Diffstat (limited to 'dev/platform.hh')
-rw-r--r-- | dev/platform.hh | 7 |
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) {} }; |