From: Gabe Black Date: Mon, 12 Jun 2006 04:44:24 +0000 (-0400) Subject: Made isHyperPriv and isPriv protected member variables. X-Git-Tag: m5_2.0_beta1~66^2~3 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=60a734e1750f3c051fe92fea6f12158db6e2dcb9;p=gem5.git Made isHyperPriv and isPriv protected member variables. --HG-- extra : convert_revision : af0c2bd46cdea31e5b7e6a75434bbd27b8e6b427 --- 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(); }