projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf5f6c6
)
Change to use -return_value.value like other implementations.
author
Gabe Black
<gblack@eecs.umich.edu>
Wed, 6 Dec 2006 10:47:19 +0000
(
05:47
-0500)
committer
Gabe Black
<gblack@eecs.umich.edu>
Wed, 6 Dec 2006 10:47:19 +0000
(
05:47
-0500)
--HG--
extra : convert_revision :
513422c1c8c24f3662e6a423d13ee033424aa44b
src/arch/sparc/syscallreturn.hh
patch
|
blob
|
history
diff --git
a/src/arch/sparc/syscallreturn.hh
b/src/arch/sparc/syscallreturn.hh
index c2494c3648e75ce4a7632905814fbc3f3b6746ca..d92b1279048fd53366e4db6f4f74432b4d4d92fe 100644
(file)
--- 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());
}
}
};