|
gem5
v19.0.0.0
|
#include <functional>#include <memory>#include <sstream>#include <type_traits>Go to the source code of this file.
Namespaces | |
| GuestABI | |
Functions | |
| template<typename ... Types> | |
| std::ostream & | GuestABI::operator<< (std::ostream &os, const VarArgs< Types... > &va) |
| template<typename ABI , typename Ret > | |
| static std::enable_if<!std::is_void< Ret >::value, Ret >::type | GuestABI::callFrom (ThreadContext *tc, typename ABI::Position &position, std::function< Ret(ThreadContext *)> target) |
| template<typename ABI > | |
| static void | GuestABI::callFrom (ThreadContext *tc, typename ABI::Position &position, std::function< void(ThreadContext *)> target) |
| template<typename ABI , typename Ret , typename NextArg , typename ... Args> | |
| static std::enable_if<!std::is_void< Ret >::value, Ret >::type | GuestABI::callFrom (ThreadContext *tc, typename ABI::Position &position, std::function< Ret(ThreadContext *, NextArg, Args...)> target) |
| template<typename ABI , typename NextArg , typename ... Args> | |
| static void | GuestABI::callFrom (ThreadContext *tc, typename ABI::Position &position, std::function< void(ThreadContext *, NextArg, Args...)> target) |
| template<typename ABI , typename Ret > | |
| static void | GuestABI::dumpArgsFrom (int count, std::ostream &os, ThreadContext *tc, typename ABI::Position &position) |
| template<typename ABI , typename Ret , typename NextArg , typename ... Args> | |
| static void | GuestABI::dumpArgsFrom (int count, std::ostream &os, ThreadContext *tc, typename ABI::Position &position) |
| template<typename ABI , 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, 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, | ||
| std::function< Ret(ThreadContext *, Args...)> | target = std::function<Ret(ThreadContext *, Args...)>() |
||
| ) |
Definition at line 481 of file guest_abi.hh.
References GuestABI::ResultAllocator< ABI, Ret, Enabled >::allocate(), GuestABI::dumpArgsFrom(), GuestABI::PositionInitializer< ABI, Enabled >::init(), name(), and ArmISA::ss.
| std::string dumpSimcall | ( | std::string | name, |
| ThreadContext * | tc, | ||
| Ret(*)(ThreadContext *, Args...) | target | ||
| ) |
Definition at line 496 of file guest_abi.hh.
References name().
| Ret invokeSimcall | ( | ThreadContext * | tc, |
| std::function< Ret(ThreadContext *, Args...)> | target | ||
| ) |
Definition at line 437 of file guest_abi.hh.
References GuestABI::ResultAllocator< ABI, Ret, Enabled >::allocate(), GuestABI::callFrom(), and GuestABI::PositionInitializer< ABI, Enabled >::init().
Referenced by SyscallDescABI< DefaultSyscallABI >::buildExecutor().
| Ret invokeSimcall | ( | ThreadContext * | tc, |
| Ret(*)(ThreadContext *, Args...) | target | ||
| ) |
Definition at line 449 of file guest_abi.hh.
| void invokeSimcall | ( | ThreadContext * | tc, |
| std::function< void(ThreadContext *, Args...)> | target | ||
| ) |
Definition at line 457 of file guest_abi.hh.
References GuestABI::callFrom(), and GuestABI::PositionInitializer< ABI, Enabled >::init().
| void invokeSimcall | ( | ThreadContext * | tc, |
| void(*)(ThreadContext *, Args...) | target | ||
| ) |
Definition at line 468 of file guest_abi.hh.