diff options
author | Joel Hestness <hestness@cs.utexas.edu> | 2011-02-06 22:14:18 -0800 |
---|---|---|
committer | Joel Hestness <hestness@cs.utexas.edu> | 2011-02-06 22:14:18 -0800 |
commit | 62e05ed78a0f24982e4066adb45dc220c9e200ea (patch) | |
tree | 078e21ca8e2743ca0918837a8128c9170700e05e /src/dev/x86/i8254.cc | |
parent | 911ccef6c05fff4832245414baa7b2a67955c35a (diff) | |
download | gem5-62e05ed78a0f24982e4066adb45dc220c9e200ea.tar.xz |
x86: Add checkpointing capability to devices
Add checkpointing capability to the Intel 8254 timer, CMOS, I8042,
PS2 Keyboard and Mouse, I82094AA, I8237, I8254, I8259, and speaker
devices
Diffstat (limited to 'src/dev/x86/i8254.cc')
-rw-r--r-- | src/dev/x86/i8254.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/dev/x86/i8254.cc b/src/dev/x86/i8254.cc index 5eb28844a..dd1ff7c5e 100644 --- a/src/dev/x86/i8254.cc +++ b/src/dev/x86/i8254.cc @@ -76,6 +76,18 @@ X86ISA::I8254::write(PacketPtr pkt) return latency; } +void +X86ISA::I8254::serialize(std::ostream &os) +{ + pit.serialize("pit", os); +} + +void +X86ISA::I8254::unserialize(Checkpoint *cp, const std::string §ion) +{ + pit.unserialize("pit", cp, section); +} + X86ISA::I8254 * I8254Params::create() { |