w11 - cpp 0.794
Backend server for Rlink and w11
|
FIXME_docs. More...
#include <Rw11CntlRHRP.hpp>
Public Types | |
enum | stats { kStatNFuncWchk = Rw11Cntl::kDimStat , kStatNFuncWrite , kStatNFuncRead , kStatNFuncSear , kStatNFuncPack , kStatNFuncPore , kStatNFuncSeek , kDimStat } |
Public Types inherited from Retro::Rw11Cntl | |
enum | stats { kStatNAttnHdl = 0 , kStatNAttnNoAct , kDimStat } |
Public Member Functions | |
Rw11CntlRHRP () | |
Default constructor. | |
~Rw11CntlRHRP () | |
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< Rw11UnitRHRP, 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. | |
Rw11UnitRHRP & | Unit (size_t index) const |
FIXME_docs. | |
const std::shared_ptr< Rw11UnitRHRP > & | 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 = 0176700 |
RHRP default address. | |
static const int | kLam = 6 |
RHRP default lam. | |
static const uint16_t | kRPCS1 = 000 |
RPCS1 reg offset. | |
static const uint16_t | kRPWC = 002 |
RPWC reg offset. | |
static const uint16_t | kRPBA = 004 |
RPBA reg offset. | |
static const uint16_t | kRPDA = 006 |
RPDA reg offset. | |
static const uint16_t | kRPCS2 = 010 |
RPCS2 reg offset. | |
static const uint16_t | kRPDS = 012 |
RPDS reg offset. | |
static const uint16_t | kRPER1 = 014 |
RPER1 reg offset. | |
static const uint16_t | kRPAS = 016 |
RPAS reg offset. | |
static const uint16_t | kRPLA = 020 |
RPLA reg offset. | |
static const uint16_t | kRPDB = 022 |
RPDB reg offset. | |
static const uint16_t | kRPMR1 = 024 |
RPMR1 reg offset. | |
static const uint16_t | kRPDT = 026 |
RPDT reg offset. | |
static const uint16_t | kRPSN = 030 |
RPSN reg offset. | |
static const uint16_t | kRPOF = 032 |
RPOF reg offset. | |
static const uint16_t | kRPDC = 034 |
RPDC reg offset. | |
static const uint16_t | kRxM13 = 036 |
MB reg 13 reg offset. | |
static const uint16_t | kRxM14 = 040 |
MB reg 14 reg offset. | |
static const uint16_t | kRxM15 = 042 |
MB reg 15 reg offset. | |
static const uint16_t | kRPEC1 = 044 |
RPEC1 reg offset. | |
static const uint16_t | kRPEC2 = 046 |
RPEC2 reg offset. | |
static const uint16_t | kRPBAE = 050 |
RPBAE reg offset. | |
static const uint16_t | kRPCS3 = 052 |
RPCS3 reg offset. | |
static const uint16_t | kProbeOff = kRPCS2 |
probe address offset (rxcs2) | |
static const bool | kProbeInt = true |
probe int active | |
static const bool | kProbeRem = true |
probr rem active | |
static const uint16_t | kRPCS1_M_SC = kWBit15 |
static const uint16_t | kRPCS1_M_TRE = kWBit14 |
static const uint16_t | kRPCS1_M_DVA = kWBit11 |
static const uint16_t | kRPCS1_M_BAE = 001400 |
static const uint16_t | kRPCS1_V_BAE = 8 |
static const uint16_t | kRPCS1_B_BAE = 0003 |
static const uint16_t | kRPCS1_M_RDY = kWBit07 |
static const uint16_t | kRPCS1_M_IE = kWBit06 |
static const uint16_t | kRPCS1_V_FUNC = 1 |
static const uint16_t | kRPCS1_B_FUNC = 0037 |
static const uint16_t | kRPCS1_M_GO = kWBit00 |
static const uint16_t | kFUNC_WCD = 024 |
func: write chk data | |
static const uint16_t | kFUNC_WCHD = 025 |
func: write chk head&data | |
static const uint16_t | kFUNC_WRITE = 030 |
func: write | |
static const uint16_t | kFUNC_WHD = 031 |
func: write head&data | |
static const uint16_t | kFUNC_READ = 034 |
func: read | |
static const uint16_t | kFUNC_RHD = 035 |
func: read head&data | |
static const uint16_t | kRFUNC_WUNIT = 001 |
rfunc: write runit | |
static const uint16_t | kRFUNC_CUNIT = 002 |
rfunc: copy funit->runit | |
static const uint16_t | kRFUNC_DONE = 003 |
rfunc: done (set rdy) | |
static const uint16_t | kRFUNC_WIDLY = 004 |
rfunc: write idly | |
static const uint16_t | kRPCS1_V_RUNIT = 8 |
static const uint16_t | kRPCS1_B_RUNIT = 0003 |
static const uint16_t | kRPCS1_M_RATA = kWBit08 |
static const uint16_t | kRPCS1_V_RIDLY = 8 |
static const uint16_t | kRPCS1_B_RIDLY = 0377 |
static const uint16_t | kRPDA_V_TA = 8 |
static const uint16_t | kRPDA_B_TA = 0037 |
static const uint16_t | kRPDA_B_SA = 0077 |
static const uint16_t | kRPCS2_M_RWCO = kWBit15 |
static const uint16_t | kRPCS2_M_WCE = kWBit14 |
static const uint16_t | kRPCS2_M_NED = kWBit12 |
static const uint16_t | kRPCS2_M_NEM = kWBit11 |
static const uint16_t | kRPCS2_M_PGE = kWBit10 |
static const uint16_t | kRPCS2_M_MXF = kWBit09 |
static const uint16_t | kRPCS2_M_OR = kWBit07 |
static const uint16_t | kRPCS2_M_IR = kWBit06 |
static const uint16_t | kRPCS2_M_CLR = kWBit05 |
static const uint16_t | kRPCS2_M_PAT = kWBit04 |
static const uint16_t | kRPCS2_M_BAI = kWBit03 |
static const uint16_t | kRPCS2_M_UNIT2 = kWBit02 |
static const uint16_t | kRPCS2_B_UNIT = 0003 |
static const uint16_t | kRPDS_M_ATA = kWBit15 |
static const uint16_t | kRPDS_M_ERP = kWBit14 |
static const uint16_t | kRPDS_M_MOL = kWBit12 |
static const uint16_t | kRPDS_M_WRL = kWBit11 |
static const uint16_t | kRPDS_M_LBT = kWBit10 |
static const uint16_t | kRPDS_M_DPR = kWBit08 |
static const uint16_t | kRPDS_M_DRY = kWBit07 |
static const uint16_t | kRPDS_M_VV = kWBit06 |
static const uint16_t | kRPDS_M_OM = kWBit00 |
static const uint16_t | kRPER1_M_UNS = kWBit14 |
static const uint16_t | kRPER1_M_WLE = kWBit11 |
static const uint16_t | kRPER1_M_IAE = kWBit10 |
static const uint16_t | kRPER1_M_AOE = kWBit09 |
static const uint16_t | kRPER1_M_RMR = kWBit02 |
static const uint16_t | kRPER1_M_ILF = kWBit00 |
static const uint16_t | kRPDC_B_CA = 01777 |
static const uint16_t | kRPCS3_M_IE = kWBit06 |
static const uint16_t | kRPCS3_M_RSEARDONE = kWBit03 |
static const uint16_t | kRPCS3_M_RPACKDONE = kWBit02 |
static const uint16_t | kRPCS3_M_RPOREDONE = kWBit01 |
static const uint16_t | kRPCS3_M_RSEEKDONE = kWBit00 |
Static Public Attributes inherited from Retro::Rw11CntlBase< Rw11UnitRHRP, 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 | AddErrorExit (RlinkCommandList &clist, uint16_t rper1) |
FIXME_docs. | |
void | AddNormalExit (RlinkCommandList &clist, size_t ndone, uint16_t rper1=0, uint16_t rpcs2=0) |
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_rpcs1 |
PrimClist: rpcs1 index. | |
size_t | fPC_rpcs2 |
PrimClist: rpcs2 index. | |
size_t | fPC_rpcs3 |
PrimClist: rpcs3 index. | |
size_t | fPC_rpwc |
PrimClist: rpwc index. | |
size_t | fPC_rpba |
PrimClist: rpba index. | |
size_t | fPC_rpbae |
PrimClist: rpbae index. | |
size_t | fPC_cunit |
PrimClist: copy unit. | |
size_t | fPC_rpds |
PrimClist: rpds index. | |
size_t | fPC_rpda |
PrimClist: rpda index. | |
size_t | fPC_rpdc |
PrimClist: rpdc index. | |
uint16_t | fRd_rpcs1 |
Rdma: request rpcs1. | |
uint16_t | fRd_rpcs2 |
Rdma: request rpcs2. | |
uint16_t | fRd_rpcs3 |
Rdma: request rpcs3. | |
uint16_t | fRd_rpwc |
Rdma: request rpwc. | |
uint16_t | fRd_rpba |
Rdma: request rpba. | |
uint16_t | fRd_rpbae |
Rdma: request rpbae. | |
uint16_t | fRd_rpds |
Rdma: request rpds. | |
uint16_t | fRd_rpda |
Rdma: request rpda. | |
uint16_t | fRd_rpdc |
Rdma: request rpdc. | |
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< Rw11UnitRHRP, 4 > | |
std::shared_ptr< Rw11UnitRHRP > | 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 Rw11CntlRHRP.hpp.
Enumerator | |
---|---|
kStatNFuncWchk | |
kStatNFuncWrite | |
kStatNFuncRead | |
kStatNFuncSear | |
kStatNFuncPack | |
kStatNFuncPore | |
kStatNFuncSeek | |
kDimStat |
Definition at line 159 of file Rw11CntlRHRP.hpp.
Retro::Rw11CntlRHRP::Rw11CntlRHRP | ( | ) |
Default constructor.
Definition at line 159 of file Rw11CntlRHRP.cpp.
References Retro::Rstats::Define(), Retro::Rw11CntlBase< Rw11UnitRHRP, 4 >::fspUnit, Retro::Rw11Cntl::fStats, kStatNFuncPack, kStatNFuncPore, kStatNFuncRead, kStatNFuncSear, kStatNFuncSeek, kStatNFuncWchk, kStatNFuncWrite, and Retro::Rw11CntlBase< Rw11UnitRHRP, 4 >::NUnit().
Retro::Rw11CntlRHRP::~Rw11CntlRHRP | ( | ) |
Destructor.
Definition at line 206 of file Rw11CntlRHRP.cpp.
void Retro::Rw11CntlRHRP::Config | ( | const std::string & | name, |
uint16_t | base, | ||
int | lam | ||
) |
FIXME_docs.
Definition at line 212 of file Rw11CntlRHRP.cpp.
References Retro::Rw11Cntl::ConfigCntl(), kProbeInt, kProbeOff, and kProbeRem.
|
virtual |
FIXME_docs.
Reimplemented from Retro::Rw11Cntl.
Definition at line 221 of file Rw11CntlRHRP.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_cunit, fPC_rpba, fPC_rpbae, fPC_rpcs1, fPC_rpcs2, fPC_rpcs3, fPC_rpda, fPC_rpdc, fPC_rpds, fPC_rpwc, Retro::Rw11Cntl::fPrimClist, Retro::Rw11Cntl::fProbe, Retro::Rw11Cntl::fStarted, kRFUNC_CUNIT, kRPAS, kRPBA, kRPBAE, kRPCS1, kRPCS1_V_FUNC, kRPCS2, kRPCS3, kRPDA, kRPDB, kRPDC, kRPDS, kRPDT, kRPEC1, kRPEC2, kRPER1, kRPLA, kRPMR1, kRPOF, kRPSN, kRPWC, kRxM13, kRxM14, kRxM15, Retro::Rw11Cntl::Name(), Retro::Rw11Cntl::Server(), and Retro::Rw11Cntl::UnitSetupAll().
|
virtual |
|
virtual |
FIXME_docs.
Reimplemented from Retro::Rw11Cntl.
Definition at line 283 of file Rw11CntlRHRP.cpp.
References Retro::Rw11Cntl::Cpu(), Retro::Rw11Cpu::ExecWibr(), Retro::Rw11Cntl::fBase, Retro::Rw11CntlBase< Rw11UnitRHRP, 4 >::fspUnit, Retro::Rw11UnitVirt< TV >::HasVirt(), kRFUNC_WUNIT, kRPCS1, kRPCS1_V_FUNC, kRPCS1_V_RUNIT, kRPDS, kRPDS_M_ATA, kRPDS_M_DPR, kRPDS_M_ERP, kRPDS_M_MOL, kRPDS_M_VV, kRPDS_M_WRL, kRPDT, Retro::Rw11UnitRHRP::Rpds(), Retro::Rw11UnitRHRP::Rpdt(), Retro::Rw11UnitRHRP::SetRpds(), Retro::Rw11UnitDisk::Type(), and Retro::Rw11UnitDisk::WProt().
Referenced by Retro::Rw11UnitRHRP::SetType().
|
inline |
FIXME_docs.
Definition at line 23 of file Rw11CntlRHRP.ipp.
References fRdma, and Retro::Rw11Rdma::SetChunkSize().
|
inline |
FIXME_docs.
Definition at line 32 of file Rw11CntlRHRP.ipp.
References Retro::Rw11Rdma::ChunkSize(), and fRdma.
|
inline |
FIXME_docs.
Definition at line 40 of file Rw11CntlRHRP.ipp.
References fRdma, and Retro::Rw11Rdma::Stats().
|
virtual |
FIXME_docs.
Reimplemented from Retro::Rw11CntlBase< Rw11UnitRHRP, 4 >.
Definition at line 359 of file Rw11CntlRHRP.cpp.
References Retro::Rw11CntlBase< TU, NU >::Dump(), Retro::Rw11RdmaDisk::Dump(), fPC_cunit, fPC_rpba, fPC_rpbae, fPC_rpcs1, fPC_rpcs2, fPC_rpcs3, fPC_rpda, fPC_rpdc, fPC_rpds, fPC_rpwc, fRd_addr, fRd_fu, fRd_lba, fRd_nwrd, fRd_ovr, fRd_rpba, fRd_rpbae, fRd_rpcs1, fRd_rpcs2, fRd_rpcs3, fRd_rpda, fRd_rpdc, fRd_rpds, fRd_rpwc, fRdma, and Retro::RosPrintf().
|
protected |
FIXME_docs.
Definition at line 396 of file Rw11CntlRHRP.cpp.
References AddErrorExit(), Retro::Rw11UnitDisk::BlockSize(), Retro::Rw11UnitDisk::Chs2Lba(), Retro::RlinkServer::Exec(), fPC_rpba, fPC_rpbae, fPC_rpcs1, fPC_rpcs2, fPC_rpcs3, fPC_rpda, fPC_rpdc, fPC_rpds, fPC_rpwc, Retro::Rw11Cntl::fPrimClist, fRd_addr, fRd_fu, fRd_lba, fRd_nwrd, fRd_ovr, fRd_rpba, fRd_rpbae, fRd_rpcs1, fRd_rpcs2, fRd_rpcs3, fRd_rpda, fRd_rpdc, fRd_rpds, fRd_rpwc, fRdma, Retro::Rw11CntlBase< Rw11UnitRHRP, 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_22BIT, kFUNC_READ, kFUNC_WCD, kFUNC_WRITE, kRPCS1_B_FUNC, kRPCS1_M_RDY, kRPCS1_V_FUNC, kRPCS2_B_UNIT, kRPCS3_M_RPACKDONE, kRPCS3_M_RPOREDONE, kRPCS3_M_RSEARDONE, kRPCS3_M_RSEEKDONE, kRPDA_B_SA, kRPDA_B_TA, kRPDA_V_TA, kRPDC_B_CA, kRPER1_M_IAE, kRPER1_M_ILF, kRPER1_M_UNS, kRPER1_M_WLE, Retro::Rw11Cntl::kStatNAttnHdl, kStatNFuncPack, kStatNFuncPore, kStatNFuncRead, kStatNFuncSear, kStatNFuncSeek, kStatNFuncWchk, kStatNFuncWrite, Retro::Rw11Cntl::LogFile(), Retro::Rw11Cntl::Name(), Retro::Rw11UnitDisk::NBlock(), Retro::Rw11UnitDisk::NCylinder(), Retro::Rw11UnitDisk::NHead(), Retro::Rw11UnitDisk::NSector(), Retro::Rw11CntlBase< Rw11UnitRHRP, 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 544 of file Rw11CntlRHRP.cpp.
References Retro::RlinkCommandList::AddLabo(), AddNormalExit(), fRd_fu, kFUNC_WCD, and Retro::Rw11Rdma::kStatusBusyLast.
|
protected |
FIXME_docs.
Definition at line 558 of file Rw11CntlRHRP.cpp.
References AddNormalExit(), Retro::RlinkServer::Exec(), fRd_fu, fRdma, Retro::RlinkCommand::kCmdLabo, kFUNC_WCD, kRPCS2_M_NEM, kRPCS2_M_RWCO, kRPCS2_M_WCE, Retro::Rw11Rdma::kStatusBusy, Retro::Rw11Rdma::kStatusFailRdma, Retro::Rw11Cntl::Server(), Retro::RlinkCommandList::Size(), and Retro::Rw11RdmaDisk::WriteCheck().
|
protected |
FIXME_docs.
Definition at line 599 of file Rw11CntlRHRP.cpp.
References Retro::Rw11Cpu::AddWibr(), Retro::Rw11Cntl::Cpu(), Retro::Rw11Cntl::fBase, fRd_rpcs1, Retro::Rw11Cntl::fTraceLevel, kRFUNC_CUNIT, kRFUNC_DONE, kRPCS1, kRPCS1_M_RATA, kRPCS1_V_FUNC, kRPER1, Retro::Rw11Cntl::LogFile(), and Retro::Rw11Cntl::Name().
Referenced by AttnHandler().
|
protected |
FIXME_docs.
Definition at line 622 of file Rw11CntlRHRP.cpp.
References Retro::Rw11Cpu::AddWibr(), Retro::Rw11Cntl::Cpu(), Retro::Rw11Cntl::fBase, fRd_addr, fRd_lba, fRd_ovr, fRd_rpcs2, fRd_rpwc, Retro::Rw11CntlBase< Rw11UnitRHRP, 4 >::fspUnit, Retro::Rw11Cntl::fTraceLevel, kRFUNC_CUNIT, kRFUNC_DONE, kRPBA, kRPBAE, kRPCS1, kRPCS1_V_FUNC, kRPCS2_B_UNIT, kRPDA, kRPDA_V_TA, kRPDC, kRPER1, kRPER1_M_AOE, kRPWC, Retro::Rw11UnitDisk::Lba2Chs(), Retro::Rw11Cntl::LogFile(), Retro::Rw11Cntl::Name(), Retro::Rw11UnitDisk::Nwrd2Nblk(), and Retro::RosPrintf().
Referenced by RdmaPostExecCB(), and RdmaPreExecCB().
|
static |
RHRP default address.
Definition at line 51 of file Rw11CntlRHRP.hpp.
Referenced by Retro::RtclRw11CntlRHRP::FactoryCmdConfig().
|
static |
RHRP default lam.
Definition at line 52 of file Rw11CntlRHRP.hpp.
Referenced by Retro::RtclRw11CntlRHRP::FactoryCmdConfig().
|
static |
RPCS1 reg offset.
Definition at line 54 of file Rw11CntlRHRP.hpp.
Referenced by AddErrorExit(), AddNormalExit(), Start(), and UnitSetup().
|
static |
RPWC reg offset.
Definition at line 55 of file Rw11CntlRHRP.hpp.
Referenced by AddNormalExit(), and Start().
|
static |
RPBA reg offset.
Definition at line 56 of file Rw11CntlRHRP.hpp.
Referenced by AddNormalExit(), and Start().
|
static |
RPDA reg offset.
Definition at line 57 of file Rw11CntlRHRP.hpp.
Referenced by AddNormalExit(), and Start().
|
static |
|
static |
RPDS reg offset.
Definition at line 59 of file Rw11CntlRHRP.hpp.
Referenced by Start(), and UnitSetup().
|
static |
RPER1 reg offset.
Definition at line 60 of file Rw11CntlRHRP.hpp.
Referenced by AddErrorExit(), AddNormalExit(), and Start().
|
static |
|
static |
|
static |
|
static |
|
static |
RPDT reg offset.
Definition at line 65 of file Rw11CntlRHRP.hpp.
Referenced by Start(), and UnitSetup().
|
static |
|
static |
|
static |
RPDC reg offset.
Definition at line 68 of file Rw11CntlRHRP.hpp.
Referenced by AddNormalExit(), and Start().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
RPBAE reg offset.
Definition at line 74 of file Rw11CntlRHRP.hpp.
Referenced by AddNormalExit(), and Start().
|
static |
|
static |
probe address offset (rxcs2)
Definition at line 77 of file Rw11CntlRHRP.hpp.
Referenced by Config().
|
static |
|
static |
|
static |
Definition at line 81 of file Rw11CntlRHRP.hpp.
|
static |
Definition at line 82 of file Rw11CntlRHRP.hpp.
|
static |
Definition at line 83 of file Rw11CntlRHRP.hpp.
|
static |
Definition at line 84 of file Rw11CntlRHRP.hpp.
|
static |
Definition at line 85 of file Rw11CntlRHRP.hpp.
|
static |
Definition at line 86 of file Rw11CntlRHRP.hpp.
|
static |
Definition at line 87 of file Rw11CntlRHRP.hpp.
Referenced by AttnHandler().
|
static |
Definition at line 88 of file Rw11CntlRHRP.hpp.
|
static |
Definition at line 89 of file Rw11CntlRHRP.hpp.
Referenced by AddErrorExit(), AddNormalExit(), AttnHandler(), Start(), and UnitSetup().
|
static |
Definition at line 90 of file Rw11CntlRHRP.hpp.
Referenced by AttnHandler().
|
static |
Definition at line 91 of file Rw11CntlRHRP.hpp.
|
static |
func: write chk data
Definition at line 94 of file Rw11CntlRHRP.hpp.
Referenced by AttnHandler(), RdmaPostExecCB(), and RdmaPreExecCB().
|
static |
func: write chk head&data
Definition at line 95 of file Rw11CntlRHRP.hpp.
|
static |
|
static |
func: write head&data
Definition at line 97 of file Rw11CntlRHRP.hpp.
|
static |
|
static |
func: read head&data
Definition at line 99 of file Rw11CntlRHRP.hpp.
|
static |
|
static |
rfunc: copy funit->runit
Definition at line 102 of file Rw11CntlRHRP.hpp.
Referenced by AddErrorExit(), AddNormalExit(), and Start().
|
static |
rfunc: done (set rdy)
Definition at line 103 of file Rw11CntlRHRP.hpp.
Referenced by AddErrorExit(), and AddNormalExit().
|
static |
rfunc: write idly
Definition at line 104 of file Rw11CntlRHRP.hpp.
|
static |
Definition at line 107 of file Rw11CntlRHRP.hpp.
Referenced by UnitSetup().
|
static |
Definition at line 108 of file Rw11CntlRHRP.hpp.
|
static |
Definition at line 110 of file Rw11CntlRHRP.hpp.
Referenced by AddErrorExit().
|
static |
Definition at line 112 of file Rw11CntlRHRP.hpp.
|
static |
Definition at line 113 of file Rw11CntlRHRP.hpp.
|
static |
Definition at line 115 of file Rw11CntlRHRP.hpp.
Referenced by AddNormalExit(), and AttnHandler().
|
static |
Definition at line 116 of file Rw11CntlRHRP.hpp.
Referenced by AttnHandler().
|
static |
Definition at line 117 of file Rw11CntlRHRP.hpp.
Referenced by AttnHandler().
|
static |
Definition at line 119 of file Rw11CntlRHRP.hpp.
Referenced by RdmaPostExecCB().
|
static |
Definition at line 120 of file Rw11CntlRHRP.hpp.
Referenced by RdmaPostExecCB().
|
static |
Definition at line 121 of file Rw11CntlRHRP.hpp.
|
static |
Definition at line 122 of file Rw11CntlRHRP.hpp.
Referenced by RdmaPostExecCB().
|
static |
Definition at line 123 of file Rw11CntlRHRP.hpp.
|
static |
Definition at line 124 of file Rw11CntlRHRP.hpp.
|
static |
Definition at line 125 of file Rw11CntlRHRP.hpp.
|
static |
Definition at line 126 of file Rw11CntlRHRP.hpp.
|
static |
Definition at line 127 of file Rw11CntlRHRP.hpp.
|
static |
Definition at line 128 of file Rw11CntlRHRP.hpp.
|
static |
Definition at line 129 of file Rw11CntlRHRP.hpp.
|
static |
Definition at line 130 of file Rw11CntlRHRP.hpp.
|
static |
Definition at line 131 of file Rw11CntlRHRP.hpp.
Referenced by AddNormalExit(), and AttnHandler().
|
static |
Definition at line 133 of file Rw11CntlRHRP.hpp.
Referenced by UnitSetup().
|
static |
Definition at line 134 of file Rw11CntlRHRP.hpp.
Referenced by UnitSetup().
|
static |
Definition at line 135 of file Rw11CntlRHRP.hpp.
Referenced by UnitSetup().
|
static |
Definition at line 136 of file Rw11CntlRHRP.hpp.
Referenced by UnitSetup().
|
static |
Definition at line 137 of file Rw11CntlRHRP.hpp.
|
static |
Definition at line 138 of file Rw11CntlRHRP.hpp.
Referenced by UnitSetup().
|
static |
Definition at line 139 of file Rw11CntlRHRP.hpp.
|
static |
Definition at line 140 of file Rw11CntlRHRP.hpp.
Referenced by UnitSetup().
|
static |
Definition at line 141 of file Rw11CntlRHRP.hpp.
|
static |
Definition at line 143 of file Rw11CntlRHRP.hpp.
Referenced by AttnHandler().
|
static |
Definition at line 144 of file Rw11CntlRHRP.hpp.
Referenced by AttnHandler().
|
static |
Definition at line 145 of file Rw11CntlRHRP.hpp.
Referenced by AttnHandler().
|
static |
Definition at line 146 of file Rw11CntlRHRP.hpp.
Referenced by AddNormalExit().
|
static |
Definition at line 147 of file Rw11CntlRHRP.hpp.
|
static |
Definition at line 148 of file Rw11CntlRHRP.hpp.
Referenced by AttnHandler().
|
static |
Definition at line 150 of file Rw11CntlRHRP.hpp.
Referenced by AttnHandler().
|
static |
Definition at line 152 of file Rw11CntlRHRP.hpp.
|
static |
Definition at line 153 of file Rw11CntlRHRP.hpp.
Referenced by AttnHandler().
|
static |
Definition at line 154 of file Rw11CntlRHRP.hpp.
Referenced by AttnHandler().
|
static |
Definition at line 155 of file Rw11CntlRHRP.hpp.
Referenced by AttnHandler().
|
static |
Definition at line 156 of file Rw11CntlRHRP.hpp.
Referenced by AttnHandler().
|
protected |
PrimClist: rpcs1 index.
Definition at line 181 of file Rw11CntlRHRP.hpp.
Referenced by AttnHandler(), Dump(), and Start().
|
protected |
PrimClist: rpcs2 index.
Definition at line 182 of file Rw11CntlRHRP.hpp.
Referenced by AttnHandler(), Dump(), and Start().
|
protected |
PrimClist: rpcs3 index.
Definition at line 183 of file Rw11CntlRHRP.hpp.
Referenced by AttnHandler(), Dump(), and Start().
|
protected |
PrimClist: rpwc index.
Definition at line 184 of file Rw11CntlRHRP.hpp.
Referenced by AttnHandler(), Dump(), and Start().
|
protected |
PrimClist: rpba index.
Definition at line 185 of file Rw11CntlRHRP.hpp.
Referenced by AttnHandler(), Dump(), and Start().
|
protected |
PrimClist: rpbae index.
Definition at line 186 of file Rw11CntlRHRP.hpp.
Referenced by AttnHandler(), Dump(), and Start().
|
protected |
PrimClist: copy unit.
Definition at line 187 of file Rw11CntlRHRP.hpp.
|
protected |
PrimClist: rpds index.
Definition at line 188 of file Rw11CntlRHRP.hpp.
Referenced by AttnHandler(), Dump(), and Start().
|
protected |
PrimClist: rpda index.
Definition at line 189 of file Rw11CntlRHRP.hpp.
Referenced by AttnHandler(), Dump(), and Start().
|
protected |
PrimClist: rpdc index.
Definition at line 190 of file Rw11CntlRHRP.hpp.
Referenced by AttnHandler(), Dump(), and Start().
|
protected |
Rdma: request rpcs1.
Definition at line 192 of file Rw11CntlRHRP.hpp.
Referenced by AddErrorExit(), AttnHandler(), and Dump().
|
protected |
Rdma: request rpcs2.
Definition at line 193 of file Rw11CntlRHRP.hpp.
Referenced by AddNormalExit(), AttnHandler(), and Dump().
|
protected |
Rdma: request rpcs3.
Definition at line 194 of file Rw11CntlRHRP.hpp.
Referenced by AttnHandler(), and Dump().
|
protected |
Rdma: request rpwc.
Definition at line 195 of file Rw11CntlRHRP.hpp.
Referenced by AddNormalExit(), AttnHandler(), and Dump().
|
protected |
Rdma: request rpba.
Definition at line 196 of file Rw11CntlRHRP.hpp.
Referenced by AttnHandler(), and Dump().
|
protected |
Rdma: request rpbae.
Definition at line 197 of file Rw11CntlRHRP.hpp.
Referenced by AttnHandler(), and Dump().
|
protected |
Rdma: request rpds.
Definition at line 198 of file Rw11CntlRHRP.hpp.
Referenced by AttnHandler(), and Dump().
|
protected |
Rdma: request rpda.
Definition at line 199 of file Rw11CntlRHRP.hpp.
Referenced by AttnHandler(), and Dump().
|
protected |
Rdma: request rpdc.
Definition at line 200 of file Rw11CntlRHRP.hpp.
Referenced by AttnHandler(), and Dump().
|
protected |
Rdma: current addr.
Definition at line 201 of file Rw11CntlRHRP.hpp.
Referenced by AddNormalExit(), AttnHandler(), and Dump().
|
protected |
Rdma: current lba.
Definition at line 202 of file Rw11CntlRHRP.hpp.
Referenced by AddNormalExit(), AttnHandler(), and Dump().
|
protected |
Rdma: current nwrd.
Definition at line 203 of file Rw11CntlRHRP.hpp.
Referenced by AttnHandler(), and Dump().
|
protected |
Rdma: request fu code.
Definition at line 204 of file Rw11CntlRHRP.hpp.
Referenced by AttnHandler(), Dump(), RdmaPostExecCB(), and RdmaPreExecCB().
|
protected |
Rdma: overrun condition found.
Definition at line 205 of file Rw11CntlRHRP.hpp.
Referenced by AddNormalExit(), AttnHandler(), and Dump().
|
protected |
Rdma controller.
Definition at line 206 of file Rw11CntlRHRP.hpp.
Referenced by AttnHandler(), ChunkSize(), Dump(), RdmaPostExecCB(), RdmaStats(), and SetChunkSize().