diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2006-06-12 00:44:24 -0400 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2006-06-12 00:44:24 -0400 |
commit | 60a734e1750f3c051fe92fea6f12158db6e2dcb9 (patch) | |
tree | aa7d11420171e6066f0e46dc5d647fc7429db8e8 /src | |
parent | 4b855592eb41d76fa33a6cc3e4ab2212d6bdecf2 (diff) | |
download | gem5-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.hh | 2 |
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(); } |