Made isHyperPriv and isPriv protected member variables.
authorGabe Black <gblack@eecs.umich.edu>
Mon, 12 Jun 2006 04:44:24 +0000 (00:44 -0400)
committerGabe Black <gblack@eecs.umich.edu>
Mon, 12 Jun 2006 04:44:24 +0000 (00:44 -0400)
--HG--
extra : convert_revision : af0c2bd46cdea31e5b7e6a75434bbd27b8e6b427

src/arch/sparc/regfile.hh

index e8397364eccff1ede5eb42d24a5532a3dd6e46ac..4e5494730ef377de50c82067c9fe5b6d44783381 100644 (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(); }