summaryrefslogtreecommitdiff
path: root/src/arch/sparc/tlb_map.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/sparc/tlb_map.hh')
-rw-r--r--src/arch/sparc/tlb_map.hh13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/arch/sparc/tlb_map.hh b/src/arch/sparc/tlb_map.hh
index 688daf5b9..8285db939 100644
--- a/src/arch/sparc/tlb_map.hh
+++ b/src/arch/sparc/tlb_map.hh
@@ -135,6 +135,19 @@ class TlbMap
{
return tree.empty();
}
+
+ void print()
+ {
+ iterator i;
+ i = tree.begin();
+ while (i != tree.end()) {
+ std::cout << std::hex << i->first.va << " " << i->first.size << " " <<
+ i->first.contextId << " " << i->first.partitionId << " " <<
+ i->first.real << " " << i->second << std::endl;
+ i++;
+ }
+ }
+
};
};