sim: Optionally pass "position" to GuestABI::Result::store.
authorGabe Black <gabeblack@google.com>
Sun, 22 Dec 2019 08:59:46 +0000 (03:59 -0500)
committerGabe Black <gabeblack@google.com>
Thu, 12 Mar 2020 07:21:13 +0000 (07:21 +0000)
commit10c46f0996b50415a160cfa7079166bdf99d327e
tree3ab5112d127496b3cfbacd4e021540ccc27647cd
parent5e0f5dbde7d83aad53fc357d09a2ea30786c2bb1
sim: Optionally pass "position" to GuestABI::Result::store.

This will let it get at information about the signature as a whole.

Also, put result storing and argument getting behind functions to hide
some of the templating involved in those mechanisms.

Change-Id: Ib9f26ff69495f8891435f68d3d2f9dfa761a0274
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/24105
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Maintainer: Gabe Black <gabeblack@google.com>
src/sim/guest_abi/definition.hh
src/sim/guest_abi/dispatch.hh
src/sim/guest_abi/layout.hh