From: Gabe Black Date: Mon, 11 Oct 2010 03:37:39 +0000 (-0700) Subject: Alpha: Initialize the data TLB mode IPR. X-Git-Tag: stable_2012_02_02~794 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b4a76f0b0b2d0910bb1c1f3781717ec6747014b1;p=gem5.git Alpha: Initialize the data TLB mode IPR. --- diff --git a/src/arch/alpha/process.cc b/src/arch/alpha/process.cc index c65cf2d37..f68a53a6f 100644 --- a/src/arch/alpha/process.cc +++ b/src/arch/alpha/process.cc @@ -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); }