Made isHyperPriv and isPriv protected member variables.

--HG--
extra : convert_revision : af0c2bd46cdea31e5b7e6a75434bbd27b8e6b427
This commit is contained in:
Gabe Black 2006-06-12 00:44:24 -04:00
parent 4b855592eb
commit 60a734e175

View file

@ -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(); }