gem5
v19.0.0.0
|
#include <syscall_desc.hh>
Public Member Functions | |
template<typename ... Args> | |
SyscallDescABI (const char *name, SyscallABIExecutor< Args... > target) | |
template<typename ... Args> | |
SyscallDescABI (const char *name, SyscallABIExecutorPtr< Args... > target) | |
![]() | |
SyscallDesc (const char *name, SyscallExecutor sys_exec=unimplementedFunc) | |
void | doSyscall (int callnum, ThreadContext *tc, Fault *fault) |
Interface for invoking the system call funcion pointer. More... | |
std::string | name () |
Private Types | |
template<typename ... Args> | |
using | SyscallABIExecutor = std::function< SyscallReturn(SyscallDesc *, int, ThreadContext *, Args...)> |
template<typename ... Args> | |
using | SyscallABIExecutorPtr = SyscallReturn(*)(SyscallDesc *, int, ThreadContext *, Args...) |
Static Private Member Functions | |
template<typename ... Args> | |
static SyscallExecutor | buildExecutor (SyscallABIExecutor< Args... > target) |
Additional Inherited Members | |
![]() | |
using | SyscallExecutor = std::function< SyscallReturn(SyscallDesc *, int num, ThreadContext *)> |
Definition at line 104 of file syscall_desc.hh.
|
private |
Definition at line 111 of file syscall_desc.hh.
|
private |
Definition at line 115 of file syscall_desc.hh.
|
inline |
Definition at line 145 of file syscall_desc.hh.
|
inline |
Definition at line 150 of file syscall_desc.hh.
|
inlinestaticprivate |
Definition at line 122 of file syscall_desc.hh.