return NoFault;
}
-void
-AlphaISA::MiscRegFile::clearIprs()
-{
- bzero((char *)ipr, NumInternalProcRegs * sizeof(InternalProcReg));
-}
-
+ int
+ AlphaISA::MiscRegFile::getInstAsid()
+ {
+ return EV5::ITB_ASN_ASN(ipr[IPR_ITB_ASN]);
+ }
+
+ int
+ AlphaISA::MiscRegFile::getDataAsid()
+ {
+ return EV5::DTB_ASN_ASN(ipr[IPR_DTB_ASN]);
+ }
+
AlphaISA::MiscReg
AlphaISA::MiscRegFile::readIpr(int idx, Fault &fault, ExecContext *xc)
{
#include "base/timebuf.hh"
#include "config/full_system.hh"
#include "cpu/base.hh"
+#include "cpu/cpu_exec_context.hh"
#include "cpu/o3/comm.hh"
#include "cpu/o3/cpu_policy.hh"
-#include "cpu/exec_context.hh"
#include "sim/process.hh"
- #if FULL_SYSTEM
- #include "arch/ev5.hh"
- using namespace EV5;
- #endif
-
+class ExecContext;
class FunctionalMemory;
class Process;