PTable::iterator PTableItr
void serialize(CheckpointOut &cp) const override
Serialize an object.
virtual void unmap(Addr vaddr, int64_t size)
const std::string externalize() const
Dump all items in the pTable, to a concatenation of strings of the form Addr:Entry;.
bool translate(Addr vaddr, Addr &paddr)
Translate function.
void getMappings(std::vector< std::pair< Addr, Addr >> *addr_mappings)
const Entry * lookup(Addr vaddr)
Lookup function.
virtual void remap(Addr vaddr, int64_t size, Addr new_vaddr)
virtual void map(Addr vaddr, Addr paddr, int64_t size, uint64_t flags=0)
Maps a virtual memory region to a physical memory region.
virtual bool isUnmapped(Addr vaddr, int64_t size)
Check if any pages in a region are already allocated.
void unserialize(CheckpointIn &cp) override
Unserialize an object.