w11 - cpp 0.794
Backend server for Rlink and w11
Loading...
Searching...
No Matches
Retro::Rw11CntlRK11 Class Reference

FIXME_docs. More...

#include <Rw11CntlRK11.hpp>

Inheritance diagram for Retro::Rw11CntlRK11:
[legend]
Collaboration diagram for Retro::Rw11CntlRK11:
[legend]

Public Types

enum  stats {
  kStatNFuncCreset = Rw11Cntl::kDimStat , kStatNFuncWrite , kStatNFuncRead , kStatNFuncWchk ,
  kStatNFuncSeek , kStatNFuncRchk , kStatNFuncDreset , kStatNFuncWlock ,
  kDimStat
}
 
- Public Types inherited from Retro::Rw11Cntl
enum  stats { kStatNAttnHdl = 0 , kStatNAttnNoAct , kDimStat }
 

Public Member Functions

 Rw11CntlRK11 ()
 Default constructor.
 
 ~Rw11CntlRK11 ()
 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.
 
RstatsRdmaStats ()
 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< Rw11UnitRK11, 8 >
 Rw11CntlBase (const std::string &type)
 Constructor.
 
 ~Rw11CntlBase ()
 Destructor.
 
virtual size_t NUnit () const
 FIXME_docs.
 
virtual Rw11UnitUnitBase (size_t index) const
 FIXME_docs.
 
Rw11UnitRK11Unit (size_t index) const
 FIXME_docs.
 
const std::shared_ptr< Rw11UnitRK11 > & 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
 
Rw11Cntloperator= (const Rw11Cntl &)=delete
 
void SetCpu (Rw11Cpu *pcpu)
 FIXME_docs.
 
Rw11CpuCpu () const
 FIXME_docs.
 
Rw11W11 () const
 FIXME_docs.
 
RlinkServerServer () const
 FIXME_docs.
 
RlinkConnectConnect () const
 FIXME_docs.
 
RlogFileLogFile () 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 Rw11ProbeProbeStatus () const
 FIXME_docs.
 
virtual void Start ()
 FIXME_docs.
 
bool IsStarted () const
 FIXME_docs.
 
virtual size_t NUnit () const =0
 
