sim: Add a wrapper/subclass for SyscallDesc which uses GuestABI.
authorGabe Black <gabeblack@google.com>
Sat, 23 Nov 2019 02:05:23 +0000 (18:05 -0800)
committerGabe Black <gabeblack@google.com>
Tue, 10 Dec 2019 23:58:14 +0000 (23:58 +0000)
commit8bb10463f4a7483bb84d71a293e38c4a172f68fa
tree60da19a8b9bc43060daf74cebef728284a524023
parent78016fdd9831516ec441d147202dae249c09cb1c
sim: Add a wrapper/subclass for SyscallDesc which uses GuestABI.

This will let system call implementations take arguments naturally,
and centrally defined, potentially complex, and ISA/context specific
mechanisms will automatically gather the arguments and store any
result.

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

Change-Id: I68d265e0bab5de372ba975e4c7e9bb2d968c80af
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23172
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/sim/syscall_desc.hh