diff options
Diffstat (limited to 'src/arch')
-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(); } |