gem5
v20.1.0.0
|
#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. More... | |
Public Member Functions inherited from SyscallDesc | |
void | doSyscall (ThreadContext *tc) |
Interface for invoking the system call funcion pointer. More... | |
std::string | name () const |
int | num () const |
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 SyscallDesc | |
using | Executor = std::function< SyscallReturn(SyscallDesc *, ThreadContext *)> |
using | Dumper = std::function< std::string(std::string, ThreadContext *)> |
Protected Member Functions inherited from SyscallDesc | |
SyscallDesc (int num, const char *name, Executor exec, Dumper dump) | |
Definition at line 110 of file syscall_desc.hh.
|
private |
Definition at line 116 of file syscall_desc.hh.
|
private |
Definition at line 120 of file syscall_desc.hh.
|
inline |
Definition at line 158 of file syscall_desc.hh.
|
inline |
Definition at line 164 of file syscall_desc.hh.
|
inline |
Definition at line 168 of file syscall_desc.hh.
|
inlinestaticprivate |
Definition at line 148 of file syscall_desc.hh.
References dumpSimcall(), and SyscallDesc::name().
|
inlinestaticprivate |
Definition at line 127 of file syscall_desc.hh.
References invokeSimcall().
|
inlineoverridevirtual |
For use within the system call executor if new threads are created and need something returned into them.
Implements SyscallDesc.
Definition at line 173 of file syscall_desc.hh.