sim: Make the syscalls use the SyscallReturn suppression mechanism.
authorGabe Black <gabeblack@google.com>
Fri, 22 Nov 2019 23:40:58 +0000 (15:40 -0800)
committerGabe Black <gabeblack@google.com>
Tue, 10 Dec 2019 23:58:14 +0000 (23:58 +0000)
commita33d20ccafdca5338dbdad0659c754ea065e2bfc
tree51b6f79b619a9c9d2c0687d9a076004f3963749b
parentacd11787c9a650115efe13076f9d8d24b6332bd5
sim: Make the syscalls use the SyscallReturn suppression mechanism.

This, among other things, prevents them from needing to toggle global
flags in the syscall desc table to control local behavior.

Jira Issue: https://gem5.atlassian.net/browse/GEM5-187

Change-Id: Idcef23766084f10d5205721b54a6768a850f7eb9
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23167
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Brandon Potter <Brandon.Potter@amd.com>
src/sim/syscall_desc.cc
src/sim/syscall_emul.hh