sparc,sim: Remove special handling of SPARC in the clone system call.
authorGabe Black <gabeblack@google.com>
Mon, 7 Sep 2020 02:03:12 +0000 (19:03 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 15 Sep 2020 03:59:03 +0000 (03:59 +0000)
commit007abdec6b5893d9e06789f61f31f2e67bda20aa
tree829a408a736f024a915313c5f7e80da645883773
parent43cbcd93ac4aac0a607c3f40d76f99cdf4f37155
sparc,sim: Remove special handling of SPARC in the clone system call.

We can set the extra syscall return values in the ISA specific archClone
function. We don't need a special #ifdef to handle them.

Change-Id: I82904b3d4bdf211c89d271d7277a60151191cdfc
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/34167
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Ciro Santilli <ciro.santilli@arm.com>
src/arch/sparc/linux/linux.hh
src/sim/syscall_emul.hh