gem5  v20.1.0.0
Classes | Namespaces | Typedefs | Functions
proxy_ptr.hh File Reference
#include <cstdint>
#include <memory>
#include <type_traits>
#include "base/logging.hh"
#include "base/types.hh"
#include "sim/guest_abi.hh"

Go to the source code of this file.

Classes

class  ProxyPtrBuffer< Proxy >
 
class  ConstProxyPtr< T, Proxy >
 
class  ProxyPtr< T, Proxy >
 
struct  GuestABI::Argument< ABI, ProxyPtr< T, Proxy > >
 
struct  GuestABI::Argument< ABI, ConstProxyPtr< T, Proxy > >
 

Namespaces

 GuestABI
 

Typedefs

template<typename T >
using ConstVPtr = ConstProxyPtr< T, SETranslatingPortProxy >
 
template<typename T >
using VPtr = ProxyPtr< T, SETranslatingPortProxy >
 

Functions

template<typename T , typename Proxy , typename A >
std::enable_if< std::is_integral< A >::value, ConstProxyPtr< T, Proxy > >::type operator+ (A a, const ConstProxyPtr< T, Proxy > &other)
 
template<typename T , typename Proxy , typename A >
std::enable_if< std::is_integral< A >::value, ProxyPtr< T, Proxy > >::type operator+ (A a, const ProxyPtr< T, Proxy > &other)
 
template<typename T , typename Proxy >
std::ostream & operator<< (std::ostream &os, const ConstProxyPtr< T, Proxy > &vptr)
 

Typedef Documentation

◆ ConstVPtr

template<typename T >
using ConstVPtr = ConstProxyPtr<T, SETranslatingPortProxy>

Definition at line 370 of file proxy_ptr.hh.

◆ VPtr

template<typename T >
using VPtr = ProxyPtr<T, SETranslatingPortProxy>

Definition at line 372 of file proxy_ptr.hh.

Function Documentation

◆ operator+() [1/2]

template<typename T , typename Proxy , typename A >
std::enable_if<std::is_integral<A>::value, ConstProxyPtr<T, Proxy> >::type operator+ ( a,
const ConstProxyPtr< T, Proxy > &  other 
)

Definition at line 230 of file proxy_ptr.hh.

References ArmISA::a.

◆ operator+() [2/2]

template<typename T , typename Proxy , typename A >
std::enable_if<std::is_integral<A>::value, ProxyPtr<T, Proxy> >::type operator+ ( a,
const ProxyPtr< T, Proxy > &  other 
)

Definition at line 328 of file proxy_ptr.hh.

References ArmISA::a.

◆ operator<<()

template<typename T , typename Proxy >
std::ostream& operator<< ( std::ostream &  os,
const ConstProxyPtr< T, Proxy > &  vptr 
)

Definition at line 361 of file proxy_ptr.hh.

References ConstProxyPtr< T, Proxy >::addr(), ccprintf(), and X86ISA::os.


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