sim: Rework the SyscallDesc to use the dumpSimcall mechanism.
authorGabe Black <gabeblack@google.com>
Sun, 8 Dec 2019 09:36:05 +0000 (01:36 -0800)
committerGabe Black <gabeblack@google.com>
Thu, 12 Mar 2020 07:21:13 +0000 (07:21 +0000)
commit0b5ee2e8642f69a6f12ab58651967e6dc3e28685
treea3c4bcbe4313614c4cde6105735a6001969a431e
parent1d60aba814f9a0ac7bae31070663a4a44e0d3712
sim: Rework the SyscallDesc to use the dumpSimcall mechanism.

This greatly simplifies the doSyscall method, removes a use of
getSyscallArg, and will only print arguments the target syscall is
going to use.

Change-Id: Id8c9c995a2506468fd99fd865f2eb31c40db8b55
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23461
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Maintainer: Gabe Black <gabeblack@google.com>
src/sim/syscall_desc.cc
src/sim/syscall_desc.hh