summaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
Diffstat (limited to 'dev')
-rw-r--r--dev/alpha_access.h2
-rw-r--r--dev/alpha_console.cc4
-rw-r--r--dev/alpha_console.hh2
-rw-r--r--dev/console.cc4
-rw-r--r--dev/console.hh2
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 &section);
+ void unserialize(const IniFile *db, const std::string &section);
#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 &section)
+AlphaAccess::unserialize(const IniFile *db, const std::string &section)
{
UNSERIALIZE_MEMBER(last_offset);
UNSERIALIZE_MEMBER(version);
@@ -216,7 +216,7 @@ AlphaConsole::serialize(ostream &os)
}
void
-AlphaConsole::unserialize(IniFile &db, const std::string &section)
+AlphaConsole::unserialize(const IniFile *db, const std::string &section)
{
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 &section);
+ virtual void unserialize(const IniFile *db, const std::string &section);
};
#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 &section)
+SimConsole::unserialize(const IniFile *db, const std::string &section)
{
- 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 &section);
+ virtual void unserialize(const IniFile *db, const std::string &section);
};
class ConsoleListener : public SimObject