summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-12-06 05:47:19 -0500
committerGabe Black <gblack@eecs.umich.edu>2006-12-06 05:47:19 -0500
commitdc105934f3771bd0cfb7407d339a0baed0028576 (patch)
tree4e33af64766cf574bff1b472a8eeb2fe88c6494f
parentbf5f6c64305682d3e53a2cfe82ff6980c16341f4 (diff)
downloadgem5-dc105934f3771bd0cfb7407d339a0baed0028576.tar.xz
Change to use -return_value.value like other implementations.
--HG-- extra : convert_revision : 513422c1c8c24f3662e6a423d13ee033424aa44b
-rw-r--r--src/arch/sparc/syscallreturn.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/sparc/syscallreturn.hh b/src/arch/sparc/syscallreturn.hh
index c2494c364..d92b12790 100644
--- a/src/arch/sparc/syscallreturn.hh
+++ b/src/arch/sparc/syscallreturn.hh
@@ -56,7 +56,7 @@ namespace SparcISA
tc->setIntReg(NumIntArchRegs + 2,
tc->readIntReg(NumIntArchRegs + 2) | 0x11);
//tc->setMiscReg(MISCREG_CCR, tc->readMiscReg(MISCREG_CCR) | 0x11);
- tc->setIntReg(ReturnValueReg, return_value.value());
+ tc->setIntReg(ReturnValueReg, -return_value.value());
}
}
};