gem5  v20.1.0.0
Public Member Functions | Public Attributes | List of all members
TestProxy Class Reference

Public Member Functions

 TestProxy (BackingStore &_store)
 
 TestProxy (ThreadContext *tc)
 
void writeBlob (Addr ptr, const void *data, int size)
 
void readBlob (Addr ptr, void *data, int size)
 

Public Attributes

BackingStorestore
 

Detailed Description

Definition at line 160 of file proxy_ptr.test.cc.

Constructor & Destructor Documentation

◆ TestProxy() [1/2]

TestProxy::TestProxy ( BackingStore _store)
inline

Definition at line 165 of file proxy_ptr.test.cc.

◆ TestProxy() [2/2]

TestProxy::TestProxy ( ThreadContext tc)
inline

Definition at line 167 of file proxy_ptr.test.cc.

Member Function Documentation

◆ readBlob()

void TestProxy::readBlob ( Addr  ptr,
void *  data,
int  size 
)
inline

Definition at line 176 of file proxy_ptr.test.cc.

References data, BackingStore::readBlob(), and store.

◆ writeBlob()

void TestProxy::writeBlob ( Addr  ptr,
const void *  data,
int  size 
)
inline

Definition at line 170 of file proxy_ptr.test.cc.

References data, store, and BackingStore::writeBlob().

Member Data Documentation

◆ store

BackingStore& TestProxy::store

Definition at line 163 of file proxy_ptr.test.cc.

Referenced by readBlob(), and writeBlob().


The documentation for this class was generated from the following file:

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