|
gem5 v23.0.0.1
|
#include <syscall_desc.hh>
Public Member Functions | |
| template<typename ... Args> | |
| SyscallDescABI (int num, const char *name, ABIExecutor< Args... > target) | |
| template<typename ... Args> | |
| SyscallDescABI (int num, const char *name, ABIExecutorPtr< Args... > target) | |
| SyscallDescABI (int num, const char *name) | |
| void | returnInto (ThreadContext *tc, const SyscallReturn &ret) override |
| For use within the system call executor if new threads are created and need something returned into them. | |
Public Member Functions inherited from gem5::SyscallDesc | |
| void | doSyscall (ThreadContext *tc) |
| Interface for invoking the system call funcion pointer. | |
| std::string | name () const |
| int | num () const |
| virtual void | returnInto (ThreadContext *tc, const SyscallReturn &ret)=0 |
| For use within the system call executor if new threads are created and need something returned into them. | |
Private Types | |
| template<typename ... Args> | |
| using | ABIExecutor = std::function< SyscallReturn(SyscallDesc *, ThreadContext *, Args...)> |
| template<typename ... Args> | |
| using | ABIExecutorPtr = SyscallReturn(*)(SyscallDesc *, ThreadContext *, Args...) |
Static Private Member Functions | |
| template<typename ... Args> | |
| static Executor | buildExecutor (ABIExecutor< Args... > target) |
| template<typename ... Args> | |
| static Dumper | buildDumper () |
Additional Inherited Members | |
Protected Types inherited from gem5::SyscallDesc | |
| using | Executor = std::function< SyscallReturn(SyscallDesc *, ThreadContext *)> |
| using | Dumper = std::function< std::string(std::string, ThreadContext *)> |
Protected Member Functions inherited from gem5::SyscallDesc | |
| SyscallDesc (int num, const char *name, Executor exec, Dumper dump) | |
| void | retrySyscall (ThreadContext *tc) |
Definition at line 119 of file syscall_desc.hh.
|
private |
Definition at line 124 of file syscall_desc.hh.
|
private |
Definition at line 128 of file syscall_desc.hh.
|
inline |
Definition at line 167 of file syscall_desc.hh.
|
inline |
Definition at line 173 of file syscall_desc.hh.
|
inline |
Definition at line 177 of file syscall_desc.hh.
|
inlinestaticprivate |
Definition at line 157 of file syscall_desc.hh.
References gem5::dumpSimcall(), and gem5::SyscallDesc::name().
|
inlinestaticprivate |
Definition at line 136 of file syscall_desc.hh.
References gem5::invokeSimcall().
|
inlineoverridevirtual |
For use within the system call executor if new threads are created and need something returned into them.
Implements gem5::SyscallDesc.
Definition at line 182 of file syscall_desc.hh.