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.
ThreadContext is the external interface to all thread state for anything outside of the CPU.
virtual void remap(Addr vaddr, int64_t size, Addr new_vaddr)
Entry(Addr paddr, uint64_t flags)
const std::string name() const
bool translate(Addr vaddr)
Simplified translate function (just check for translation)
std::unordered_map< Addr, Entry > PTable
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.
virtual ~EmulationPageTable()
EmulationPageTable(const std::string &__name, uint64_t _pid, Addr _pageSize)