summaryrefslogtreecommitdiff
path: root/src/dev/platform.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/platform.hh')
-rw-r--r--src/dev/platform.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dev/platform.hh b/src/dev/platform.hh
index aceec0970..699b168ce 100644
--- a/src/dev/platform.hh
+++ b/src/dev/platform.hh
@@ -42,6 +42,7 @@
#include "sim/sim_object.hh"
#include "arch/isa_traits.hh"
+#include "params/Platform.hh"
class PciConfigAll;
class IntrControl;
@@ -59,7 +60,8 @@ class Platform : public SimObject
System *system;
public:
- Platform(const std::string &name, IntrControl *intctrl);
+ typedef PlatformParams Params;
+ Platform(const Params *p);
virtual ~Platform();
virtual void postConsoleInt() = 0;
virtual void clearConsoleInt() = 0;