|
gem5 [DEVELOP-FOR-25.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. | |
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 |
Private Types | |
| template<typename ... Args> | |
| using | ABIExecutor |
| template<typename ... Args> | |
| using | ABIExecutorPtr |
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 |
| 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.
References buildDumper(), buildExecutor(), gem5::SyscallDesc::name(), gem5::SyscallDesc::num(), and gem5::SyscallDesc::SyscallDesc().
Referenced by SyscallDescABI(), and SyscallDescABI().
|
inline |
Definition at line 173 of file syscall_desc.hh.
References gem5::SyscallDesc::name(), gem5::SyscallDesc::num(), and SyscallDescABI().
|
inline |
Definition at line 177 of file syscall_desc.hh.
References gem5::SyscallDesc::name(), gem5::SyscallDesc::num(), SyscallDescABI(), and gem5::unimplementedFunc().
|
inlinestaticprivate |
Definition at line 157 of file syscall_desc.hh.
References gem5::dumpSimcall(), and gem5::SyscallDesc::name().
Referenced by SyscallDescABI().
|
inlinestaticprivate |
Definition at line 136 of file syscall_desc.hh.
References gem5::invokeSimcall(), and gem5::SyscallDesc::SyscallDesc().
Referenced by SyscallDescABI().
|
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.