summaryrefslogtreecommitdiff
path: root/dev/console.hh
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2004-05-14 17:39:32 -0400
committerAli Saidi <saidi@eecs.umich.edu>2004-05-14 17:39:32 -0400
commitaa14ee48649e4c885e4be9b2e6e40911d1ec3d17 (patch)
treeeab2e62a560a915e1bc71118c2ec814cef307b56 /dev/console.hh
parentab9415a2bd608246501b33f5670d2a3ecc746dde (diff)
parentfd21387149c272b8aaee62466fe96863f3ef458f (diff)
downloadgem5-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/console.hh')
-rw-r--r--dev/console.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev/console.hh b/dev/console.hh
index d2bba4612..703d05d51 100644
--- a/dev/console.hh
+++ b/dev/console.hh
@@ -103,6 +103,8 @@ class SimConsole : public SimObject
// interrupt handle
IntrControl *intr;
+ // Platform so we can post interrupts
+ Platform *platform;
public:
/////////////////
@@ -143,6 +145,8 @@ class SimConsole : public SimObject
void initInt(IntrControl *i);
void setInt(int bits);
+ void setPlatform(Platform *p);
+
virtual void serialize(std::ostream &os);
virtual void unserialize(Checkpoint *cp, const std::string &section);
};