summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-06-12 00:44:24 -0400
committerGabe Black <gblack@eecs.umich.edu>2006-06-12 00:44:24 -0400
commit60a734e1750f3c051fe92fea6f12158db6e2dcb9 (patch)
treeaa7d11420171e6066f0e46dc5d647fc7429db8e8 /src
parent4b855592eb41d76fa33a6cc3e4ab2212d6bdecf2 (diff)
downloadgem5-60a734e1750f3c051fe92fea6f12158db6e2dcb9.tar.xz
Made isHyperPriv and isPriv protected member variables.
--HG-- extra : convert_revision : af0c2bd46cdea31e5b7e6a75434bbd27b8e6b427
Diffstat (limited to 'src')
-rw-r--r--src/arch/sparc/regfile.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/sparc/regfile.hh b/src/arch/sparc/regfile.hh
index e8397364e..4e5494730 100644
--- a/src/arch/sparc/regfile.hh
+++ b/src/arch/sparc/regfile.hh
@@ -639,6 +639,8 @@ namespace SparcISA
void copyMiscRegs(ExecContext * xc);
+ protected:
+
bool isHyperPriv() { return hpstateFields.hpriv; }
bool isPriv() { return hpstateFields.hpriv || pstateFields.priv; }
bool isNonPriv() { return !isPriv(); }