sim: Change the syscall executor to a std::function.
authorGabe Black <gabeblack@google.com>
Fri, 22 Nov 2019 08:27:52 +0000 (00:27 -0800)
committerGabe Black <gabeblack@google.com>
Wed, 4 Dec 2019 04:29:50 +0000 (04:29 +0000)
commit8b44fb7181d227d88f58d1dab7c64584070d4599
treef78aae7314c975c06a2ffa996c1f36b7ca217f82
parentf135fc9cbe2adecfe0f5a5120fc2c4765390ef75
sim: Change the syscall executor to a std::function.

This will enable using other types of callable like a lambda.

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

Change-Id: If9f7176205492830824b5fe3c00f2c7710f57f70
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23164
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/sim/syscall_desc.cc
src/sim/syscall_desc.hh