diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2004-05-14 17:39:32 -0400 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2004-05-14 17:39:32 -0400 |
commit | aa14ee48649e4c885e4be9b2e6e40911d1ec3d17 (patch) | |
tree | eab2e62a560a915e1bc71118c2ec814cef307b56 /dev/platform.hh | |
parent | ab9415a2bd608246501b33f5670d2a3ecc746dde (diff) | |
parent | fd21387149c272b8aaee62466fe96863f3ef458f (diff) | |
download | gem5-aa14ee48649e4c885e4be9b2e6e40911d1ec3d17.tar.xz |
manual merge of linux_system and makefile
kern/linux/linux_system.cc:
merged
--HG--
extra : convert_revision : 81ef6a46f76968985f44c72f296a79ea77e73d12
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 db6a489ad..407f58406 100644 --- a/dev/platform.hh +++ b/dev/platform.hh @@ -53,10 +53,13 @@ class Platform : public SimObject int interrupt_frequency; public: - Platform(const std::string &name, SimConsole *con, IntrControl *intctrl, + Platform(const std::string &name, IntrControl *intctrl, PciConfigAll *pci, int intrFreq) - : SimObject(name), intrctrl(intctrl), cons(con), pciconfig(pci), + : SimObject(name), intrctrl(intctrl), pciconfig(pci), interrupt_frequency(intrFreq) {} + virtual ~Platform() {} + virtual void postConsoleInt() = 0; + virtual void clearConsoleInt() = 0; }; #endif // __PLATFORM_HH_ |