diff options
Diffstat (limited to 'cpu')
-rw-r--r-- | cpu/cpu_exec_context.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/cpu_exec_context.hh b/cpu/cpu_exec_context.hh index feaf29d12..c74feec68 100644 --- a/cpu/cpu_exec_context.hh +++ b/cpu/cpu_exec_context.hh @@ -497,7 +497,7 @@ class CPUExecContext int readIntrFlag() { return regs.intrflag; } void setIntrFlag(int val) { regs.intrflag = val; } Fault hwrei(); - bool inPalMode() { return AlphaISA::PcPAL(regs.pc); } + bool inPalMode() { return AlphaISA::PcPAL(regs.readPC()); } bool simPalCheck(int palFunc); #endif |