Alpha: Initialize the data TLB mode IPR.

This commit is contained in:
Gabe Black
2010-10-10 20:37:39 -07:00
parent 9268f895d5
commit b4a76f0b0b

View File

@@ -205,7 +205,8 @@ AlphaLiveProcess::initState()
ThreadContext *tc = system->getThreadContext(contextIds[0]);
tc->setIntReg(GlobalPointerReg, objFile->globalPointer());
//Operate in user mode
tc->setMiscRegNoEffect(IPR_ICM, 0x18);
tc->setMiscRegNoEffect(IPR_ICM, mode_user << 3);
tc->setMiscRegNoEffect(IPR_DTB_CM, mode_user << 3);
//No super page mapping
tc->setMiscRegNoEffect(IPR_MCSR, 0);
}