summaryrefslogtreecommitdiff
path: root/src/arch/sparc/process.cc
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2013-01-04 18:09:45 -0600
committerGabe Black <gblack@eecs.umich.edu>2013-01-04 18:09:45 -0600
commit63b10907ef822aa6873d7f4f4d1ee849a188b2c4 (patch)
tree5b1874709929d6f330cb18aacc75c2a13e753f21 /src/arch/sparc/process.cc
parenta83e74b37adc26afe4e69e59ed0092dafa63fc09 (diff)
downloadgem5-63b10907ef822aa6873d7f4f4d1ee849a188b2c4.tar.xz
SPARC: Keep a copy of the current ASI in the decoder.
Committed by: Nilay Vaish <nilay@cs.wisc.edu>
Diffstat (limited to 'src/arch/sparc/process.cc')
-rw-r--r--src/arch/sparc/process.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/sparc/process.cc b/src/arch/sparc/process.cc
index 9377fe7d0..456b8b94a 100644
--- a/src/arch/sparc/process.cc
+++ b/src/arch/sparc/process.cc
@@ -145,7 +145,7 @@ SparcLiveProcess::initState()
// Set the trap level to 0
tc->setMiscRegNoEffect(MISCREG_TL, 0);
// Set the ASI register to something fixed
- tc->setMiscRegNoEffect(MISCREG_ASI, ASI_PRIMARY);
+ tc->setMiscReg(MISCREG_ASI, ASI_PRIMARY);
/*
* T1 specific registers