#include <BspPut.hpp>
Public Member Functions | |
BspPut & | logicAddr (const int &aLogicAddr) |
BspPut & | offset (const int &aOffset) |
BspPut & | nBytes (const int &aNBytes) |
BspPut & | superstep (const int &aSuperstep) |
int | logicAddr () const |
int | offset () const |
int | nBytes () const |
int | superstep () const |
const unsigned char * | memArea () const |
void | writeInMem (const void *src) |
void | dump (bool dumpMem) const |
Private Attributes | |
int | logicAddr_ |
int | offset_ |
int | nBytes_ |
int | superstep_ |
vector< unsigned char > | memArea_ |
When a BSP task issues a bsp_put/bsp_get request to another task, the request is sent immediately, byt only becomes effective at the end of the superstep. BspPut holds the bsp_put/bsp_get details until the end of the superstep.
|
Dumps the object's contents to stderr. Used only for debugging.
|
|
Returns the logic address of a BspPut object. |
|
Sets the logic address of a recently created BspPut object (Named Parameter Idiom). |
|
Returns a pointer to the memory contents of a BspPut object. |
|
Returns the number of bytes destination of a BspPut object. |
|
Sets the number of bytes of a recently created BspPut object (Named Parameter Idiom).. |
|
Returns the offset of a BspPut object. |
|
Sets the offset of a recently created BspPut object (Named Parameter Idiom). |
|
Returns the superstep of a BspPut object. |
|
Sets the superstep of a recently created BspPut object (Named Parameter Idiom). |
|
Copies a memory area into the BspPut object that will be used to make a remote bsp_put. nBytes will be copied from src to memArea.
|
|
The logic address of the DRMA operation. It is mapped to a physical memory address (
|
|
Contents to be written at dst |
|
Number of bytes to be written |
|
Offset from the destination address. Operation(read or write) will start physAddr + offset |
|
The superstep in which the corresponding bsp_put request was issued |