sim: Make SyscallReturn handle extra/"pseudo" return registers.
authorGabe Black <gabeblack@google.com>
Sun, 8 Dec 2019 01:45:44 +0000 (17:45 -0800)
committerGabe Black <gabeblack@google.com>
Thu, 12 Mar 2020 01:35:34 +0000 (01:35 +0000)
commit9d606b80b628cfca1684bc79b4271615435f946c
treea87d65eed18c189294e1e6e5d4c5fe13e6d8db87
parent7ca61b7ddf735520172abacbd893ee65fe4bc840
sim: Make SyscallReturn handle extra/"pseudo" return registers.

Avoid special casing them in the system calls themselves.

Change-Id: I735f8e6fdff164c66e3f1386aed3fc9b107ea45f
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23440
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/arm/process.cc
src/arch/mips/process.cc
src/arch/sparc/process.cc
src/sim/syscall_emul.cc
src/sim/syscall_return.hh