gem5
v20.1.0.0
|
#include <functional>
#include "sim/guest_abi/definition.hh"
#include "sim/guest_abi/dispatch.hh"
#include "sim/guest_abi/layout.hh"
#include "sim/guest_abi/varargs.hh"
Go to the source code of this file.
Functions | |
template<typename ABI , bool store_ret, typename Ret , typename ... Args> | |
Ret | invokeSimcall (ThreadContext *tc, std::function< Ret(ThreadContext *, Args...)> target) |
template<typename ABI , typename Ret , typename ... Args> | |
Ret | invokeSimcall (ThreadContext *tc, std::function< Ret(ThreadContext *, Args...)> target) |
template<typename ABI , bool store_ret, typename Ret , typename ... Args> | |
Ret | invokeSimcall (ThreadContext *tc, Ret(*target)(ThreadContext *, Args...)) |
template<typename ABI , typename Ret , typename ... Args> | |
Ret | invokeSimcall (ThreadContext *tc, Ret(*target)(ThreadContext *, Args...)) |
template<typename ABI , typename ... Args> | |
void | invokeSimcall (ThreadContext *tc, std::function< void(ThreadContext *, Args...)> target) |
template<typename ABI , typename ... Args> | |
void | invokeSimcall (ThreadContext *tc, void(*target)(ThreadContext *, Args...)) |
template<typename ABI , typename Ret , typename ... Args> | |
std::string | dumpSimcall (std::string name, ThreadContext *tc, std::function< Ret(ThreadContext *, Args...)> target=std::function< Ret(ThreadContext *, Args...)>()) |
template<typename ABI , typename Ret , typename ... Args> | |
std::string | dumpSimcall (std::string name, ThreadContext *tc, Ret(*target)(ThreadContext *, Args...)) |
std::string dumpSimcall | ( | std::string | name, |
ThreadContext * | tc, | ||
Ret(*)(ThreadContext *, Args...) | target | ||
) |
Definition at line 122 of file guest_abi.hh.
References name().
std::string dumpSimcall | ( | std::string | name, |
ThreadContext * | tc, | ||
std::function< Ret(ThreadContext *, Args...)> | target = std::function<Ret(ThreadContext *, Args...)>() |
||
) |
Definition at line 107 of file guest_abi.hh.
References GuestABI::dumpArgsFrom(), name(), GuestABI::prepareForFunction(), and ArmISA::ss.
Referenced by SyscallDescABI< ABI >::buildDumper(), and ArmSemihosting::SemiCall::buildDumper().
Ret invokeSimcall | ( | ThreadContext * | tc, |
Ret(*)(ThreadContext *, Args...) | target | ||
) |
Definition at line 67 of file guest_abi.hh.
Ret invokeSimcall | ( | ThreadContext * | tc, |
Ret(*)(ThreadContext *, Args...) | target | ||
) |
Definition at line 75 of file guest_abi.hh.
Ret invokeSimcall | ( | ThreadContext * | tc, |
std::function< Ret(ThreadContext *, Args...)> | target | ||
) |
Definition at line 47 of file guest_abi.hh.
References GuestABI::callFrom(), and GuestABI::prepareForFunction().
Referenced by SyscallDescABI< ABI >::buildExecutor().
Ret invokeSimcall | ( | ThreadContext * | tc, |
std::function< Ret(ThreadContext *, Args...)> | target | ||
) |
Definition at line 59 of file guest_abi.hh.
void invokeSimcall | ( | ThreadContext * | tc, |
std::function< void(ThreadContext *, Args...)> | target | ||
) |
Definition at line 82 of file guest_abi.hh.
References GuestABI::callFrom(), and GuestABI::prepareForArguments().
void invokeSimcall | ( | ThreadContext * | tc, |
void(*)(ThreadContext *, Args...) | target | ||
) |
Definition at line 94 of file guest_abi.hh.