77,78c77
< TlbEntry *table; // the Page Table
< int size; // TLB Size
---
> std::vector<TlbEntry> table; // the Page Table
81c80
< void nextnlu() { if (++nlu >= size) nlu = 0; }
---
> void nextnlu() { if (++nlu >= table.size()) nlu = 0; }
93c92
< int getsize() const { return size; }
---
> int getsize() const { return table.size(); }
121,122c120,121
< virtual void serialize(std::ostream &os);
< virtual void unserialize(Checkpoint *cp, const std::string &section);
---
> void serialize(CheckpointOut &cp) const M5_ATTR_OVERRIDE;
> void unserialize(CheckpointIn &cp) M5_ATTR_OVERRIDE;