summaryrefslogtreecommitdiff
path: root/src/arch/alpha/ipr.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/alpha/ipr.hh')
-rw-r--r--src/arch/alpha/ipr.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/alpha/ipr.hh b/src/arch/alpha/ipr.hh
index 51c1489b8..b55154764 100644
--- a/src/arch/alpha/ipr.hh
+++ b/src/arch/alpha/ipr.hh
@@ -220,12 +220,12 @@ namespace AlphaISA
inline bool IprIsWritable(int index)
{
- return index < minReadOnlyIpr || index > maxReadOnlyIpr;
+ return index < MinReadOnlyIpr || index > MaxReadOnlyIpr;
}
inline bool IprIsReadable(int index)
{
- return index < minWriteOnlyIpr || index > maxWriteOnlyIpr;
+ return index < MinWriteOnlyIpr || index > MaxWriteOnlyIpr;
}
extern md_ipr_names MiscRegIndexToIpr[NumInternalProcRegs];