diff options
author | Steve Reinhardt <steve.reinhardt@amd.com> | 2014-05-12 14:23:31 -0700 |
---|---|---|
committer | Steve Reinhardt <steve.reinhardt@amd.com> | 2014-05-12 14:23:31 -0700 |
commit | 109908c2a6322d1fa31c0b486ea2bada14a292b8 (patch) | |
tree | 08f7341bba700aeab9b3ee7974bcbad6b0cc0052 /src/arch/arm | |
parent | 72403cb59561a37d42e5b5bc4b0499ddaf9012cf (diff) | |
download | gem5-109908c2a6322d1fa31c0b486ea2bada14a292b8.tar.xz |
syscall emulation: clean up & comment SyscallReturn
Diffstat (limited to 'src/arch/arm')
-rw-r--r-- | src/arch/arm/process.cc | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/arch/arm/process.cc b/src/arch/arm/process.cc index dd23a5e21..175382b43 100644 --- a/src/arch/arm/process.cc +++ b/src/arch/arm/process.cc @@ -454,15 +454,13 @@ ArmLiveProcess64::setSyscallArg(ThreadContext *tc, } void -ArmLiveProcess32::setSyscallReturn(ThreadContext *tc, - SyscallReturn return_value) +ArmLiveProcess32::setSyscallReturn(ThreadContext *tc, SyscallReturn sysret) { - tc->setIntReg(ReturnValueReg, return_value.value()); + tc->setIntReg(ReturnValueReg, sysret.encodedValue()); } void -ArmLiveProcess64::setSyscallReturn(ThreadContext *tc, - SyscallReturn return_value) +ArmLiveProcess64::setSyscallReturn(ThreadContext *tc, SyscallReturn sysret) { - tc->setIntReg(ReturnValueReg, return_value.value()); + tc->setIntReg(ReturnValueReg, sysret.encodedValue()); } |