summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/arch/alpha/pagetable.hh8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/arch/alpha/pagetable.hh b/src/arch/alpha/pagetable.hh
index 0b885bc36..4375f24f1 100644
--- a/src/arch/alpha/pagetable.hh
+++ b/src/arch/alpha/pagetable.hh
@@ -92,10 +92,12 @@ namespace AlphaISA {
// ITB/DTB table entry
struct TlbEntry
{
+ Addr pageStart;
//Construct an entry that maps to physical address addr.
- TlbEntry(Addr addr)
- {
- }
+ TlbEntry(Addr addr) : pageStart(addr)
+ {}
+ TlbEntry()
+ {}
Addr tag; // virtual page number tag
Addr ppn; // physical page number