w11 - cpp 0.794
Backend server for Rlink and w11
|
FIXME_docs. More...
#include <Rw11CntlRL11.hpp>
Public Types | |
enum | stats { kStatNFuncWchk = Rw11Cntl::kDimStat , kStatNFuncRhdr , kStatNFuncWrite , kStatNFuncRead , kStatNFuncRnhc , kDimStat } |
Public Types inherited from Retro::Rw11Cntl | |
enum | stats { kStatNAttnHdl = 0 , kStatNAttnNoAct , kDimStat } |
Public Member Functions | |
Rw11CntlRL11 () | |
Default constructor. | |
~Rw11CntlRL11 () | |
Destructor. | |
void | Config (const std::string &name, uint16_t base, int lam) |
FIXME_docs. | |
virtual void | Start () |
FIXME_docs. | |
virtual bool | BootCode (size_t unit, std::vector< uint16_t > &code, uint16_t &aload, uint16_t &astart) |
FIXME_docs ???? | |
virtual void | UnitSetup (size_t ind) |
FIXME_docs. | |
void | SetChunkSize (size_t chunk) |
FIXME_docs. | |
size_t | ChunkSize () const |
FIXME_docs. | |
Rstats & | RdmaStats () |
FIXME_docs. | |
virtual void | Dump (std::ostream &os, int ind=0, const char *text=0, int detail=0) const |
FIXME_docs. | |
Public Member Functions inherited from Retro::Rw11CntlBase< Rw11UnitRL11, 4 > | |
Rw11CntlBase (const std::string &type) | |
Constructor. | |
~Rw11CntlBase () | |
Destructor. | |
virtual size_t | NUnit () const |
FIXME_docs. | |
virtual Rw11Unit & | UnitBase (size_t index) const |
FIXME_docs. | |
Rw11UnitRL11 & | Unit (size_t index) const |
FIXME_docs. | |
const std::shared_ptr< Rw11UnitRL11 > & | UnitSPtr (size_t index) const |
FIXME_docs. | |
virtual void | Dump (std::ostream &os, int ind=0, const char *text=0, int detail=0) const |
FIXME_docs. | |
Public Member Functions inherited from Retro::Rw11Cntl | |
Rw11Cntl (const std::string &type) | |
Constructor. | |
virtual | ~Rw11Cntl () |
Destructor. | |
Rw11Cntl (const Rw11Cntl &)=delete | |
Rw11Cntl & | operator= (const Rw11Cntl &)=delete |
void | SetCpu (Rw11Cpu *pcpu) |
FIXME_docs. | |
Rw11Cpu & | Cpu () const |
FIXME_docs. | |
Rw11 & | W11 () const |
FIXME_docs. | |
RlinkServer & | Server () const |
FIXME_docs. | |
RlinkConnect & | Connect () const |
FIXME_docs. | |
RlogFile & | LogFile () const |
FIXME_docs. | |
const std::string & | Type () const |
FIXME_docs. | |
const std::string & | Name () const |
FIXME_docs. | |
uint16_t | Base () const |
FIXME_docs. | |
int | Lam () const |
FIXME_docs. | |
void | SetEnable (bool ena) |
FIXME_docs. | |
bool | Enable () const |
FIXME_docs. | |
virtual bool | Probe () |
FIXME_docs. | |
bool | ProbeFound () const |
FIXME_docs. | |
uint16_t | ProbeDataInt () const |
FIXME_docs. | |
uint16_t | ProbeDataRem () const |
FIXME_docs. | |
const Rw11Probe & | ProbeStatus () const |
FIXME_docs. | |
virtual void | Start () |
FIXME_docs. | |
bool | IsStarted () const |
FIXME_docs. | |
virtual size_t | NUnit () const =0 |
virtual Rw11Unit & | UnitBase (size_t index) const =0 |
virtual bool | BootCode (size_t unit, std::vector< uint16_t > &code, uint16_t &aload, uint16_t &astart) |
FIXME_docs. | |
virtual void | UnitSetup (size_t ind) |
FIXME_docs. | |
virtual void | UnitSetupAll () |
FIXME_docs. | |
void | SetTraceLevel (uint32_t level) |
FIXME_docs. | |
uint32_t | TraceLevel () const |
FIXME_docs. | |
std::string | UnitName (size_t index) const |
FIXME_docs. | |
Rstats & | Stats () |
FIXME_docs. | |
virtual void | Dump (std::ostream &os, int ind=0, const char *text=0, int detail=0) const |
FIXME_docs. | |
Static Public Attributes | |
static const uint16_t | kIbaddr = 0174400 |
RL11 default address. | |
static const int | kLam = 5 |
RL11 default lam. | |
static const uint16_t | kRLCS = 000 |
RLCS reg offset. | |
static const uint16_t | kRLBA = 002 |
RLBA reg offset. | |
static const uint16_t | kRLDA = 004 |
RLDA reg offset. | |
static const uint16_t | kRLMP = 006 |
RLMP reg offset. | |
static const uint16_t | kProbeOff = kRLCS |
probe address offset (rlcs) | |
static const bool | kProbeInt = true |
probe int active | |
static const bool | kProbeRem = true |
probr rem active | |
static const uint16_t | kRLCS_M_ERR = kWBit15 |
static const uint16_t | kRLCS_M_DE = kWBit14 |
static const uint16_t | kRLCS_V_E = 10 |
static const uint16_t | kRLCS_B_E = 0017 |
static const uint16_t | kRLCS_V_DS = 8 |
static const uint16_t | kRLCS_B_DS = 0003 |
static const uint16_t | kRLCS_M_CRDY = kWBit07 |
static const uint16_t | kRLCS_M_IE = kWBit06 |
static const uint16_t | kRLCS_M_BAE = 000060 |
static const uint16_t | kRLCS_V_BAE = 4 |
static const uint16_t | kRLCS_B_BAE = 0003 |
static const uint16_t | kRLCS_V_FUNC = 1 |
static const uint16_t | kRLCS_B_FUNC = 0007 |
static const uint16_t | kRLCS_M_DRDY = kWBit00 |
static const uint16_t | kFUNC_NOOP = 0 |
static const uint16_t | kFUNC_WCHK = 1 |
static const uint16_t | kFUNC_GS = 2 |
static const uint16_t | kFUNC_SEEK = 3 |
static const uint16_t | kFUNC_RHDR = 4 |
static const uint16_t | kFUNC_WRITE = 5 |
static const uint16_t | kFUNC_READ = 6 |
static const uint16_t | kFUNC_RNHC = 7 |
static const uint16_t | kERR_M_DE = kWBit04 |
static const uint16_t | kERR_OPI = 1 |
static const uint16_t | kERR_WCHK = 2 |
static const uint16_t | kERR_HCRC = 3 |
static const uint16_t | kERR_DLATE = 4 |
static const uint16_t | kERR_HNFND = 5 |
static const uint16_t | kERR_NXM = 8 |
static const uint16_t | kRLCS_V_MPREM = 11 |
static const uint16_t | kRLCS_B_MPREM = 0037 |
static const uint16_t | kRLCS_V_MPLOC = 8 |
static const uint16_t | kRLCS_B_MPLOC = 0007 |
static const uint16_t | kRLCS_ENA_MPREM = kWBit05 |
static const uint16_t | kRLCS_ENA_MPLOC = kWBit04 |
static const uint16_t | kRFUNC_WCS = 1 |
static const uint16_t | kRFUNC_WMP = 2 |
static const uint16_t | kMPREM_M_MAP = kWBit04 |
static const uint16_t | kMPREM_M_SEQ = kWBit03 |
static const uint16_t | kMPREM_S_MP = 0000 |
static const uint16_t | kMPREM_S_STA = 0001 |
static const uint16_t | kMPREM_S_POS = 0002 |
static const uint16_t | kMPREM_MP = 0003 |
static const uint16_t | kMPREM_CRC = 0004 |
static const uint16_t | kMPREM_STA = 0010 |
static const uint16_t | kMPREM_POS = 0014 |
static const uint16_t | kMPREM_SEQ_MPSTAPOS |
static const uint16_t | kMPLOC_MP = 0000 |
static const uint16_t | kMPLOC_STA = 0001 |
static const uint16_t | kMPLOC_POS = 0002 |
static const uint16_t | kMPLOC_ZERO = 0003 |
static const uint16_t | kMPLOC_CRC = 0004 |
static const uint16_t | kRLDA_SE_M_DF = 0177600 |
static const uint16_t | kRLDA_SE_V_DF = 7 |
static const uint16_t | kRLDA_SE_B_DF = 0777 |
static const uint16_t | kRLDA_SE_M_HS = kWBit04 |
static const uint16_t | kRLDA_SE_M_DIR = kWBit02 |
static const uint16_t | kRLDA_SE_X_MSK = 0000153 |
static const uint16_t | kRLDA_SE_X_VAL = 0000001 |
static const uint16_t | kRLDA_RW_M_CA = 0177600 |
static const uint16_t | kRLDA_RW_V_CA = 7 |
static const uint16_t | kRLDA_RW_B_CA = 0777 |
static const uint16_t | kRLDA_RW_M_HS = kWBit06 |
static const uint16_t | kRLDA_RW_V_HS = 6 |
static const uint16_t | kRLDA_RW_B_HS = 001 |
static const uint16_t | kRLDA_RW_B_SA = 077 |
static const uint16_t | kRLDA_GS_M_RST = kWBit03 |
static const uint16_t | kRLDA_GS_X_MSK = 0000367 |
static const uint16_t | kRLDA_GS_X_VAL = 0000003 |
static const uint16_t | kSTA_M_WDE = kWBit15 |
static const uint16_t | kSTA_M_CHE = kWBit14 |
static const uint16_t | kSTA_M_WL = kWBit13 |
static const uint16_t | kSTA_M_STO = kWBit12 |
static const uint16_t | kSTA_M_SPE = kWBit11 |
static const uint16_t | kSTA_M_WGE = kWBit10 |
static const uint16_t | kSTA_M_VCE = kWBit09 |
static const uint16_t | kSTA_M_DSE = kWBit08 |
static const uint16_t | kSTA_M_DT = kWBit07 |
static const uint16_t | kSTA_M_HS = kWBit06 |
static const uint16_t | kSTA_M_CO = kWBit05 |
static const uint16_t | kSTA_M_HO = kWBit04 |
static const uint16_t | kSTA_M_BH = kWBit03 |
static const uint16_t | kSTA_B_ST = 0007 |
static const uint16_t | kST_LOAD = 0 |
static const uint16_t | kST_SPIN = 1 |
static const uint16_t | kST_BRUSH = 2 |
static const uint16_t | kST_HLOAD = 3 |
static const uint16_t | kST_SEEK = 4 |
static const uint16_t | kST_LOCK = 5 |
static const uint16_t | kST_UNL = 6 |
static const uint16_t | kST_DOWN = 7 |
Static Public Attributes inherited from Retro::Rw11CntlBase< Rw11UnitRL11, 4 > | |
static const size_t | kNUnit |
number of units | |
Static Public Attributes inherited from Retro::Rbits | |
static const uint8_t | kBBit00 = 1u<< 0 |
static const uint8_t | kBBit01 = 1u<< 1 |
static const uint8_t | kBBit02 = 1u<< 2 |
static const uint8_t | kBBit03 = 1u<< 3 |
static const uint8_t | kBBit04 = 1u<< 4 |
static const uint8_t | kBBit05 = 1u<< 5 |
static const uint8_t | kBBit06 = 1u<< 6 |
static const uint8_t | kBBit07 = 1u<< 7 |
static const uint16_t | kWBit00 = 1u<< 0 |
static const uint16_t | kWBit01 = 1u<< 1 |
static const uint16_t | kWBit02 = 1u<< 2 |
static const uint16_t | kWBit03 = 1u<< 3 |
static const uint16_t | kWBit04 = 1u<< 4 |
static const uint16_t | kWBit05 = 1u<< 5 |
static const uint16_t | kWBit06 = 1u<< 6 |
static const uint16_t | kWBit07 = 1u<< 7 |
static const uint16_t | kWBit08 = 1u<< 8 |
static const uint16_t | kWBit09 = 1u<< 9 |
static const uint16_t | kWBit10 = 1u<<10 |
static const uint16_t | kWBit11 = 1u<<11 |
static const uint16_t | kWBit12 = 1u<<12 |
static const uint16_t | kWBit13 = 1u<<13 |
static const uint16_t | kWBit14 = 1u<<14 |
static const uint16_t | kWBit15 = 1u<<15 |
static const uint32_t | kLBit00 = 1u<< 0 |
static const uint32_t | kLBit01 = 1u<< 1 |
static const uint32_t | kLBit02 = 1u<< 2 |
static const uint32_t | kLBit03 = 1u<< 3 |
static const uint32_t | kLBit04 = 1u<< 4 |
static const uint32_t | kLBit05 = 1u<< 5 |
static const uint32_t | kLBit06 = 1u<< 6 |
static const uint32_t | kLBit07 = 1u<< 7 |
static const uint32_t | kLBit08 = 1u<< 8 |
static const uint32_t | kLBit09 = 1u<< 9 |
static const uint32_t | kLBit10 = 1u<<10 |
static const uint32_t | kLBit11 = 1u<<11 |
static const uint32_t | kLBit12 = 1u<<12 |
static const uint32_t | kLBit13 = 1u<<13 |
static const uint32_t | kLBit14 = 1u<<14 |
static const uint32_t | kLBit15 = 1u<<15 |
static const uint32_t | kLBit16 = 1u<<16 |
static const uint32_t | kLBit17 = 1u<<17 |
static const uint32_t | kLBit18 = 1u<<18 |
static const uint32_t | kLBit19 = 1u<<19 |
static const uint32_t | kLBit20 = 1u<<20 |
static const uint32_t | kLBit21 = 1u<<21 |
static const uint32_t | kLBit22 = 1u<<22 |
static const uint32_t | kLBit23 = 1u<<23 |
static const uint32_t | kLBit24 = 1u<<24 |
static const uint32_t | kLBit25 = 1u<<25 |
static const uint32_t | kLBit26 = 1u<<26 |
static const uint32_t | kLBit27 = 1u<<27 |
static const uint32_t | kLBit28 = 1u<<28 |
static const uint32_t | kLBit29 = 1u<<29 |
static const uint32_t | kLBit30 = 1u<<30 |
static const uint32_t | kLBit31 = 1u<<31 |
Protected Member Functions | |
int | AttnHandler (RlinkServer::AttnArgs &args) |
FIXME_docs. | |
void | RdmaPreExecCB (int stat, size_t nwdone, size_t nwnext, RlinkCommandList &clist) |
FIXME_docs. | |
void | RdmaPostExecCB (int stat, size_t ndone, RlinkCommandList &clist, size_t ncmd) |
FIXME_docs. | |
void | LogRler (uint16_t rlerr) |
FIXME_docs ???? | |
void | AddSetStatus (RlinkCommandList &clist, size_t ind, uint16_t sta) |
FIXME_docs. | |
void | AddSetPosition (RlinkCommandList &clist, size_t ind, uint16_t pos) |
FIXME_docs. | |
void | AddErrorExit (RlinkCommandList &clist, uint16_t rlerr) |
FIXME_docs. | |
void | AddNormalExit (RlinkCommandList &clist, size_t ndone, uint16_t rlerr=0) |
FIXME_docs. | |
uint16_t | CalcCrc (size_t size, const uint16_t *data) |
FIXME_docs. | |
Protected Member Functions inherited from Retro::Rw11Cntl | |
void | ConfigCntl (const std::string &name, uint16_t base, int lam, uint16_t probeoff, bool probeint, bool proberem) |
FIXME_docs. | |
Protected Attributes | |
size_t | fPC_rlcs |
PrimClist: rlcs index. | |
size_t | fPC_rlba |
PrimClist: rlba index. | |
size_t | fPC_rlda |
PrimClist: rlda index. | |
size_t | fPC_imp |
PrimClist: imp index. | |
size_t | fPC_wc |
PrimClist: wc index. | |
size_t | fPC_sta |
PrimClist: sta index. | |
size_t | fPC_pos |
PrimClist: pos index. | |
uint16_t | fRd_rlcs |
Rdma: request rlcs. | |
uint16_t | fRd_rlda |
Rdma: request rlda. | |
uint16_t | fRd_rlmp |
Rdma: request rlmp (~wc) | |
uint16_t | fRd_sta |
Rdma: initial drive status. | |
uint16_t | fRd_pos |
Rdma: initial drive position. | |
uint32_t | fRd_addr |
Rdma: current addr. | |
uint32_t | fRd_lba |
Rdma: current lba. | |
uint32_t | fRd_nwrd |
Rdma: current nwrd. | |
uint16_t | fRd_fu |
Rdma: request fu code. | |
bool | fRd_ovr |
Rdma: overrun condition found. | |
Rw11RdmaDisk | fRdma |
Rdma controller. | |
Protected Attributes inherited from Retro::Rw11CntlBase< Rw11UnitRL11, 4 > | |
std::shared_ptr< Rw11UnitRL11 > | fspUnit [NU] |
Protected Attributes inherited from Retro::Rw11Cntl | |
Rw11Cpu * | fpCpu |
cpu back pointer | |
std::string | fType |
controller type | |
std::string | fName |
controller name | |
uint16_t | fBase |
controller base address | |
int | fLam |
attn bit number (-1 of none) | |
bool | fEnable |
enable flag | |
bool | fStarted |
true if Start() called | |
Rw11Probe | fProbe |
controller probe context | |
uint32_t | fTraceLevel |
trace level; 0=off;1=cntl | |
RlinkCommandList | fPrimClist |
clist for attn primary info | |
Rstats | fStats |
statistics | |
FIXME_docs.
Definition at line 27 of file Rw11CntlRL11.hpp.
Enumerator | |
---|---|
kStatNFuncWchk | |
kStatNFuncRhdr | |
kStatNFuncWrite | |
kStatNFuncRead | |
kStatNFuncRnhc | |
kDimStat |
Definition at line 171 of file Rw11CntlRL11.hpp.
Retro::Rw11CntlRL11::Rw11CntlRL11 | ( | ) |
Default constructor.
Definition at line 174 of file Rw11CntlRL11.cpp.
References Retro::Rstats::Define(), Retro::Rw11CntlBase< Rw11UnitRL11, 4 >::fspUnit, Retro::Rw11Cntl::fStats, kStatNFuncRead, kStatNFuncRhdr, kStatNFuncRnhc, kStatNFuncWchk, kStatNFuncWrite, and Retro::Rw11CntlBase< Rw11UnitRL11, 4 >::NUnit().
Retro::Rw11CntlRL11::~Rw11CntlRL11 | ( | ) |
Destructor.
Definition at line 212 of file Rw11CntlRL11.cpp.
void Retro::Rw11CntlRL11::Config | ( | const std::string & | name, |
uint16_t | base, | ||
int | lam | ||
) |
FIXME_docs.
Definition at line 218 of file Rw11CntlRL11.cpp.
References Retro::Rw11Cntl::ConfigCntl(), kProbeInt, kProbeOff, and kProbeRem.
|
virtual |
FIXME_docs.
Reimplemented from Retro::Rw11Cntl.
Definition at line 227 of file Rw11CntlRL11.cpp.
References Retro::RlinkCommandList::AddAttn(), Retro::RlinkServer::AddAttnHandler(), Retro::Rw11Cpu::AddRibr(), Retro::Rw11Cpu::AddWibr(), Retro::Rw11Cpu::AllIAddrMapInsert(), AttnHandler(), Retro::Rw11Cntl::Base(), Retro::RlinkCommandList::Clear(), Retro::Rw11Cntl::Cpu(), Retro::Rw11Cntl::fBase, Retro::Rw11Cntl::fEnable, Retro::Rw11Cntl::fLam, Retro::Rw11Probe::Found(), fPC_imp, fPC_pos, fPC_rlba, fPC_rlcs, fPC_rlda, fPC_sta, fPC_wc, Retro::Rw11Cntl::fPrimClist, Retro::Rw11Cntl::fProbe, Retro::Rw11Cntl::fStarted, kMPREM_SEQ_MPSTAPOS, kRFUNC_WMP, kRLBA, kRLCS, kRLCS_ENA_MPREM, kRLCS_V_FUNC, kRLCS_V_MPREM, kRLDA, kRLMP, Retro::Rw11Cntl::Name(), Retro::Rw11Cntl::Server(), and Retro::Rw11Cntl::UnitSetupAll().
|
virtual |
FIXME_docs ????
Reimplemented from Retro::Rw11Cntl.
Definition at line 300 of file Rw11CntlRL11.cpp.
|
virtual |
FIXME_docs.
Reimplemented from Retro::Rw11Cntl.
Definition at line 268 of file Rw11CntlRL11.cpp.
References AddSetPosition(), AddSetStatus(), Retro::RlinkServer::Exec(), Retro::Rw11CntlBase< Rw11UnitRL11, 4 >::fspUnit, Retro::Rw11UnitVirt< TV >::HasVirt(), kST_LOAD, kST_LOCK, kSTA_M_BH, kSTA_M_CO, kSTA_M_DT, kSTA_M_HO, kSTA_M_WL, Retro::Rw11Cntl::Server(), Retro::Rw11UnitRL11::SetRlsta(), Retro::Rw11UnitDisk::Type(), and Retro::Rw11UnitDisk::WProt().
|
inline |
FIXME_docs.
Definition at line 22 of file Rw11CntlRL11.ipp.
References fRdma, and Retro::Rw11Rdma::SetChunkSize().
|
inline |
FIXME_docs.
Definition at line 31 of file Rw11CntlRL11.ipp.
References Retro::Rw11Rdma::ChunkSize(), and fRdma.
|
inline |
FIXME_docs.
Definition at line 39 of file Rw11CntlRL11.ipp.
References fRdma, and Retro::Rw11Rdma::Stats().
|
virtual |
FIXME_docs.
Reimplemented from Retro::Rw11CntlBase< Rw11UnitRL11, 4 >.
Definition at line 356 of file Rw11CntlRL11.cpp.
References Retro::Rw11CntlBase< TU, NU >::Dump(), Retro::Rw11RdmaDisk::Dump(), fPC_imp, fPC_pos, fPC_rlba, fPC_rlcs, fPC_rlda, fPC_sta, fPC_wc, fRd_addr, fRd_fu, fRd_lba, fRd_nwrd, fRd_ovr, fRd_pos, fRd_rlcs, fRd_rlda, fRd_rlmp, fRd_sta, fRdma, and Retro::RosPrintf().
|
protected |
FIXME_docs.
Definition at line 386 of file Rw11CntlRL11.cpp.
References AddErrorExit(), AddSetPosition(), AddSetStatus(), Retro::Rw11Cpu::AddWibr(), Retro::Rw11UnitDisk::BlockSize(), CalcCrc(), Retro::Rw11UnitDisk::Chs2Lba(), Retro::Rw11Cntl::Cpu(), Retro::RlinkServer::Exec(), Retro::Rw11Cntl::fBase, fPC_pos, fPC_rlba, fPC_rlcs, fPC_rlda, fPC_sta, fPC_wc, Retro::Rw11Cntl::fPrimClist, fRd_addr, fRd_fu, fRd_lba, fRd_nwrd, fRd_ovr, fRd_pos, fRd_rlcs, fRd_rlda, fRd_rlmp, fRd_sta, fRdma, Retro::Rw11CntlBase< Rw11UnitRL11, 4 >::fspUnit, Retro::Rw11Cntl::fStats, Retro::Rw11Cntl::fTraceLevel, Retro::RlinkServer::GetAttnInfo(), Retro::Rw11UnitVirt< TV >::HasVirt(), Retro::Rstats::Inc(), Retro::Rw11Rdma::IsActive(), Retro::Rw11Cpu::kCPAH_M_UBM22, kERR_HNFND, kERR_M_DE, kERR_OPI, kFUNC_READ, kFUNC_RHDR, kFUNC_RNHC, kFUNC_WCHK, kFUNC_WRITE, kMPLOC_POS, kMPREM_CRC, kRFUNC_WCS, kRFUNC_WMP, kRLCS, kRLCS_B_BAE, kRLCS_B_DS, kRLCS_B_FUNC, kRLCS_ENA_MPLOC, kRLCS_ENA_MPREM, kRLCS_M_BAE, kRLCS_M_CRDY, kRLCS_V_BAE, kRLCS_V_DS, kRLCS_V_FUNC, kRLCS_V_MPLOC, kRLCS_V_MPREM, kRLDA_RW_B_CA, kRLDA_RW_B_HS, kRLDA_RW_B_SA, kRLDA_RW_M_CA, kRLDA_RW_M_HS, kRLDA_RW_V_CA, kRLDA_RW_V_HS, kRLMP, kSTA_M_WGE, Retro::Rw11Cntl::kStatNAttnHdl, kStatNFuncRead, kStatNFuncRhdr, kStatNFuncRnhc, kStatNFuncWchk, kStatNFuncWrite, Retro::Rw11Cntl::LogFile(), Retro::Rw11Cntl::Name(), Retro::Rw11UnitDisk::NSector(), Retro::Rw11CntlBase< Rw11UnitRL11, 4 >::NUnit(), Retro::Rw11UnitDisk::Nwrd2Nblk(), Retro::Rw11RdmaDisk::QueueDiskRead(), Retro::Rw11RdmaDisk::QueueDiskWrite(), Retro::Rw11RdmaDisk::QueueDiskWriteCheck(), Retro::RosPrintf(), Retro::Rw11Cntl::Server(), Retro::RlinkCommandList::Size(), and Retro::Rw11UnitDisk::WProt().
Referenced by Start().
|
protected |
FIXME_docs.
Definition at line 566 of file Rw11CntlRL11.cpp.
References Retro::RlinkCommandList::AddLabo(), AddNormalExit(), fRd_fu, kFUNC_WCHK, and Retro::Rw11Rdma::kStatusBusyLast.
|
protected |
FIXME_docs.
Definition at line 580 of file Rw11CntlRL11.cpp.
References AddNormalExit(), Retro::RlinkServer::Exec(), fRd_fu, fRdma, Retro::RlinkCommand::kCmdLabo, kERR_NXM, kERR_WCHK, kFUNC_WCHK, Retro::Rw11Rdma::kStatusBusy, Retro::Rw11Rdma::kStatusFailRdma, Retro::Rw11Cntl::Server(), Retro::RlinkCommandList::Size(), and Retro::Rw11RdmaDisk::WriteCheck().
|
protected |
FIXME_docs ????
Definition at line 619 of file Rw11CntlRL11.cpp.
References Retro::Rw11Cntl::LogFile(), and Retro::Rw11Cntl::Name().
|
protected |
FIXME_docs.
Definition at line 645 of file Rw11CntlRL11.cpp.
References Retro::Rw11Cpu::AddWibr(), Retro::Rw11Cntl::Cpu(), Retro::Rw11Cntl::fBase, kMPREM_STA, kRFUNC_WMP, kRLCS, kRLCS_ENA_MPREM, kRLCS_V_FUNC, kRLCS_V_MPREM, and kRLMP.
Referenced by AttnHandler(), and UnitSetup().
|
protected |
FIXME_docs.
Definition at line 630 of file Rw11CntlRL11.cpp.
References Retro::Rw11Cpu::AddWibr(), Retro::Rw11Cntl::Cpu(), Retro::Rw11Cntl::fBase, kMPREM_POS, kRFUNC_WMP, kRLCS, kRLCS_ENA_MPREM, kRLCS_V_FUNC, kRLCS_V_MPREM, and kRLMP.
Referenced by AddNormalExit(), AttnHandler(), and UnitSetup().
|
protected |
FIXME_docs.
Definition at line 660 of file Rw11CntlRL11.cpp.
References Retro::Rw11Cpu::AddWibr(), Retro::Rw11Cntl::Cpu(), Retro::Rw11Cntl::fBase, fRd_pos, fRd_rlcs, Retro::Rw11Cntl::fTraceLevel, kRFUNC_WCS, kRLCS, kRLCS_M_BAE, kRLCS_M_CRDY, kRLCS_M_ERR, kRLCS_V_E, kRLCS_V_FUNC, Retro::Rw11Cntl::LogFile(), and Retro::Rw11Cntl::Name().
Referenced by AttnHandler().
|
protected |
FIXME_docs.
Definition at line 684 of file Rw11CntlRL11.cpp.
References AddSetPosition(), Retro::Rw11Cpu::AddWibr(), Retro::Rw11Cntl::Cpu(), Retro::Rw11Cntl::fBase, fRd_addr, fRd_ovr, fRd_pos, fRd_rlcs, fRd_rlda, fRd_rlmp, Retro::Rw11CntlBase< Rw11UnitRL11, 4 >::fspUnit, Retro::Rw11Cntl::fTraceLevel, kERR_HNFND, kMPLOC_MP, kMPREM_MP, kRFUNC_WCS, kRFUNC_WMP, kRLBA, kRLCS, kRLCS_B_DS, kRLCS_ENA_MPLOC, kRLCS_ENA_MPREM, kRLCS_M_CRDY, kRLCS_V_BAE, kRLCS_V_DS, kRLCS_V_E, kRLCS_V_FUNC, kRLCS_V_MPLOC, kRLCS_V_MPREM, kRLDA, kRLDA_RW_B_SA, kRLDA_RW_M_CA, kRLDA_RW_M_HS, kRLMP, Retro::Rw11Cntl::LogFile(), Retro::Rw11Cntl::Name(), Retro::Rw11UnitDisk::NSector(), and Retro::Rw11UnitDisk::Nwrd2Nblk().
Referenced by RdmaPostExecCB(), and RdmaPreExecCB().
|
protected |
|
static |
RL11 default address.
Definition at line 51 of file Rw11CntlRL11.hpp.
Referenced by Retro::RtclRw11CntlRL11::FactoryCmdConfig().
|
static |
RL11 default lam.
Definition at line 52 of file Rw11CntlRL11.hpp.
Referenced by Retro::RtclRw11CntlRL11::FactoryCmdConfig().
|
static |
RLCS reg offset.
Definition at line 54 of file Rw11CntlRL11.hpp.
Referenced by AddErrorExit(), AddNormalExit(), AddSetPosition(), AddSetStatus(), AttnHandler(), and Start().
|
static |
RLBA reg offset.
Definition at line 55 of file Rw11CntlRL11.hpp.
Referenced by AddNormalExit(), and Start().
|
static |
RLDA reg offset.
Definition at line 56 of file Rw11CntlRL11.hpp.
Referenced by AddNormalExit(), and Start().
|
static |
RLMP reg offset.
Definition at line 57 of file Rw11CntlRL11.hpp.
Referenced by AddNormalExit(), AddSetPosition(), AddSetStatus(), AttnHandler(), and Start().
|
static |
|
static |
|
static |
|
static |
Definition at line 63 of file Rw11CntlRL11.hpp.
Referenced by AddErrorExit().
|
static |
Definition at line 64 of file Rw11CntlRL11.hpp.
|
static |
Definition at line 65 of file Rw11CntlRL11.hpp.
Referenced by AddErrorExit(), and AddNormalExit().
|
static |
Definition at line 66 of file Rw11CntlRL11.hpp.
|
static |
Definition at line 67 of file Rw11CntlRL11.hpp.
Referenced by AddNormalExit(), and AttnHandler().
|
static |
Definition at line 68 of file Rw11CntlRL11.hpp.
Referenced by AddNormalExit(), and AttnHandler().
|
static |
Definition at line 69 of file Rw11CntlRL11.hpp.
Referenced by AddErrorExit(), AddNormalExit(), and AttnHandler().
|
static |
Definition at line 70 of file Rw11CntlRL11.hpp.
|
static |
Definition at line 71 of file Rw11CntlRL11.hpp.
Referenced by AddErrorExit(), and AttnHandler().
|
static |
Definition at line 72 of file Rw11CntlRL11.hpp.
Referenced by AddNormalExit(), and AttnHandler().
|
static |
Definition at line 73 of file Rw11CntlRL11.hpp.
Referenced by AttnHandler().
|
static |
Definition at line 74 of file Rw11CntlRL11.hpp.
Referenced by AddErrorExit(), AddNormalExit(), AddSetPosition(), AddSetStatus(), AttnHandler(), and Start().
|
static |
Definition at line 75 of file Rw11CntlRL11.hpp.
Referenced by AttnHandler().
|
static |
Definition at line 76 of file Rw11CntlRL11.hpp.
|
static |
Definition at line 78 of file Rw11CntlRL11.hpp.
|
static |
Definition at line 79 of file Rw11CntlRL11.hpp.
Referenced by AttnHandler(), RdmaPostExecCB(), and RdmaPreExecCB().
|
static |
Definition at line 80 of file Rw11CntlRL11.hpp.
|
static |
Definition at line 81 of file Rw11CntlRL11.hpp.
|
static |
Definition at line 82 of file Rw11CntlRL11.hpp.
Referenced by AttnHandler().
|
static |
Definition at line 83 of file Rw11CntlRL11.hpp.
Referenced by AttnHandler().
|
static |
Definition at line 84 of file Rw11CntlRL11.hpp.
Referenced by AttnHandler().
|
static |
Definition at line 85 of file Rw11CntlRL11.hpp.
Referenced by AttnHandler().
|
static |
Definition at line 87 of file Rw11CntlRL11.hpp.
Referenced by AttnHandler().
|
static |
Definition at line 88 of file Rw11CntlRL11.hpp.
Referenced by AttnHandler().
|
static |
Definition at line 89 of file Rw11CntlRL11.hpp.
Referenced by RdmaPostExecCB().
|
static |
Definition at line 90 of file Rw11CntlRL11.hpp.
|
static |
Definition at line 91 of file Rw11CntlRL11.hpp.
|
static |
Definition at line 92 of file Rw11CntlRL11.hpp.
Referenced by AddNormalExit(), and AttnHandler().
|
static |
Definition at line 93 of file Rw11CntlRL11.hpp.
Referenced by RdmaPostExecCB().
|
static |
Definition at line 96 of file Rw11CntlRL11.hpp.
Referenced by AddNormalExit(), AddSetPosition(), AddSetStatus(), AttnHandler(), and Start().
|
static |
Definition at line 97 of file Rw11CntlRL11.hpp.
|
static |
Definition at line 98 of file Rw11CntlRL11.hpp.
Referenced by AddNormalExit(), and AttnHandler().
|
static |
Definition at line 99 of file Rw11CntlRL11.hpp.
|
static |
Definition at line 100 of file Rw11CntlRL11.hpp.
Referenced by AddNormalExit(), AddSetPosition(), AddSetStatus(), AttnHandler(), and Start().
|
static |
Definition at line 101 of file Rw11CntlRL11.hpp.
Referenced by AddNormalExit(), and AttnHandler().
|
static |
Definition at line 103 of file Rw11CntlRL11.hpp.
Referenced by AddErrorExit(), AddNormalExit(), and AttnHandler().
|
static |
Definition at line 104 of file Rw11CntlRL11.hpp.
Referenced by AddNormalExit(), AddSetPosition(), AddSetStatus(), AttnHandler(), and Start().
|
static |
Definition at line 106 of file Rw11CntlRL11.hpp.
|
static |
Definition at line 107 of file Rw11CntlRL11.hpp.
|
static |
Definition at line 108 of file Rw11CntlRL11.hpp.
|
static |
Definition at line 109 of file Rw11CntlRL11.hpp.
|
static |
Definition at line 110 of file Rw11CntlRL11.hpp.
|
static |
Definition at line 112 of file Rw11CntlRL11.hpp.
Referenced by AddNormalExit().
|
static |
Definition at line 113 of file Rw11CntlRL11.hpp.
Referenced by AttnHandler().
|
static |
Definition at line 114 of file Rw11CntlRL11.hpp.
Referenced by AddSetStatus().
|
static |
Definition at line 115 of file Rw11CntlRL11.hpp.
Referenced by AddSetPosition().
|
static |
Definition at line 117 of file Rw11CntlRL11.hpp.
Referenced by Start().
|
static |
Definition at line 120 of file Rw11CntlRL11.hpp.
Referenced by AddNormalExit().
|
static |
Definition at line 121 of file Rw11CntlRL11.hpp.
|
static |
Definition at line 122 of file Rw11CntlRL11.hpp.
Referenced by AttnHandler().
|
static |
Definition at line 123 of file Rw11CntlRL11.hpp.
|
static |
Definition at line 124 of file Rw11CntlRL11.hpp.
|
static |
Definition at line 126 of file Rw11CntlRL11.hpp.
|
static |
Definition at line 127 of file Rw11CntlRL11.hpp.
|
static |
Definition at line 128 of file Rw11CntlRL11.hpp.
|
static |
Definition at line 129 of file Rw11CntlRL11.hpp.
|
static |
Definition at line 130 of file Rw11CntlRL11.hpp.
|
static |
Definition at line 131 of file Rw11CntlRL11.hpp.
|
static |
Definition at line 132 of file Rw11CntlRL11.hpp.
|
static |
Definition at line 134 of file Rw11CntlRL11.hpp.
Referenced by AddNormalExit(), and AttnHandler().
|
static |
Definition at line 135 of file Rw11CntlRL11.hpp.
Referenced by AttnHandler().
|
static |
Definition at line 136 of file Rw11CntlRL11.hpp.
Referenced by AttnHandler().
|
static |
Definition at line 137 of file Rw11CntlRL11.hpp.
Referenced by AddNormalExit(), and AttnHandler().
|
static |
Definition at line 138 of file Rw11CntlRL11.hpp.
Referenced by AttnHandler().
|
static |
Definition at line 139 of file Rw11CntlRL11.hpp.
Referenced by AttnHandler().
|
static |
Definition at line 140 of file Rw11CntlRL11.hpp.
Referenced by AddNormalExit(), and AttnHandler().
|
static |
Definition at line 142 of file Rw11CntlRL11.hpp.
|
static |
Definition at line 143 of file Rw11CntlRL11.hpp.
|
static |
Definition at line 144 of file Rw11CntlRL11.hpp.
|
static |
Definition at line 146 of file Rw11CntlRL11.hpp.
|
static |
Definition at line 147 of file Rw11CntlRL11.hpp.
|
static |
Definition at line 148 of file Rw11CntlRL11.hpp.
Referenced by UnitSetup().
|
static |
Definition at line 149 of file Rw11CntlRL11.hpp.
|
static |
Definition at line 150 of file Rw11CntlRL11.hpp.
|
static |
Definition at line 151 of file Rw11CntlRL11.hpp.
Referenced by AttnHandler().
|
static |
Definition at line 152 of file Rw11CntlRL11.hpp.
|
static |
Definition at line 153 of file Rw11CntlRL11.hpp.
|
static |
Definition at line 154 of file Rw11CntlRL11.hpp.
Referenced by UnitSetup().
|
static |
Definition at line 155 of file Rw11CntlRL11.hpp.
|
static |
Definition at line 156 of file Rw11CntlRL11.hpp.
Referenced by UnitSetup().
|
static |
Definition at line 157 of file Rw11CntlRL11.hpp.
Referenced by UnitSetup().
|
static |
Definition at line 158 of file Rw11CntlRL11.hpp.
Referenced by UnitSetup().
|
static |
Definition at line 159 of file Rw11CntlRL11.hpp.
|
static |
Definition at line 161 of file Rw11CntlRL11.hpp.
Referenced by UnitSetup().
|
static |
Definition at line 162 of file Rw11CntlRL11.hpp.
|
static |
Definition at line 163 of file Rw11CntlRL11.hpp.
|
static |
Definition at line 164 of file Rw11CntlRL11.hpp.
|
static |
Definition at line 165 of file Rw11CntlRL11.hpp.
|
static |
Definition at line 166 of file Rw11CntlRL11.hpp.
Referenced by UnitSetup().
|
static |
Definition at line 167 of file Rw11CntlRL11.hpp.
|
static |
Definition at line 168 of file Rw11CntlRL11.hpp.
|
protected |
PrimClist: rlcs index.
Definition at line 197 of file Rw11CntlRL11.hpp.
Referenced by AttnHandler(), Dump(), and Start().
|
protected |
PrimClist: rlba index.
Definition at line 198 of file Rw11CntlRL11.hpp.
Referenced by AttnHandler(), Dump(), and Start().
|
protected |
PrimClist: rlda index.
Definition at line 199 of file Rw11CntlRL11.hpp.
Referenced by AttnHandler(), Dump(), and Start().
|
protected |
PrimClist: imp index.
Definition at line 200 of file Rw11CntlRL11.hpp.
|
protected |
PrimClist: wc index.
Definition at line 201 of file Rw11CntlRL11.hpp.
Referenced by AttnHandler(), Dump(), and Start().
|
protected |
PrimClist: sta index.
Definition at line 202 of file Rw11CntlRL11.hpp.
Referenced by AttnHandler(), Dump(), and Start().
|
protected |
PrimClist: pos index.
Definition at line 203 of file Rw11CntlRL11.hpp.
Referenced by AttnHandler(), Dump(), and Start().
|
protected |
Rdma: request rlcs.
Definition at line 205 of file Rw11CntlRL11.hpp.
Referenced by AddErrorExit(), AddNormalExit(), AttnHandler(), and Dump().
|
protected |
Rdma: request rlda.
Definition at line 206 of file Rw11CntlRL11.hpp.
Referenced by AddNormalExit(), AttnHandler(), and Dump().
|
protected |
Rdma: request rlmp (~wc)
Definition at line 207 of file Rw11CntlRL11.hpp.
Referenced by AddNormalExit(), AttnHandler(), and Dump().
|
protected |
Rdma: initial drive status.
Definition at line 208 of file Rw11CntlRL11.hpp.
Referenced by AttnHandler(), and Dump().
|
protected |
Rdma: initial drive position.
Definition at line 209 of file Rw11CntlRL11.hpp.
Referenced by AddErrorExit(), AddNormalExit(), AttnHandler(), and Dump().
|
protected |
Rdma: current addr.
Definition at line 210 of file Rw11CntlRL11.hpp.
Referenced by AddNormalExit(), AttnHandler(), and Dump().
|
protected |
Rdma: current lba.
Definition at line 211 of file Rw11CntlRL11.hpp.
Referenced by AttnHandler(), and Dump().
|
protected |
Rdma: current nwrd.
Definition at line 212 of file Rw11CntlRL11.hpp.
Referenced by AttnHandler(), and Dump().
|
protected |
Rdma: request fu code.
Definition at line 213 of file Rw11CntlRL11.hpp.
Referenced by AttnHandler(), Dump(), RdmaPostExecCB(), and RdmaPreExecCB().
|
protected |
Rdma: overrun condition found.
Definition at line 214 of file Rw11CntlRL11.hpp.
Referenced by AddNormalExit(), AttnHandler(), and Dump().
|
protected |
Rdma controller.
Definition at line 215 of file Rw11CntlRL11.hpp.
Referenced by AttnHandler(), ChunkSize(), Dump(), RdmaPostExecCB(), RdmaStats(), and SetChunkSize().