gem5  v20.1.0.0
Functions
guest_abi.hh File Reference
#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...))
 

Function Documentation

◆ dumpSimcall() [1/2]

template<typename ABI , typename Ret , typename ... Args>
std::string dumpSimcall ( std::string  name,
ThreadContext tc,
Ret(*)(ThreadContext *, Args...)  target 
)

Definition at line 122 of file guest_abi.hh.

References name().

◆ dumpSimcall() [2/2]

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...)>() 
)

◆ invokeSimcall() [1/6]

template<typename ABI , bool store_ret, typename Ret , typename ... Args>
Ret invokeSimcall ( ThreadContext tc,
Ret(*)(ThreadContext *, Args...)  target 
)

Definition at line 67 of file guest_abi.hh.

◆ invokeSimcall() [2/6]

template<typename ABI , typename Ret , typename ... Args>
Ret invokeSimcall ( ThreadContext tc,
Ret(*)(ThreadContext *, Args...)  target 
)

Definition at line 75 of file guest_abi.hh.

◆ invokeSimcall() [3/6]

template<typename ABI , bool store_ret, typename Ret , typename ... Args>
Ret invokeSimcall ( ThreadContext tc,
std::function< Ret(ThreadContext *, Args...)>  target 
)

◆ invokeSimcall() [4/6]

template<typename ABI , typename Ret , typename ... Args>
Ret invokeSimcall ( ThreadContext tc,
std::function< Ret(ThreadContext *, Args...)>  target 
)

Definition at line 59 of file guest_abi.hh.

◆ invokeSimcall() [5/6]

template<typename ABI , typename ... Args>
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().

◆ invokeSimcall() [6/6]

template<typename ABI , typename ... Args>
void invokeSimcall ( ThreadContext tc,
void(*)(ThreadContext *, Args...)  target 
)

Definition at line 94 of file guest_abi.hh.


Generated on Wed Sep 30 2020 14:02:19 for gem5 by doxygen 1.8.17