diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2013-01-04 18:09:45 -0600 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2013-01-04 18:09:45 -0600 |
commit | 63b10907ef822aa6873d7f4f4d1ee849a188b2c4 (patch) | |
tree | 5b1874709929d6f330cb18aacc75c2a13e753f21 /src/sim/syscall_emul.cc | |
parent | a83e74b37adc26afe4e69e59ed0092dafa63fc09 (diff) | |
download | gem5-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/sim/syscall_emul.cc')
-rw-r--r-- | src/sim/syscall_emul.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sim/syscall_emul.cc b/src/sim/syscall_emul.cc index 9e53645f5..779e567f5 100644 --- a/src/sim/syscall_emul.cc +++ b/src/sim/syscall_emul.cc @@ -810,7 +810,7 @@ cloneFunc(SyscallDesc *desc, int callnum, LiveProcess *process, ctc->setMiscReg(MISCREG_CWP, 0); ctc->setIntReg(NumIntArchRegs + 7, 0); ctc->setMiscRegNoEffect(MISCREG_TL, 0); - ctc->setMiscRegNoEffect(MISCREG_ASI, ASI_PRIMARY); + ctc->setMiscReg(MISCREG_ASI, ASI_PRIMARY); for (int y = 8; y < 32; y++) ctc->setIntReg(y, tc->readIntReg(y)); |