diff options
Diffstat (limited to 'dev')
-rw-r--r-- | dev/alpha_access.h | 2 | ||||
-rw-r--r-- | dev/alpha_console.cc | 4 | ||||
-rw-r--r-- | dev/alpha_console.hh | 2 | ||||
-rw-r--r-- | dev/console.cc | 4 | ||||
-rw-r--r-- | dev/console.hh | 2 |
5 files changed, 6 insertions, 8 deletions
diff --git a/dev/alpha_access.h b/dev/alpha_access.h index 4bba39c4f..c145fa2a3 100644 --- a/dev/alpha_access.h +++ b/dev/alpha_access.h @@ -82,7 +82,7 @@ struct AlphaAccess #ifndef CONSOLE void serialize(std::ostream &os); - void unserialize(IniFile &db, const std::string §ion); + void unserialize(const IniFile *db, const std::string §ion); #endif }; diff --git a/dev/alpha_console.cc b/dev/alpha_console.cc index 00dab4bad..9bf74bce4 100644 --- a/dev/alpha_console.cc +++ b/dev/alpha_console.cc @@ -188,7 +188,7 @@ AlphaAccess::serialize(ostream &os) } void -AlphaAccess::unserialize(IniFile &db, const std::string §ion) +AlphaAccess::unserialize(const IniFile *db, const std::string §ion) { UNSERIALIZE_MEMBER(last_offset); UNSERIALIZE_MEMBER(version); @@ -216,7 +216,7 @@ AlphaConsole::serialize(ostream &os) } void -AlphaConsole::unserialize(IniFile &db, const std::string §ion) +AlphaConsole::unserialize(const IniFile *db, const std::string §ion) { alphaAccess->unserialize(db, section); } diff --git a/dev/alpha_console.hh b/dev/alpha_console.hh index caa571cec..e4aeb2417 100644 --- a/dev/alpha_console.hh +++ b/dev/alpha_console.hh @@ -101,7 +101,7 @@ class AlphaConsole : public MmapDevice * standard serialization routines for checkpointing */ virtual void serialize(std::ostream &os); - virtual void unserialize(IniFile &db, const std::string §ion); + virtual void unserialize(const IniFile *db, const std::string §ion); }; #endif // __ALPHA_CONSOLE_HH__ diff --git a/dev/console.cc b/dev/console.cc index a84f4a666..749add532 100644 --- a/dev/console.cc +++ b/dev/console.cc @@ -316,13 +316,11 @@ SimConsole::setInt(int bits) void SimConsole::serialize(ostream &os) { - panic("Unimplemented"); } void -SimConsole::unserialize(IniFile &db, const std::string §ion) +SimConsole::unserialize(const IniFile *db, const std::string §ion) { - panic("Unimplemented"); } diff --git a/dev/console.hh b/dev/console.hh index 5d9ea5302..6746f90b6 100644 --- a/dev/console.hh +++ b/dev/console.hh @@ -129,7 +129,7 @@ class SimConsole : public SimObject void setInt(int bits); virtual void serialize(std::ostream &os); - virtual void unserialize(IniFile &db, const std::string §ion); + virtual void unserialize(const IniFile *db, const std::string §ion); }; class ConsoleListener : public SimObject |