Made isHyperPriv and isPriv protected member variables.
--HG-- extra : convert_revision : af0c2bd46cdea31e5b7e6a75434bbd27b8e6b427
This commit is contained in:
@@ -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(); }
|
||||
|
||||
Reference in New Issue
Block a user