projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b85559
)
Made isHyperPriv and isPriv protected member variables.
author
Gabe Black
<gblack@eecs.umich.edu>
Mon, 12 Jun 2006 04:44:24 +0000
(
00:44
-0400)
committer
Gabe 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
patch
|
blob
|
history
diff --git
a/src/arch/sparc/regfile.hh
b/src/arch/sparc/regfile.hh
index e8397364eccff1ede5eb42d24a5532a3dd6e46ac..4e5494730ef377de50c82067c9fe5b6d44783381 100644
(file)
--- 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(); }