summaryrefslogtreecommitdiff
path: root/src/arch/alpha/pagetable.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/alpha/pagetable.hh')
-rw-r--r--src/arch/alpha/pagetable.hh7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/arch/alpha/pagetable.hh b/src/arch/alpha/pagetable.hh
index 6cf11be56..59df93bef 100644
--- a/src/arch/alpha/pagetable.hh
+++ b/src/arch/alpha/pagetable.hh
@@ -123,6 +123,13 @@ struct TlbEntry
TlbEntry()
{}
+ void
+ updateVaddr(Addr new_vaddr)
+ {
+ VAddr vaddr(new_vaddr);
+ tag = vaddr.vpn();
+ }
+
Addr
pageStart()
{