diff options
Diffstat (limited to 'src/arch/alpha/pagetable.hh')
-rw-r--r-- | src/arch/alpha/pagetable.hh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/arch/alpha/pagetable.hh b/src/arch/alpha/pagetable.hh index c7e1c8923..0b885bc36 100644 --- a/src/arch/alpha/pagetable.hh +++ b/src/arch/alpha/pagetable.hh @@ -89,9 +89,14 @@ namespace AlphaISA { Addr paddr() const { return _pfn() << PageShift; } }; - // ITB/DTB page table entry - struct PTE + // ITB/DTB table entry + struct TlbEntry { + //Construct an entry that maps to physical address addr. + TlbEntry(Addr addr) + { + } + Addr tag; // virtual page number tag Addr ppn; // physical page number uint8_t xre; // read permissions - VMEM_PERM_* mask |