diff options
Diffstat (limited to 'sim')
-rw-r--r-- | sim/sim_object.cc | 3 | ||||
-rw-r--r-- | sim/system.hh | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/sim/sim_object.cc b/sim/sim_object.cc index 9626c54ea..5602a89a2 100644 --- a/sim/sim_object.cc +++ b/sim/sim_object.cc @@ -36,6 +36,7 @@ #include "sim/host.hh" #include "sim/sim_object.hh" #include "sim/stats.hh" +#include "sim/param.hh" using namespace std; @@ -168,3 +169,5 @@ SimObject::serializeAll(ostream &os) obj->serialize(os); } } + +DEFINE_SIM_OBJECT_CLASS_NAME("SimObject", SimObject) diff --git a/sim/system.hh b/sim/system.hh index 050d1dd11..0fcdd77cc 100644 --- a/sim/system.hh +++ b/sim/system.hh @@ -40,6 +40,7 @@ class MemoryController; class PhysicalMemory; +class Platform; class RemoteGDB; class GDBListener; @@ -79,6 +80,7 @@ class System : public SimObject const uint64_t init_param; MemoryController *memCtrl; PhysicalMemory *physmem; + Platform *platform; bool bin; PCEventQueue pcEventQueue; |