virtual Rw11UnitUnitBase (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.
 
RstatsStats ()
 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 = 0177400
 RK11 default address.
 
static const int kLam = 4
 RK11 default lam.
 
static const uint16_t kRKDS = 000
 RKDS reg offset.
 
static const uint16_t kRKER = 002
 RKER reg offset.
 
static const uint16_t kRKCS = 004
 RKCS reg offset.
 
static const uint16_t kRKWC = 006
 RKWC reg offset.
 
static const uint16_t kRKBA = 010
 RKBA reg offset.
 
static const uint16_t kRKDA = 012
 RKDA reg offset.
 
static const uint16_t kRKMR = 014
 RKMR reg offset.
 
static const uint16_t kProbeOff = kRKCS
 probe address offset (rkcs)
 
static const bool kProbeInt = true
 probe int active
 
static const bool kProbeRem = true
 probr rem active
 
static const uint16_t kRKDS_M_ID = 0160000
 ID: drive number.
 
static const uint16_t kRKDS_V_ID = 13
 
static const uint16_t kRKDS_B_ID = 0007
 
static const uint16_t kRKDS_M_HDEN = kWBit11
 HDEN: high density drv.
 
static const uint16_t kRKDS_M_DRU = kWBit10
 DRU: drive unsafe.
 
static const uint16_t kRKDS_M_SIN = kWBit09
 SIN: seek incomplete.
 
static const uint16_t kRKDS_M_SOK = kWBit08
 SOK: sector counter OK.
 
static const uint16_t kRKDS_M_DRY = kWBit07
 DRY: drive ready.
 
static const uint16_t kRKDS_M_ADRY = kWBit06
 ADRY: access ready.
 
static const uint16_t kRKDS_M_WPS = kWBit05
 WPS: write protect.
 
static const uint16_t kRKDS_B_SC = 0017
 SC: sector counter.
 
static const uint16_t kRKER_M_DRE = kWBit15
 
static const uint16_t kRKER_M_OVR = kWBit14
 
static const uint16_t kRKER_M_WLO = kWBit13
 
static const uint16_t kRKER_M_PGE = kWBit11
 
static const uint16_t kRKER_M_NXM = kWBit10
 
static const uint16_t kRKER_M_NXD = kWBit07
 
static const uint16_t kRKER_M_NXC = kWBit06
 
static const uint16_t kRKER_M_NXS = kWBit05
 
static const uint16_t kRKER_M_CSE = kWBit01
 
static const uint16_t kRKER_M_WCE = kWBit00
 
static const uint16_t kRKCS_M_MAINT = kWBit12
 
static const uint16_t kRKCS_M_IBA = kWBit11
 
static const uint16_t kRKCS_M_FMT = kWBit10
 
static const uint16_t kRKCS_M_RWA = kWBit09
 
static const uint16_t kRKCS_M_SSE = kWBit08
 
static const uint16_t kRKCS_M_RDY = kWBit07
 
static const uint16_t kRKCS_M_MEX = 000060
 
static const uint16_t kRKCS_V_MEX = 4
 
static const uint16_t kRKCS_B_MEX = 0003
 
static const uint16_t kRKCS_V_FUNC = 1
 
static const uint16_t kRKCS_B_FUNC = 0007
 
static const uint16_t kRKCS_M_GO = kWBit00
 
static const uint16_t kFUNC_CRESET = 0
 
static const uint16_t kFUNC_WRITE = 1
 
static const uint16_t kFUNC_READ = 2
 
static const uint16_t kFUNC_WCHK = 3
 
static const uint16_t kFUNC_SEEK = 4
 
static const uint16_t kFUNC_RCHK = 5
 
static const uint16_t kFUNC_DRESET = 6
 
static const uint16_t kFUNC_WLOCK = 7
 
static const uint16_t kRKDA_M_DRSEL = 0160000
 
static const uint16_t kRKDA_V_DRSEL = 13
 
static const uint16_t kRKDA_B_DRSEL = 0007
 
static const uint16_t kRKDA_M_CYL = 0017740
 
static const uint16_t kRKDA_V_CYL = 5
 
static const uint16_t kRKDA_B_CYL = 0377
 
static const uint16_t kRKDA_M_SUR = 0000020
 
static const uint16_t kRKDA_V_SUR = 4
 
static const uint16_t kRKDA_B_SUR = 0001
 
static const uint16_t kRKDA_B_SC = 0017
 
static const uint16_t kRKMR_M_RID = 0160000
 
static const uint16_t kRKMR_V_RID = 13
 
static const uint16_t kRKMR_M_CRDONE = kWBit11
 
static const uint16_t kRKMR_M_SBCLR = kWBit10
 
static const uint16_t kRKMR_M_CRESET = kWBit09
 
static const uint16_t kRKMR_M_FDONE = kWBit08
 
- Static Public Attributes inherited from Retro::Rw11CntlBase< Rw11UnitRK11, 8 >
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 LogRker (uint16_t rker)
 FIXME_docs.
 
void AddErrorExit (RlinkCommandList &clist, uint16_t rker)
 FIXME_docs.
 
void AddNormalExit (RlinkCommandList &clist, size_t ndone, uint16_t rker=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_rkwc
 PrimClist: rkwc index.
 
size_t fPC_rkba
 PrimClist: rkba index.
 
size_t fPC_rkda
 PrimClist: rkda index.
 
size_t fPC_rkmr
 PrimClist: rkmr index.
 
size_t fPC_rkcs
 PrimClist: rkcs index.
 
uint16_t fRd_rkcs
 Rdma: request rkcs.
 
uint16_t fRd_rkda
 Rdma: request rkda.
 
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< Rw11UnitRK11, 8 >
std::shared_ptr< Rw11UnitRK11fspUnit [NU]
 
- Protected Attributes inherited from Retro::Rw11Cntl
Rw11CpufpCpu
 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
 

Detailed Description

FIXME_docs.

Definition at line 30 of file Rw11CntlRK11.hpp.

Member Enumeration Documentation

◆ stats

Enumerator
kStatNFuncCreset 

func CRESET

kStatNFuncWrite 

func WRITE

kStatNFuncRead 

func READ

kStatNFuncWchk 

func WCHK

kStatNFuncSeek 

func SEEK

kStatNFuncRchk 

func RCHK

kStatNFuncDreset 

func DRESET

kStatNFuncWlock 

func WLOCK

kDimStat 

Definition at line 133 of file Rw11CntlRK11.hpp.

Constructor & Destructor Documentation

◆ Rw11CntlRK11()

◆ ~Rw11CntlRK11()

Retro::Rw11CntlRK11::~Rw11CntlRK11 ( )

Destructor.

Definition at line 174 of file Rw11CntlRK11.cpp.

Member Function Documentation

◆ Config()

void Retro::Rw11CntlRK11::Config ( const std::string &  name,
uint16_t  base,
int  lam 
)

FIXME_docs.

Definition at line 180 of file Rw11CntlRK11.cpp.

References Retro::Rw11Cntl::ConfigCntl(), kProbeInt, kProbeOff, and kProbeRem.

◆ Start()

◆ BootCode()

bool Retro::Rw11CntlRK11::BootCode ( size_t  unit,
std::vector< uint16_t > &  code,
uint16_t &  aload,
uint16_t &  astart 
)
virtual

FIXME_docs.

Reimplemented from Retro::Rw11Cntl.

Definition at line 250 of file Rw11CntlRK11.cpp.

◆ UnitSetup()

◆ SetChunkSize()

void Retro::Rw11CntlRK11::SetChunkSize ( size_t  chunk)
inline

FIXME_docs.

Definition at line 22 of file Rw11CntlRK11.ipp.

References fRdma, and Retro::Rw11Rdma::SetChunkSize().

◆ ChunkSize()

size_t Retro::Rw11CntlRK11::ChunkSize ( ) const
inline

FIXME_docs.

Definition at line 31 of file Rw11CntlRK11.ipp.

References Retro::Rw11Rdma::ChunkSize(), and fRdma.

◆ RdmaStats()

Rstats & Retro::Rw11CntlRK11::RdmaStats ( )
inline

FIXME_docs.

Definition at line 39 of file Rw11CntlRK11.ipp.

References fRdma, and Retro::Rw11Rdma::Stats().

◆ Dump()

void Retro::Rw11CntlRK11::Dump ( std::ostream &  os,
int  ind = 0,
const char *  text = 0,
int  detail = 0 
) const
virtual

◆ AttnHandler()

int Retro::Rw11CntlRK11::AttnHandler ( RlinkServer::AttnArgs args)
protected

FIXME_docs.

Definition at line 315 of file Rw11CntlRK11.cpp.

References AddErrorExit(), AddNormalExit(), Retro::Rw11Cpu::AddWibr(), Retro::Rw11UnitDisk::BlockSize(), Retro::Rw11UnitDisk::Chs2Lba(), Retro::Rw11Cntl::Cpu(), Retro::RlinkServer::Exec(), Retro::Rw11Cntl::fBase, fPC_rkba, fPC_rkcs, fPC_rkda, fPC_rkwc, Retro::Rw11Cntl::fPrimClist, fRd_addr, fRd_fu, fRd_lba, fRd_nwrd, fRd_ovr, fRd_rkcs, fRd_rkda, fRdma, Retro::Rw11CntlBase< Rw11UnitRK11, 8 >::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, kFUNC_CRESET, kFUNC_DRESET, kFUNC_RCHK, kFUNC_READ, kFUNC_SEEK, kFUNC_WCHK, kFUNC_WLOCK, kFUNC_WRITE, kRKCS_B_FUNC, kRKCS_B_MEX, kRKCS_M_FMT, kRKCS_M_GO, kRKCS_M_IBA, kRKCS_M_RDY, kRKCS_M_RWA, kRKCS_V_FUNC, kRKCS_V_MEX, kRKDA_B_CYL, kRKDA_B_DRSEL, kRKDA_B_SC, kRKDA_B_SUR, kRKDA_V_CYL, kRKDA_V_DRSEL, kRKDA_V_SUR, kRKDS, kRKDS_M_WPS, kRKER, kRKER_M_DRE, kRKER_M_NXC, kRKER_M_NXD, kRKER_M_NXS, kRKER_M_PGE, kRKER_M_WLO, kRKMR, kRKMR_M_CRESET, kRKMR_M_FDONE, kRKMR_M_SBCLR, Retro::Rw11Cntl::kStatNAttnHdl, kStatNFuncCreset, kStatNFuncDreset, kStatNFuncRchk, kStatNFuncRead, kStatNFuncSeek, kStatNFuncWchk, kStatNFuncWlock, kStatNFuncWrite, Retro::Rw11Cntl::LogFile(), LogRker(), Retro::Rw11Cntl::Name(), Retro::Rw11UnitDisk::NBlock(), Retro::Rw11UnitDisk::NCylinder(), Retro::Rw11UnitDisk::NSector(), Retro::Rw11CntlBase< Rw11UnitRK11, 8 >::NUnit(), Retro::Rw11UnitDisk::Nwrd2Nblk(), Retro::Rw11RdmaDisk::QueueDiskRead(), Retro::Rw11RdmaDisk::QueueDiskWrite(), Retro::Rw11RdmaDisk::QueueDiskWriteCheck(), Retro::Rw11UnitRK11::Rkds(), Retro::RosPrintf(), Retro::Rw11Cntl::Server(), Retro::Rw11UnitRK11::SetRkds(), Retro::Rw11UnitDisk::SetWProt(), Retro::RlinkCommandList::Size(), and Retro::Rw11UnitDisk::WProt().

Referenced by Start().

◆ RdmaPreExecCB()

void Retro::Rw11CntlRK11::RdmaPreExecCB ( int  stat,
size_t  nwdone,
size_t  nwnext,
RlinkCommandList clist 
)
protected

◆ RdmaPostExecCB()

◆ LogRker()

void Retro::Rw11CntlRK11::LogRker ( uint16_t  rker)
protected

FIXME_docs.

Definition at line 573 of file Rw11CntlRK11.cpp.

References Retro::Rw11Cntl::LogFile(), and Retro::Rw11Cntl::Name().

Referenced by AddErrorExit(), AddNormalExit(), and AttnHandler().

◆ AddErrorExit()

void Retro::Rw11CntlRK11::AddErrorExit ( RlinkCommandList clist,
uint16_t  rker 
)
protected

◆ AddNormalExit()

Member Data Documentation

◆ kIbaddr

const uint16_t Retro::Rw11CntlRK11::kIbaddr = 0177400
static

RK11 default address.

Definition at line 54 of file Rw11CntlRK11.hpp.

Referenced by Retro::RtclRw11CntlRK11::FactoryCmdConfig().

◆ kLam

const int Retro::Rw11CntlRK11::kLam = 4
static

RK11 default lam.

Definition at line 55 of file Rw11CntlRK11.hpp.

Referenced by Retro::RtclRw11CntlRK11::FactoryCmdConfig().

◆ kRKDS

const uint16_t Retro::Rw11CntlRK11::kRKDS = 000
static

RKDS reg offset.

Definition at line 57 of file Rw11CntlRK11.hpp.

Referenced by AttnHandler(), Start(), and UnitSetup().

◆ kRKER

const uint16_t Retro::Rw11CntlRK11::kRKER = 002
static

RKER reg offset.

Definition at line 58 of file Rw11CntlRK11.hpp.

Referenced by AddErrorExit(), AddNormalExit(), AttnHandler(), and Start().

◆ kRKCS

const uint16_t Retro::Rw11CntlRK11::kRKCS = 004
static

RKCS reg offset.

Definition at line 59 of file Rw11CntlRK11.hpp.

Referenced by AddNormalExit(), and Start().

◆ kRKWC

const uint16_t Retro::Rw11CntlRK11::kRKWC = 006
static

RKWC reg offset.

Definition at line 60 of file Rw11CntlRK11.hpp.

Referenced by AddNormalExit(), and Start().

◆ kRKBA

const uint16_t Retro::Rw11CntlRK11::kRKBA = 010
static

RKBA reg offset.

Definition at line 61 of file Rw11CntlRK11.hpp.

Referenced by AddNormalExit(), and Start().

◆ kRKDA

const uint16_t Retro::Rw11CntlRK11::kRKDA = 012
static

RKDA reg offset.

Definition at line 62 of file Rw11CntlRK11.hpp.

Referenced by AddNormalExit(), and Start().

◆ kRKMR

const uint16_t Retro::Rw11CntlRK11::kRKMR = 014
static

RKMR reg offset.

Definition at line 63 of file Rw11CntlRK11.hpp.

Referenced by AddErrorExit(), AddNormalExit(), AttnHandler(), and Start().

◆ kProbeOff

const uint16_t Retro::Rw11CntlRK11::kProbeOff = kRKCS
static

probe address offset (rkcs)

Definition at line 65 of file Rw11CntlRK11.hpp.

Referenced by Config().

◆ kProbeInt

const bool Retro::Rw11CntlRK11::kProbeInt = true
static

probe int active

Definition at line 66 of file Rw11CntlRK11.hpp.

Referenced by Config().

◆ kProbeRem

const bool Retro::Rw11CntlRK11::kProbeRem = true
static

probr rem active

Definition at line 67 of file Rw11CntlRK11.hpp.

Referenced by Config().

◆ kRKDS_M_ID

const uint16_t Retro::Rw11CntlRK11::kRKDS_M_ID = 0160000
static

ID: drive number.

Definition at line 69 of file Rw11CntlRK11.hpp.

◆ kRKDS_V_ID

const uint16_t Retro::Rw11CntlRK11::kRKDS_V_ID = 13
static

Definition at line 70 of file Rw11CntlRK11.hpp.

Referenced by UnitSetup().

◆ kRKDS_B_ID

const uint16_t Retro::Rw11CntlRK11::kRKDS_B_ID = 0007
static

Definition at line 71 of file Rw11CntlRK11.hpp.

◆ kRKDS_M_HDEN

const uint16_t Retro::Rw11CntlRK11::kRKDS_M_HDEN = kWBit11
static

HDEN: high density drv.

Definition at line 72 of file Rw11CntlRK11.hpp.

Referenced by UnitSetup().

◆ kRKDS_M_DRU

const uint16_t Retro::Rw11CntlRK11::kRKDS_M_DRU = kWBit10
static

DRU: drive unsafe.

Definition at line 73 of file Rw11CntlRK11.hpp.

◆ kRKDS_M_SIN

const uint16_t Retro::Rw11CntlRK11::kRKDS_M_SIN = kWBit09
static

SIN: seek incomplete.

Definition at line 74 of file Rw11CntlRK11.hpp.

◆ kRKDS_M_SOK

const uint16_t Retro::Rw11CntlRK11::kRKDS_M_SOK = kWBit08
static

SOK: sector counter OK.

Definition at line 75 of file Rw11CntlRK11.hpp.

Referenced by UnitSetup().

◆ kRKDS_M_DRY

const uint16_t Retro::Rw11CntlRK11::kRKDS_M_DRY = kWBit07
static

DRY: drive ready.

Definition at line 76 of file Rw11CntlRK11.hpp.

Referenced by UnitSetup().

◆ kRKDS_M_ADRY

const uint16_t Retro::Rw11CntlRK11::kRKDS_M_ADRY = kWBit06
static

ADRY: access ready.

Definition at line 77 of file Rw11CntlRK11.hpp.

Referenced by UnitSetup().

◆ kRKDS_M_WPS

const uint16_t Retro::Rw11CntlRK11::kRKDS_M_WPS = kWBit05
static

WPS: write protect.

Definition at line 78 of file Rw11CntlRK11.hpp.

Referenced by AttnHandler(), and UnitSetup().

◆ kRKDS_B_SC

const uint16_t Retro::Rw11CntlRK11::kRKDS_B_SC = 0017
static

SC: sector counter.

Definition at line 79 of file Rw11CntlRK11.hpp.

◆ kRKER_M_DRE

const uint16_t Retro::Rw11CntlRK11::kRKER_M_DRE = kWBit15
static

Definition at line 81 of file Rw11CntlRK11.hpp.

Referenced by AttnHandler().

◆ kRKER_M_OVR

const uint16_t Retro::Rw11CntlRK11::kRKER_M_OVR = kWBit14
static

Definition at line 82 of file Rw11CntlRK11.hpp.

Referenced by AddNormalExit().

◆ kRKER_M_WLO

const uint16_t Retro::Rw11CntlRK11::kRKER_M_WLO = kWBit13
static

Definition at line 83 of file Rw11CntlRK11.hpp.

Referenced by AttnHandler().

◆ kRKER_M_PGE

const uint16_t Retro::Rw11CntlRK11::kRKER_M_PGE = kWBit11
static

Definition at line 84 of file Rw11CntlRK11.hpp.

Referenced by AttnHandler().

◆ kRKER_M_NXM

const uint16_t Retro::Rw11CntlRK11::kRKER_M_NXM = kWBit10
static

Definition at line 85 of file Rw11CntlRK11.hpp.

Referenced by RdmaPostExecCB().

◆ kRKER_M_NXD

const uint16_t Retro::Rw11CntlRK11::kRKER_M_NXD = kWBit07
static

Definition at line 86 of file Rw11CntlRK11.hpp.

Referenced by AttnHandler().

◆ kRKER_M_NXC

const uint16_t Retro::Rw11CntlRK11::kRKER_M_NXC = kWBit06
static

Definition at line 87 of file Rw11CntlRK11.hpp.

Referenced by AttnHandler().

◆ kRKER_M_NXS

const uint16_t Retro::Rw11CntlRK11::kRKER_M_NXS = kWBit05
static

Definition at line 88 of file Rw11CntlRK11.hpp.

Referenced by AttnHandler().

◆ kRKER_M_CSE

const uint16_t Retro::Rw11CntlRK11::kRKER_M_CSE = kWBit01
static

Definition at line 89 of file Rw11CntlRK11.hpp.

◆ kRKER_M_WCE

const uint16_t Retro::Rw11CntlRK11::kRKER_M_WCE = kWBit00
static

Definition at line 90 of file Rw11CntlRK11.hpp.

Referenced by RdmaPostExecCB().

◆ kRKCS_M_MAINT

const uint16_t Retro::Rw11CntlRK11::kRKCS_M_MAINT = kWBit12
static

Definition at line 92 of file Rw11CntlRK11.hpp.

◆ kRKCS_M_IBA

const uint16_t Retro::Rw11CntlRK11::kRKCS_M_IBA = kWBit11
static

Definition at line 93 of file Rw11CntlRK11.hpp.

Referenced by AttnHandler().

◆ kRKCS_M_FMT

const uint16_t Retro::Rw11CntlRK11::kRKCS_M_FMT = kWBit10
static

Definition at line 94 of file Rw11CntlRK11.hpp.

Referenced by AttnHandler().

◆ kRKCS_M_RWA

const uint16_t Retro::Rw11CntlRK11::kRKCS_M_RWA = kWBit09
static

Definition at line 95 of file Rw11CntlRK11.hpp.

Referenced by AttnHandler().

◆ kRKCS_M_SSE

const uint16_t Retro::Rw11CntlRK11::kRKCS_M_SSE = kWBit08
static

Definition at line 96 of file Rw11CntlRK11.hpp.

Referenced by RdmaPostExecCB().

◆ kRKCS_M_RDY

const uint16_t Retro::Rw11CntlRK11::kRKCS_M_RDY = kWBit07
static

Definition at line 97 of file Rw11CntlRK11.hpp.

Referenced by AttnHandler().

◆ kRKCS_M_MEX

const uint16_t Retro::Rw11CntlRK11::kRKCS_M_MEX = 000060
static

Definition at line 98 of file Rw11CntlRK11.hpp.

◆ kRKCS_V_MEX

const uint16_t Retro::Rw11CntlRK11::kRKCS_V_MEX = 4
static

Definition at line 99 of file Rw11CntlRK11.hpp.

Referenced by AddNormalExit(), and AttnHandler().

◆ kRKCS_B_MEX

const uint16_t Retro::Rw11CntlRK11::kRKCS_B_MEX = 0003
static

Definition at line 100 of file Rw11CntlRK11.hpp.

Referenced by AttnHandler().

◆ kRKCS_V_FUNC

const uint16_t Retro::Rw11CntlRK11::kRKCS_V_FUNC = 1
static

Definition at line 101 of file Rw11CntlRK11.hpp.

Referenced by AttnHandler().

◆ kRKCS_B_FUNC

const uint16_t Retro::Rw11CntlRK11::kRKCS_B_FUNC = 0007
static

Definition at line 102 of file Rw11CntlRK11.hpp.

Referenced by AttnHandler().

◆ kRKCS_M_GO

const uint16_t Retro::Rw11CntlRK11::kRKCS_M_GO = kWBit00
static

Definition at line 103 of file Rw11CntlRK11.hpp.

Referenced by AttnHandler().

◆ kFUNC_CRESET

const uint16_t Retro::Rw11CntlRK11::kFUNC_CRESET = 0
static

Definition at line 105 of file Rw11CntlRK11.hpp.

Referenced by AttnHandler().

◆ kFUNC_WRITE

const uint16_t Retro::Rw11CntlRK11::kFUNC_WRITE = 1
static

Definition at line 106 of file Rw11CntlRK11.hpp.

Referenced by AttnHandler().

◆ kFUNC_READ

const uint16_t Retro::Rw11CntlRK11::kFUNC_READ = 2
static

Definition at line 107 of file Rw11CntlRK11.hpp.

Referenced by AttnHandler().

◆ kFUNC_WCHK

const uint16_t Retro::Rw11CntlRK11::kFUNC_WCHK = 3
static

Definition at line 108 of file Rw11CntlRK11.hpp.

Referenced by AttnHandler(), RdmaPostExecCB(), and RdmaPreExecCB().

◆ kFUNC_SEEK

const uint16_t Retro::Rw11CntlRK11::kFUNC_SEEK = 4
static

Definition at line 109 of file Rw11CntlRK11.hpp.

Referenced by AttnHandler().

◆ kFUNC_RCHK

const uint16_t Retro::Rw11CntlRK11::kFUNC_RCHK = 5
static

Definition at line 110 of file Rw11CntlRK11.hpp.

Referenced by AttnHandler().

◆ kFUNC_DRESET

const uint16_t Retro::Rw11CntlRK11::kFUNC_DRESET = 6
static

Definition at line 111 of file Rw11CntlRK11.hpp.

Referenced by AttnHandler().

◆ kFUNC_WLOCK

const uint16_t Retro::Rw11CntlRK11::kFUNC_WLOCK = 7
static

Definition at line 112 of file Rw11CntlRK11.hpp.

Referenced by AttnHandler().

◆ kRKDA_M_DRSEL

const uint16_t Retro::Rw11CntlRK11::kRKDA_M_DRSEL = 0160000
static

Definition at line 114 of file Rw11CntlRK11.hpp.

Referenced by AddNormalExit().

◆ kRKDA_V_DRSEL

const uint16_t Retro::Rw11CntlRK11::kRKDA_V_DRSEL = 13
static

Definition at line 115 of file Rw11CntlRK11.hpp.

Referenced by AddNormalExit(), and AttnHandler().

◆ kRKDA_B_DRSEL

const uint16_t Retro::Rw11CntlRK11::kRKDA_B_DRSEL = 0007
static

Definition at line 116 of file Rw11CntlRK11.hpp.

Referenced by AddNormalExit(), and AttnHandler().

◆ kRKDA_M_CYL

const uint16_t Retro::Rw11CntlRK11::kRKDA_M_CYL = 0017740
static

Definition at line 117 of file Rw11CntlRK11.hpp.

◆ kRKDA_V_CYL

const uint16_t Retro::Rw11CntlRK11::kRKDA_V_CYL = 5
static

Definition at line 118 of file Rw11CntlRK11.hpp.

Referenced by AddNormalExit(), and AttnHandler().

◆ kRKDA_B_CYL

const uint16_t Retro::Rw11CntlRK11::kRKDA_B_CYL = 0377
static

Definition at line 119 of file Rw11CntlRK11.hpp.

Referenced by AttnHandler().

◆ kRKDA_M_SUR

const uint16_t Retro::Rw11CntlRK11::kRKDA_M_SUR = 0000020
static

Definition at line 120 of file Rw11CntlRK11.hpp.

◆ kRKDA_V_SUR

const uint16_t Retro::Rw11CntlRK11::kRKDA_V_SUR = 4
static

Definition at line 121 of file Rw11CntlRK11.hpp.

Referenced by AddNormalExit(), and AttnHandler().

◆ kRKDA_B_SUR

const uint16_t Retro::Rw11CntlRK11::kRKDA_B_SUR = 0001
static

Definition at line 122 of file Rw11CntlRK11.hpp.

Referenced by AttnHandler().

◆ kRKDA_B_SC

const uint16_t Retro::Rw11CntlRK11::kRKDA_B_SC = 0017
static

Definition at line 123 of file Rw11CntlRK11.hpp.

Referenced by AttnHandler().

◆ kRKMR_M_RID

const uint16_t Retro::Rw11CntlRK11::kRKMR_M_RID = 0160000
static

Definition at line 125 of file Rw11CntlRK11.hpp.

◆ kRKMR_V_RID

const uint16_t Retro::Rw11CntlRK11::kRKMR_V_RID = 13
static

Definition at line 126 of file Rw11CntlRK11.hpp.

◆ kRKMR_M_CRDONE

const uint16_t Retro::Rw11CntlRK11::kRKMR_M_CRDONE = kWBit11
static

Definition at line 127 of file Rw11CntlRK11.hpp.

◆ kRKMR_M_SBCLR

const uint16_t Retro::Rw11CntlRK11::kRKMR_M_SBCLR = kWBit10
static

Definition at line 128 of file Rw11CntlRK11.hpp.

Referenced by AttnHandler().

◆ kRKMR_M_CRESET

const uint16_t Retro::Rw11CntlRK11::kRKMR_M_CRESET = kWBit09
static

Definition at line 129 of file Rw11CntlRK11.hpp.

Referenced by AttnHandler().

◆ kRKMR_M_FDONE

const uint16_t Retro::Rw11CntlRK11::kRKMR_M_FDONE = kWBit08
static

Definition at line 130 of file Rw11CntlRK11.hpp.

Referenced by AddErrorExit(), AddNormalExit(), and AttnHandler().

◆ fPC_rkwc

size_t Retro::Rw11CntlRK11::fPC_rkwc
protected

PrimClist: rkwc index.

Definition at line 157 of file Rw11CntlRK11.hpp.

Referenced by AttnHandler(), Dump(), and Start().

◆ fPC_rkba

size_t Retro::Rw11CntlRK11::fPC_rkba
protected

PrimClist: rkba index.

Definition at line 158 of file Rw11CntlRK11.hpp.

Referenced by AttnHandler(), Dump(), and Start().

◆ fPC_rkda

size_t Retro::Rw11CntlRK11::fPC_rkda
protected

PrimClist: rkda index.

Definition at line 159 of file Rw11CntlRK11.hpp.

Referenced by AttnHandler(), Dump(), and Start().

◆ fPC_rkmr

size_t Retro::Rw11CntlRK11::fPC_rkmr
protected

PrimClist: rkmr index.

Definition at line 160 of file Rw11CntlRK11.hpp.

Referenced by Dump(), and Start().

◆ fPC_rkcs

size_t Retro::Rw11CntlRK11::fPC_rkcs
protected

PrimClist: rkcs index.

Definition at line 161 of file Rw11CntlRK11.hpp.

Referenced by AttnHandler(), Dump(), and Start().

◆ fRd_rkcs

uint16_t Retro::Rw11CntlRK11::fRd_rkcs
protected

Rdma: request rkcs.

Definition at line 163 of file Rw11CntlRK11.hpp.

Referenced by AddNormalExit(), AttnHandler(), Dump(), and RdmaPostExecCB().

◆ fRd_rkda

uint16_t Retro::Rw11CntlRK11::fRd_rkda
protected

Rdma: request rkda.

Definition at line 164 of file Rw11CntlRK11.hpp.

Referenced by AddNormalExit(), AttnHandler(), and Dump().

◆ fRd_addr

uint32_t Retro::Rw11CntlRK11::fRd_addr
protected

Rdma: current addr.

Definition at line 165 of file Rw11CntlRK11.hpp.

Referenced by AddNormalExit(), AttnHandler(), and Dump().

◆ fRd_lba

uint32_t Retro::Rw11CntlRK11::fRd_lba
protected

Rdma: current lba.

Definition at line 166 of file Rw11CntlRK11.hpp.

Referenced by AddNormalExit(), AttnHandler(), and Dump().

◆ fRd_nwrd

uint32_t Retro::Rw11CntlRK11::fRd_nwrd
protected

Rdma: current nwrd.

Definition at line 167 of file Rw11CntlRK11.hpp.

Referenced by AddNormalExit(), AttnHandler(), and Dump().

◆ fRd_fu

uint16_t Retro::Rw11CntlRK11::fRd_fu
protected

Rdma: request fu code.

Definition at line 168 of file Rw11CntlRK11.hpp.

Referenced by AttnHandler(), Dump(), RdmaPostExecCB(), and RdmaPreExecCB().

◆ fRd_ovr

bool Retro::Rw11CntlRK11::fRd_ovr
protected

Rdma: overrun condition found.

Definition at line 169 of file Rw11CntlRK11.hpp.

Referenced by AddNormalExit(), AttnHandler(), and Dump().

◆ fRdma

Rw11RdmaDisk Retro::Rw11CntlRK11::fRdma
protected

Rdma controller.

Definition at line 170 of file Rw11CntlRK11.hpp.

Referenced by AttnHandler(), ChunkSize(), Dump(), RdmaPostExecCB(), RdmaStats(), and SetChunkSize().


The documentation for this class was generated from the following files: