diff options
author | Nathan Binkert <nate@binkert.org> | 2008-09-23 20:38:02 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2008-09-23 20:38:02 -0700 |
commit | 70ec46de1736ef218ee0f554358c0558d56169ac (patch) | |
tree | 60d930bc305e72697b61caa5302067abb81cfb03 /src/arch/sparc/tlb.hh | |
parent | 38dd9687ce7f852126161b38430b301376642b51 (diff) | |
download | gem5-70ec46de1736ef218ee0f554358c0558d56169ac.tar.xz |
sparc: Fix style, create a helper function for translation.
The translate function simplifies code and removes some compiler
warnings in gcc 3.4
Diffstat (limited to 'src/arch/sparc/tlb.hh')
-rw-r--r-- | src/arch/sparc/tlb.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/arch/sparc/tlb.hh b/src/arch/sparc/tlb.hh index 2f7d08320..504a40cbb 100644 --- a/src/arch/sparc/tlb.hh +++ b/src/arch/sparc/tlb.hh @@ -109,9 +109,9 @@ class TLB : public BaseTLB * @param paritition_id partition this entry is for * @param real is this a real->phys or virt->phys translation * @param context_id if this is virt->phys what context - * @param update_used should ew update the used bits in the entries on not - * useful if we are trying to do a va->pa without mucking with any state for - * a debug read for example. + * @param update_used should ew update the used bits in the + * entries on not useful if we are trying to do a va->pa without + * mucking with any state for a debug read for example. * @return A pointer to a tlb entry */ TlbEntry *lookup(Addr va, int partition_id, bool real, int context_id = 0, |