projects
/
gem5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge zizzer:/bk/linux
[gem5.git]
/
dev
/
platform.hh
diff --git
a/dev/platform.hh
b/dev/platform.hh
index 4425570f2f889cb174158cf4d10c57114da767b1..db6a489ad656a4e29d8c2a613a645724f775a96b 100644
(file)
--- a/
dev/platform.hh
+++ b/
dev/platform.hh
@@
-36,6
+36,7
@@
#include "sim/sim_object.hh"
#include "sim/sim_object.hh"
+class PciConfigAll;
class IntrControl;
class SimConsole;
class IntrControl;
class SimConsole;
@@
-46,13
+47,15
@@
class Platform : public SimObject
IntrControl *intrctrl;
/** Pointer to the simulation console */
SimConsole *cons;
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 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) {}
};
interrupt_frequency(intrFreq) {}
};