Fixed for full system.

--HG--
extra : convert_revision : 28c9cd55d887c9de7156c8cf76b7b91117f749d5
This commit is contained in:
Gabe Black 2006-04-06 15:21:52 -04:00
parent bb4c2fba25
commit 832311a170
2 changed files with 3 additions and 3 deletions

View file

@ -162,9 +162,9 @@ namespace AlphaISA
#if FULL_SYSTEM
int intrflag; // interrupt flag
inline int instAsid()
{ return miscRegs.getInstAsid(); }
{ return miscRegFile.getInstAsid(); }
inline int dataAsid()
{ return miscRegs.getDataAsid(); }
{ return miscRegFile.getDataAsid(); }
#endif // FULL_SYSTEM
void clear()

View file

@ -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