summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/alpha/system.cc9
-rw-r--r--src/arch/alpha/system.hh4
2 files changed, 3 insertions, 10 deletions
diff --git a/src/arch/alpha/system.cc b/src/arch/alpha/system.cc
index 51e1d7e07..ca3c2b078 100644
--- a/src/arch/alpha/system.cc
+++ b/src/arch/alpha/system.cc
@@ -134,21 +134,14 @@ AlphaSystem::initState()
virtProxy.write(addr+0x58, data);
} else
panic("could not find hwrpb\n");
-
- // Setup all the function events now that we have a system and a symbol
- // table
- setupFuncEvents();
}
void
-AlphaSystem::loadState(Checkpoint *cp)
+AlphaSystem::startup()
{
- System::loadState(cp);
-
// Setup all the function events now that we have a system and a symbol
// table
setupFuncEvents();
-
}
void
diff --git a/src/arch/alpha/system.hh b/src/arch/alpha/system.hh
index d832dfe77..024d8bb47 100644
--- a/src/arch/alpha/system.hh
+++ b/src/arch/alpha/system.hh
@@ -62,9 +62,9 @@ class AlphaSystem : public System
virtual void serialize(std::ostream &os);
virtual void unserialize(Checkpoint *cp, const std::string &section);
- /** Override loadState to provide a path to call setupFuncEvents()
+ /** Override startup() to provide a path to call setupFuncEvents()
*/
- virtual void loadState(Checkpoint *cp);
+ virtual void startup();
/**
* Set the m5AlphaAccess pointer in the console