11 #include <cynq/dma/datamover.hpp>
12 #include <cynq/enums.hpp>
13 #include <cynq/memory.hpp>
14 #include <cynq/status.hpp>
15 #include <cynq/xrt/datamover.hpp>
37 XRTMemory(
const std::size_t size, uint8_t* hostptr, uint8_t* devptr,
68 size_t Size()
override;
DMADataMover class Provides the api from which to interact with the data buffers responsable for memo...
Definition: datamover.hpp:37
Interface for standardising the API of Memory devices: XRTMemory.
Definition: memory.hpp:21
XRTDataMover class Provides the API to interact with the data buffers responsible for memory operatio...
Definition: datamover.hpp:34
XRTMemory class Provides the api for configuring the data buffers, this class is based on the Buffer ...
Definition: memory.hpp:25
std::shared_ptr< uint8_t > GetHostAddress() override
GetHostAddress method Get the Address that belongs to the host. [Reference] shared memory pointer wit...
Definition: memory.cpp:48
Status Sync(const SyncType type) override
Sync method Synchronizes the memory in terms of transactions.
Definition: memory.cpp:25
size_t Size() override
Size method Gives the value for the memory size in bytes.
Definition: memory.cpp:46
virtual ~XRTMemory()
~XRTMemory destructor method Destroy the XRTMemory object.
Definition: memory.cpp:92
XRTMemory()=delete
Default constructor.
std::shared_ptr< uint8_t > GetDeviceAddress() override
GetDeviceAddress method Get the Address that belongs to the device. [Reference] shared memory pointer...
Definition: memory.cpp:69
Structure to define the return characteristics of each function.
Definition: status.hpp:19