466c466
< X86ISA::I8042::serialize(std::ostream &os)
---
> X86ISA::I8042::serializeOld(CheckpointOut &cp)
477,478c477,478
< mouse.serialize("mouse", os);
< keyboard.serialize("keyboard", os);
---
> mouse.serialize("mouse", cp);
> keyboard.serialize("keyboard", cp);
482c482
< X86ISA::I8042::unserialize(Checkpoint *cp, const std::string &section)
---
> X86ISA::I8042::unserialize(CheckpointIn &cp)
493,494c493,494
< mouse.unserialize("mouse", cp, section);
< keyboard.unserialize("keyboard", cp, section);
---
> mouse.unserialize("mouse", cp);
> keyboard.unserialize("keyboard", cp);
501c501
< X86ISA::PS2Keyboard::serialize(const std::string &base, std::ostream &os)
---
> X86ISA::PS2Keyboard::serialize(const std::string &base, CheckpointOut &cp)
503c503
< paramOut(os, base + ".lastCommand", lastCommand);
---
> paramOut(cp, base + ".lastCommand", lastCommand);
505c505
< paramOut(os, base + ".outBuffer.size", bufferSize);
---
> paramOut(cp, base + ".outBuffer.size", bufferSize);
511c511
< arrayParamOut(os, base + ".outBuffer.elts", buffer,
---
> arrayParamOut(cp, base + ".outBuffer.elts", buffer,
517,518c517
< X86ISA::PS2Keyboard::unserialize(const std::string &base, Checkpoint *cp,
< const std::string &section)
---
> X86ISA::PS2Keyboard::unserialize(const std::string &base, CheckpointIn &cp)
520c519
< paramIn(cp, section, base + ".lastCommand", lastCommand);
---
> paramIn(cp, base + ".lastCommand", lastCommand);
522c521
< paramIn(cp, section, base + ".outBuffer.size", bufferSize);
---
> paramIn(cp, base + ".outBuffer.size", bufferSize);
524c523
< arrayParamIn(cp, section, base + ".outBuffer.elts", buffer,
---
> arrayParamIn(cp, base + ".outBuffer.elts", buffer,
533c532
< X86ISA::PS2Mouse::serialize(const std::string &base, std::ostream &os)
---
> X86ISA::PS2Mouse::serialize(const std::string &base, CheckpointOut &cp)
536c535
< paramOut(os, base + ".lastCommand", lastCommand);
---
> paramOut(cp, base + ".lastCommand", lastCommand);
538c537
< paramOut(os, base + ".outBuffer.size", bufferSize);
---
> paramOut(cp, base + ".outBuffer.size", bufferSize);
544c543
< arrayParamOut(os, base + ".outBuffer.elts", buffer,
---
> arrayParamOut(cp, base + ".outBuffer.elts", buffer,
547,549c546,548
< paramOut(os, base + ".status", statusData);
< paramOut(os, base + ".resolution", resolution);
< paramOut(os, base + ".sampleRate", sampleRate);
---
> paramOut(cp, base + ".status", statusData);
> paramOut(cp, base + ".resolution", resolution);
> paramOut(cp, base + ".sampleRate", sampleRate);
553,554c552
< X86ISA::PS2Mouse::unserialize(const std::string &base, Checkpoint *cp,
< const std::string &section)
---
> X86ISA::PS2Mouse::unserialize(const std::string &base, CheckpointIn &cp)
557c555
< paramIn(cp, section, base + ".lastCommand", lastCommand);
---
> paramIn(cp, base + ".lastCommand", lastCommand);
559c557
< paramIn(cp, section, base + ".outBuffer.size", bufferSize);
---
> paramIn(cp, base + ".outBuffer.size", bufferSize);
561c559
< arrayParamIn(cp, section, base + ".outBuffer.elts", buffer,
---
> arrayParamIn(cp, base + ".outBuffer.elts", buffer,
567,569c565,567
< paramIn(cp, section, base + ".status", statusData);
< paramIn(cp, section, base + ".resolution", resolution);
< paramIn(cp, section, base + ".sampleRate", sampleRate);
---
> paramIn(cp, base + ".status", statusData);
> paramIn(cp, base + ".resolution", resolution);
> paramIn(cp, base + ".sampleRate", sampleRate);