17#ifndef included_Retro_Rw11RdmaDisk
18#define included_Retro_Rw11RdmaDisk 1
38 uint16_t mode, uint32_t lba,
43 virtual void Dump(std::ostream& os,
int ind=0,
const char* text=0,
67 std::vector<uint16_t>
fBuf;
~Rw11RdmaDisk()
Destructor.
std::vector< uint16_t > fBuf
data buffer
Rw11UnitDisk * fpUnit
UnitDisk to read VirtDisk.
size_t fNWord
words to transfer
virtual void PreRdmaHook()
FIXME_docs.
size_t fNBlock
disk blocks to transfer
virtual void PostRdmaHook(size_t nwdone)
FIXME_docs.
void QueueDiskWrite(uint32_t addr, size_t size, uint16_t mode, uint32_t lba, Rw11UnitDisk *punit)
FIXME_docs.
void SetupDisk(size_t size, uint32_t lba, Rw11UnitDisk *punit, Rw11RdmaDisk::func func)
FIXME_docs.
@ kFuncWriteCheck
write check function
@ kFuncWrite
write function
@ kStatNWritePadded
padded disk write
@ kStatNWChkFail
write check failed
void QueueDiskWriteCheck(uint32_t addr, size_t size, uint16_t mode, uint32_t lba, Rw11UnitDisk *punit)
FIXME_docs.
virtual void Dump(std::ostream &os, int ind=0, const char *text=0, int detail=0) const
FIXME_docs.
size_t WriteCheck(size_t nwdone)
FIXME_docs.
void QueueDiskRead(uint32_t addr, size_t size, uint16_t mode, uint32_t lba, Rw11UnitDisk *punit)
FIXME_docs.
enum func fFunc
current function
std::function< void(int, size_t, RlinkCommandList &, size_t)> postcb_t
std::function< void(int, size_t, size_t, RlinkCommandList &)> precb_t
Declaration of class ReventLoop.