void
EmulationPageTable::serialize(CheckpointOut &cp) const
{
- paramOut(cp, "ptable.size", pTable.size());
+ ScopedCheckpointSection sec(cp, "ptable");
+ paramOut(cp, "size", pTable.size());
PTable::size_type count = 0;
for (auto &pte : pTable) {
EmulationPageTable::unserialize(CheckpointIn &cp)
{
int count;
- paramIn(cp, "ptable.size", count);
+ ScopedCheckpointSection sec(cp, "ptable");
+ paramIn(cp, "size", count);
for (int i = 0; i < count; ++i) {
ScopedCheckpointSection sec(cp, csprintf("Entry%d", i));