43,44d42
< #include "arch/isa_traits.hh"
< #include "arch/tlb.hh"
47d44
< #include "config/the_isa.hh"
54a52,61
> public:
> struct Entry
> {
> Addr paddr;
> uint64_t flags;
>
> Entry(Addr paddr, uint64_t flags) : paddr(paddr), flags(flags) {}
> Entry() {}
> };
>
56c63
< typedef std::unordered_map<Addr, TheISA::TlbEntry *> PTable;
---
> typedef std::unordered_map<Addr, Entry> PTable;
63c70
< const uint64_t pid;
---
> const uint64_t _pid;
71c78
< pid(_pid), _name(__name)
---
> _pid(_pid), _name(__name)
76c83
< virtual ~EmulationPageTable();
---
> uint64_t pid() const { return _pid; };
77a85,86
> virtual ~EmulationPageTable() {};
>
123c132
< virtual TheISA::TlbEntry *lookup(Addr vaddr);
---
> const Entry *lookup(Addr vaddr);