From 60a734e1750f3c051fe92fea6f12158db6e2dcb9 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 12 Jun 2006 00:44:24 -0400 Subject: Made isHyperPriv and isPriv protected member variables. --HG-- extra : convert_revision : af0c2bd46cdea31e5b7e6a75434bbd27b8e6b427 --- src/arch/sparc/regfile.hh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/arch/sparc/regfile.hh') 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(); } -- cgit v1.2.3