From: Gabe Black Date: Wed, 6 Dec 2006 10:47:19 +0000 (-0500) Subject: Change to use -return_value.value like other implementations. X-Git-Tag: m5_2.0_beta3~274^2~34 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dc105934f3771bd0cfb7407d339a0baed0028576;p=gem5.git Change to use -return_value.value like other implementations. --HG-- extra : convert_revision : 513422c1c8c24f3662e6a423d13ee033424aa44b --- 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()); } } };