virtual void unmap(Addr vaddr, int64_t size)
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.
const Entry * lookup(Addr vaddr)
Lookup function.
void getMappings(std::vector< std::pair< Addr, Addr >> *addr_mappings)
void serialize(CheckpointOut &cp) const override
Serialize an object.
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.
PTable::iterator PTableItr
bool translate(Addr vaddr, Addr &paddr)
Translate function.