summaryrefslogtreecommitdiff
path: root/sim/system.hh
diff options
context:
space:
mode:
Diffstat (limited to 'sim/system.hh')
-rw-r--r--sim/system.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/sim/system.hh b/sim/system.hh
index bec1011ce..56a3d6a6f 100644
--- a/sim/system.hh
+++ b/sim/system.hh
@@ -46,6 +46,7 @@ class ExecContext;
class System : public SimObject
{
public:
+ const int init_param;
MemoryController *memCtrl;
PhysicalMemory *physmem;
@@ -55,7 +56,8 @@ class System : public SimObject
void registerExecContext(ExecContext *xc);
public:
- System(const std::string name, MemoryController *, PhysicalMemory *);
+ System(const std::string _name, const int _init_param,
+ MemoryController *, PhysicalMemory *);
~System();
virtual void init(ExecContext *xc) = 0;