Made isHyperPriv and isPriv protected member variables.
--HG-- extra : convert_revision : af0c2bd46cdea31e5b7e6a75434bbd27b8e6b427
This commit is contained in:
parent
4b855592eb
commit
60a734e175
|
@ -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(); }
|
||||
|
|
Loading…
Reference in a new issue