projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9268f89
)
Alpha: Initialize the data TLB mode IPR.
author
Gabe Black
<gblack@eecs.umich.edu>
Mon, 11 Oct 2010 03:37:39 +0000
(20:37 -0700)
committer
Gabe Black
<gblack@eecs.umich.edu>
Mon, 11 Oct 2010 03:37:39 +0000
(20:37 -0700)
src/arch/alpha/process.cc
patch
|
blob
|
history
diff --git
a/src/arch/alpha/process.cc
b/src/arch/alpha/process.cc
index c65cf2d3771c198428701ca174f325090b2c9fab..f68a53a6f1f43a6687de305c915b5bcae431097c 100644
(file)
--- 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);
}