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

FIXME_docs. More...

#include <Rw11CntlTM11.hpp>

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

Public Types

enum  stats {
  kStatNFuncUnload = Rw11Cntl::kDimStat , kStatNFuncRead , kStatNFuncWrite , kStatNFuncWeof ,
  kStatNFuncSforw , kStatNFuncSback , kStatNFuncWrteg , kStatNFuncRewind ,
  kDimStat
}
 
- Public Types inherited from Retro::Rw11Cntl
enum  stats { kStatNAttnHdl = 0 , kStatNAttnNoAct , kDimStat }
 

Public Member Functions

 Rw11CntlTM11 ()
 Default constructor.
 
 ~Rw11CntlTM11 ()
 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< Rw11UnitTM11, 4 >
 Rw11CntlBase (const std::string &type)
 Constructor.
 
 ~Rw11CntlBase ()
 Destructor.
 
virtual size_t NUnit () const
 FIXME_docs.
 
virtual Rw11UnitUnitBase (size_t index) const
 FIXME_docs.
 
Rw11UnitTM11Unit (size_t index) const
 FIXME_docs.
 
const std::shared_ptr< Rw11UnitTM11 > & 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 = 0172520
 TM11 default address.
 
static const int kLam = 7
 TM11 default lam.
 
static const uint16_t kTMSR = 000
 TMSR reg offset.
 
static const uint16_t kTMCR = 002
 TMCR reg offset.
 
static const uint16_t kTMBC = 004
 TMBC reg offset.
 
static const uint16_t kTMBA = 006
 TMBA reg offset.
 
static const uint16_t kTMDB = 010
 TMDB reg offset.
 
static const uint16_t kTMRL = 012
 TMRL reg offset.
 
static const uint16_t kProbeOff = kTMCR
 probe address offset (tmcr)
 
static const bool kProbeInt = true
 probe int active
 
static const bool kProbeRem = true
 probr rem active
 
static const uint16_t kTMSR_M_ICMD = kWBit15
 ICMD: invalid cmd.
 
static const uint16_t kTMSR_M_EOF = kWBit14
 EOF: end-of-file seen.
 
static const uint16_t kTMSR_M_PAE = kWBit12
 PAE: parity error.
 
static const uint16_t kTMSR_M_EOT = kWBit10
 EOT: end-of-tape seen.
 
static const uint16_t kTMSR_M_RLE = kWBit09
 RLE: record lgth error.
 
static const uint16_t kTMSR_M_BTE = kWBit08
 BTE: bad tape error.
 
static const uint16_t kTMSR_M_NXM = kWBit07
 NXM: non-existent mem.
 
static const uint16_t kTMSR_M_ONL = kWBit06
 ONL: online.
 
static const uint16_t kTMSR_M_BOT = kWBit05
 BOT: at begin-of-tape.
 
static const uint16_t kTMSR_M_WRL = kWBit02
 WRL: write locked.
 
static const uint16_t kTMSR_M_REW = kWBit01
 REW: tape rewound.
 
static const uint16_t kTMSR_M_TUR = kWBit00
 TUR: unit ready.
 
static const uint16_t kTMCR_V_ERR = 15
 
static const uint16_t kTMCR_V_DEN = 13
 
static const uint16_t kTMCR_B_DEN = 0003
 
static const uint16_t kTMCR_V_UNIT = 8
 
static const uint16_t kTMCR_B_UNIT = 0007
 
static const uint16_t kTMCR_M_RDY = kWBit07
 
static const uint16_t kTMCR_V_EA = 4
 
static const uint16_t kTMCR_B_EA = 0003
 
static const uint16_t kTMCR_V_FUNC = 1
 
static const uint16_t kTMCR_B_FUNC = 0007
 
static const uint16_t kTMCR_M_GO = kWBit00
 
static const uint16_t kFUNC_UNLOAD = 0
 
static const uint16_t kFUNC_READ = 1
 
static const uint16_t kFUNC_WRITE = 2
 
static const uint16_t kFUNC_WEOF = 3
 
static const uint16_t kFUNC_SFORW = 4
 
static const uint16_t kFUNC_SBACK = 5
 
static const uint16_t kFUNC_WEIRG = 6
 
static const uint16_t kFUNC_REWIND = 7
 
static const uint16_t kRFUNC_WUNIT = 1
 
static const uint16_t kRFUNC_DONE = 2
 
static const uint16_t kTMCR_V_RUNIT = 4
 
static const uint16_t kTMCR_B_RUNIT = 0003
 
static const uint16_t kTMCR_M_RICMD = kWBit15
 
static const uint16_t kTMCR_M_RPAE = kWBit12
 
static const uint16_t kTMCR_M_RRLE = kWBit09
 
static const uint16_t kTMCR_M_RBTE = kWBit08
 
static const uint16_t kTMCR_M_RNXM = kWBit07
 
static const uint16_t kTMCR_M_REAENA = kWBit06
 
static const uint16_t kTMCR_V_REA = 4
 
static const uint16_t kTMCR_B_REA = 0003
 
static const uint16_t kTMRL_M_EOF = kWBit10
 EOF: end-of-file seen.
 
static const uint16_t kTMRL_M_EOT = kWBit09
 EOT: end-of-tape seen.
 
static const uint16_t kTMRL_M_ONL = kWBit08
 ONL: online.
 
static const uint16_t kTMRL_M_BOT = kWBit07
 BOT: at begin-of-tape.
 
static const uint16_t kTMRL_M_WRL = kWBit06
 WRL: write locked.
 
static const uint16_t kTMRL_M_REW = kWBit05
 REW: tape rewinding.
 
- Static Public Attributes inherited from Retro::Rw11CntlBase< Rw11UnitTM11, 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 tmcr)
 FIXME_docs.
 
void AddFastExit (RlinkCommandList &clist, int opcode, size_t ndone)
 FIXME_docs.
 
void AddNormalExit (RlinkCommandList &clist, size_t ndone, uint16_t tmcr=0)
 FIXME_docs.
 
void WriteLog (const char *func, RerrMsg &emsg)
 FIXME_docs.
 
void WriteExitLog (uint16_t tmcr, uint32_t addr, uint16_t tmbc, uint16_t tmds)
 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_tmcr
 PrimClist: tmcr index.
 
size_t fPC_tmsr
 PrimClist: tmsr index.
 
size_t fPC_tmbc
 PrimClist: tmbc index.
 
size_t fPC_tmba
 PrimClist: tmba index.
 
uint16_t fRd_tmcr
 Rdma: request tmcr.
 
uint16_t fRd_tmsr
 Rdma: request tmsr.
 
uint16_t fRd_tmbc
 Rdma: request tmbc.
 
uint16_t fRd_tmba
 Rdma: request tmba.
 
uint32_t fRd_addr
 Rdma: current addr.
 
uint32_t fRd_nwrd
 Rdma: current nwrd.
 
uint16_t fRd_fu
 Rdma: request fu code.
 
size_t fRd_rddone
 Rdma: bytes read.
 
int fRd_opcode
 Rdma: read opcode.
 
std::vector< uint16_t > fBuf
 data buffer
 
Rw11Rdma fRdma
 Rdma controller.
 
- Protected Attributes inherited from Retro::Rw11CntlBase< Rw11UnitTM11, 4 >
std::shared_ptr< Rw11UnitTM11fspUnit [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 28 of file Rw11CntlTM11.hpp.

Member Enumeration Documentation

◆ stats

Enumerator
kStatNFuncUnload 

func UNLOAD

kStatNFuncRead 

func READ

kStatNFuncWrite 

func WRITE

kStatNFuncWeof 

func WEOF

kStatNFuncSforw 

func SFORW

kStatNFuncSback 

func SBACK

kStatNFuncWrteg 

func WRTEG

kStatNFuncRewind 

func REWIND

kDimStat 

Definition at line 125 of file Rw11CntlTM11.hpp.

Constructor & Destructor Documentation

◆ Rw11CntlTM11()

◆ ~Rw11CntlTM11()

Retro::Rw11CntlTM11::~Rw11CntlTM11 ( )

Destructor.

Definition at line 161 of file Rw11CntlTM11.cpp.

Member Function Documentation

◆ Config()

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

FIXME_docs.

Definition at line 167 of file Rw11CntlTM11.cpp.

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

◆ Start()

◆ BootCode()

bool Retro::Rw11CntlTM11::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 234 of file Rw11CntlTM11.cpp.

◆ UnitSetup()

◆ SetChunkSize()

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

FIXME_docs.

Definition at line 22 of file Rw11CntlTM11.ipp.

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

◆ ChunkSize()

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

FIXME_docs.

Definition at line 31 of file Rw11CntlTM11.ipp.

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

◆ RdmaStats()

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

FIXME_docs.

Definition at line 39 of file Rw11CntlTM11.ipp.

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

◆ Dump()

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

◆ AttnHandler()

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

FIXME_docs.

Definition at line 301 of file Rw11CntlTM11.cpp.

References AddErrorExit(), AddFastExit(), Retro::Rw11UnitVirt< TV >::Detach(), Retro::RlinkServer::Exec(), fBuf, fPC_tmba, fPC_tmbc, fPC_tmcr, fPC_tmsr, Retro::Rw11Cntl::fPrimClist, fRd_addr, fRd_fu, fRd_opcode, fRd_rddone, fRd_tmba, fRd_tmbc, fRd_tmcr, fRd_tmsr, fRdma, Retro::Rw11CntlBase< Rw11UnitTM11, 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, kFUNC_READ, kFUNC_REWIND, kFUNC_SBACK, kFUNC_SFORW, kFUNC_UNLOAD, kFUNC_WEIRG, kFUNC_WEOF, kFUNC_WRITE, Retro::Rw11VirtTape::kOpCodeOK, Retro::Rw11Cntl::kStatNAttnHdl, kStatNFuncRead, kStatNFuncRewind, kStatNFuncSback, kStatNFuncSforw, kStatNFuncUnload, kStatNFuncWeof, kStatNFuncWrite, kStatNFuncWrteg, kTMCR_B_EA, kTMCR_B_FUNC, kTMCR_B_UNIT, kTMCR_M_RDY, kTMCR_M_RICMD, kTMCR_V_EA, kTMCR_V_FUNC, kTMCR_V_UNIT, Retro::Rw11Cntl::LogFile(), Retro::Rw11Cntl::Name(), Retro::Rw11CntlBase< Rw11UnitTM11, 4 >::NUnit(), Retro::Rw11Rdma::QueueRMem(), Retro::Rw11Rdma::QueueWMem(), Retro::RosPrintf(), Retro::Rw11Cntl::Server(), Retro::RlinkCommandList::Size(), Retro::Rw11UnitVirt< TV >::Virt(), Retro::Rw11UnitTape::VirtReadRecord(), Retro::Rw11UnitTape::VirtRewind(), Retro::Rw11UnitTape::VirtSpaceBack(), Retro::Rw11UnitTape::VirtSpaceForw(), Retro::Rw11UnitTape::VirtWriteEof(), Retro::Rw11Virt::WProt(), and WriteLog().

Referenced by Start().

◆ RdmaPreExecCB()

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

FIXME_docs.

Definition at line 445 of file Rw11CntlTM11.cpp.

◆ RdmaPostExecCB()

void Retro::Rw11CntlTM11::RdmaPostExecCB ( int  stat,
size_t  ndone,
RlinkCommandList clist,
size_t  ncmd 
)
protected

◆ AddErrorExit()

void Retro::Rw11CntlTM11::AddErrorExit ( RlinkCommandList clist,
uint16_t  tmcr 
)
protected

◆ AddFastExit()

◆ AddNormalExit()

◆ WriteLog()

void Retro::Rw11CntlTM11::WriteLog ( const char *  func,
RerrMsg emsg 
)
protected

FIXME_docs.

Definition at line 625 of file Rw11CntlTM11.cpp.

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

Referenced by AddNormalExit(), and AttnHandler().

◆ WriteExitLog()

void Retro::Rw11CntlTM11::WriteExitLog ( uint16_t  tmcr,
uint32_t  addr,
uint16_t  tmbc,
uint16_t  tmds 
)
protected

Member Data Documentation

◆ kIbaddr

const uint16_t Retro::Rw11CntlTM11::kIbaddr = 0172520
static

TM11 default address.

Definition at line 52 of file Rw11CntlTM11.hpp.

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

◆ kLam

const int Retro::Rw11CntlTM11::kLam = 7
static

TM11 default lam.

Definition at line 53 of file Rw11CntlTM11.hpp.

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

◆ kTMSR

const uint16_t Retro::Rw11CntlTM11::kTMSR = 000
static

TMSR reg offset.

Definition at line 55 of file Rw11CntlTM11.hpp.

Referenced by Start().

◆ kTMCR

const uint16_t Retro::Rw11CntlTM11::kTMCR = 002
static

TMCR reg offset.

Definition at line 56 of file Rw11CntlTM11.hpp.

Referenced by AddErrorExit(), AddFastExit(), AddNormalExit(), Start(), and UnitSetup().

◆ kTMBC

const uint16_t Retro::Rw11CntlTM11::kTMBC = 004
static

TMBC reg offset.

Definition at line 57 of file Rw11CntlTM11.hpp.

Referenced by AddFastExit(), AddNormalExit(), and Start().

◆ kTMBA

const uint16_t Retro::Rw11CntlTM11::kTMBA = 006
static

TMBA reg offset.

Definition at line 58 of file Rw11CntlTM11.hpp.

Referenced by AddNormalExit(), and Start().

◆ kTMDB

const uint16_t Retro::Rw11CntlTM11::kTMDB = 010
static

TMDB reg offset.

Definition at line 59 of file Rw11CntlTM11.hpp.

Referenced by Start().

◆ kTMRL

const uint16_t Retro::Rw11CntlTM11::kTMRL = 012
static

TMRL reg offset.

Definition at line 60 of file Rw11CntlTM11.hpp.

Referenced by AddFastExit(), AddNormalExit(), Start(), and UnitSetup().

◆ kProbeOff

const uint16_t Retro::Rw11CntlTM11::kProbeOff = kTMCR
static

probe address offset (tmcr)

Definition at line 62 of file Rw11CntlTM11.hpp.

Referenced by Config().

◆ kProbeInt

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

probe int active

Definition at line 63 of file Rw11CntlTM11.hpp.

Referenced by Config().

◆ kProbeRem

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

probr rem active

Definition at line 64 of file Rw11CntlTM11.hpp.

Referenced by Config().

◆ kTMSR_M_ICMD

const uint16_t Retro::Rw11CntlTM11::kTMSR_M_ICMD = kWBit15
static

ICMD: invalid cmd.

Definition at line 66 of file Rw11CntlTM11.hpp.

◆ kTMSR_M_EOF

const uint16_t Retro::Rw11CntlTM11::kTMSR_M_EOF = kWBit14
static

EOF: end-of-file seen.

Definition at line 67 of file Rw11CntlTM11.hpp.

◆ kTMSR_M_PAE

const uint16_t Retro::Rw11CntlTM11::kTMSR_M_PAE = kWBit12
static

PAE: parity error.

Definition at line 68 of file Rw11CntlTM11.hpp.

◆ kTMSR_M_EOT

const uint16_t Retro::Rw11CntlTM11::kTMSR_M_EOT = kWBit10
static

EOT: end-of-tape seen.

Definition at line 69 of file Rw11CntlTM11.hpp.

◆ kTMSR_M_RLE

const uint16_t Retro::Rw11CntlTM11::kTMSR_M_RLE = kWBit09
static

RLE: record lgth error.

Definition at line 70 of file Rw11CntlTM11.hpp.

◆ kTMSR_M_BTE

const uint16_t Retro::Rw11CntlTM11::kTMSR_M_BTE = kWBit08
static

BTE: bad tape error.

Definition at line 71 of file Rw11CntlTM11.hpp.

◆ kTMSR_M_NXM

const uint16_t Retro::Rw11CntlTM11::kTMSR_M_NXM = kWBit07
static

NXM: non-existent mem.

Definition at line 72 of file Rw11CntlTM11.hpp.

◆ kTMSR_M_ONL

const uint16_t Retro::Rw11CntlTM11::kTMSR_M_ONL = kWBit06
static

ONL: online.

Definition at line 73 of file Rw11CntlTM11.hpp.

◆ kTMSR_M_BOT

const uint16_t Retro::Rw11CntlTM11::kTMSR_M_BOT = kWBit05
static

BOT: at begin-of-tape.

Definition at line 74 of file Rw11CntlTM11.hpp.

◆ kTMSR_M_WRL

const uint16_t Retro::Rw11CntlTM11::kTMSR_M_WRL = kWBit02
static

WRL: write locked.

Definition at line 75 of file Rw11CntlTM11.hpp.

◆ kTMSR_M_REW

const uint16_t Retro::Rw11CntlTM11::kTMSR_M_REW = kWBit01
static

REW: tape rewound.

Definition at line 76 of file Rw11CntlTM11.hpp.

◆ kTMSR_M_TUR

const uint16_t Retro::Rw11CntlTM11::kTMSR_M_TUR = kWBit00
static

TUR: unit ready.

Definition at line 77 of file Rw11CntlTM11.hpp.

◆ kTMCR_V_ERR

const uint16_t Retro::Rw11CntlTM11::kTMCR_V_ERR = 15
static

Definition at line 79 of file Rw11CntlTM11.hpp.

◆ kTMCR_V_DEN

const uint16_t Retro::Rw11CntlTM11::kTMCR_V_DEN = 13
static

Definition at line 80 of file Rw11CntlTM11.hpp.

◆ kTMCR_B_DEN

const uint16_t Retro::Rw11CntlTM11::kTMCR_B_DEN = 0003
static

Definition at line 81 of file Rw11CntlTM11.hpp.

◆ kTMCR_V_UNIT

const uint16_t Retro::Rw11CntlTM11::kTMCR_V_UNIT = 8
static

Definition at line 82 of file Rw11CntlTM11.hpp.

Referenced by AddFastExit(), AddNormalExit(), AttnHandler(), and WriteExitLog().

◆ kTMCR_B_UNIT

const uint16_t Retro::Rw11CntlTM11::kTMCR_B_UNIT = 0007
static

Definition at line 83 of file Rw11CntlTM11.hpp.

Referenced by AddFastExit(), AddNormalExit(), AttnHandler(), and WriteExitLog().

◆ kTMCR_M_RDY

const uint16_t Retro::Rw11CntlTM11::kTMCR_M_RDY = kWBit07
static

Definition at line 84 of file Rw11CntlTM11.hpp.

Referenced by AttnHandler().

◆ kTMCR_V_EA

const uint16_t Retro::Rw11CntlTM11::kTMCR_V_EA = 4
static

Definition at line 85 of file Rw11CntlTM11.hpp.

Referenced by AttnHandler().

◆ kTMCR_B_EA

const uint16_t Retro::Rw11CntlTM11::kTMCR_B_EA = 0003
static

Definition at line 86 of file Rw11CntlTM11.hpp.

Referenced by AttnHandler().

◆ kTMCR_V_FUNC

const uint16_t Retro::Rw11CntlTM11::kTMCR_V_FUNC = 1
static

Definition at line 87 of file Rw11CntlTM11.hpp.

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

◆ kTMCR_B_FUNC

const uint16_t Retro::Rw11CntlTM11::kTMCR_B_FUNC = 0007
static

Definition at line 88 of file Rw11CntlTM11.hpp.

Referenced by AttnHandler().

◆ kTMCR_M_GO

const uint16_t Retro::Rw11CntlTM11::kTMCR_M_GO = kWBit00
static

Definition at line 89 of file Rw11CntlTM11.hpp.

◆ kFUNC_UNLOAD

const uint16_t Retro::Rw11CntlTM11::kFUNC_UNLOAD = 0
static

Definition at line 91 of file Rw11CntlTM11.hpp.

Referenced by AttnHandler().

◆ kFUNC_READ

const uint16_t Retro::Rw11CntlTM11::kFUNC_READ = 1
static

Definition at line 92 of file Rw11CntlTM11.hpp.

Referenced by AddNormalExit(), and AttnHandler().

◆ kFUNC_WRITE

const uint16_t Retro::Rw11CntlTM11::kFUNC_WRITE = 2
static

Definition at line 93 of file Rw11CntlTM11.hpp.

Referenced by AttnHandler().

◆ kFUNC_WEOF

const uint16_t Retro::Rw11CntlTM11::kFUNC_WEOF = 3
static

Definition at line 94 of file Rw11CntlTM11.hpp.

Referenced by AttnHandler().

◆ kFUNC_SFORW

const uint16_t Retro::Rw11CntlTM11::kFUNC_SFORW = 4
static

Definition at line 95 of file Rw11CntlTM11.hpp.

Referenced by AttnHandler().

◆ kFUNC_SBACK

const uint16_t Retro::Rw11CntlTM11::kFUNC_SBACK = 5
static

Definition at line 96 of file Rw11CntlTM11.hpp.

Referenced by AttnHandler().

◆ kFUNC_WEIRG

const uint16_t Retro::Rw11CntlTM11::kFUNC_WEIRG = 6
static

Definition at line 97 of file Rw11CntlTM11.hpp.

Referenced by AttnHandler().

◆ kFUNC_REWIND

const uint16_t Retro::Rw11CntlTM11::kFUNC_REWIND = 7
static

Definition at line 98 of file Rw11CntlTM11.hpp.

Referenced by AttnHandler().

◆ kRFUNC_WUNIT

const uint16_t Retro::Rw11CntlTM11::kRFUNC_WUNIT = 1
static

Definition at line 100 of file Rw11CntlTM11.hpp.

Referenced by AddFastExit(), AddNormalExit(), and UnitSetup().

◆ kRFUNC_DONE

const uint16_t Retro::Rw11CntlTM11::kRFUNC_DONE = 2
static

Definition at line 101 of file Rw11CntlTM11.hpp.

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

◆ kTMCR_V_RUNIT

const uint16_t Retro::Rw11CntlTM11::kTMCR_V_RUNIT = 4
static

Definition at line 104 of file Rw11CntlTM11.hpp.

Referenced by AddFastExit(), AddNormalExit(), and UnitSetup().

◆ kTMCR_B_RUNIT

const uint16_t Retro::Rw11CntlTM11::kTMCR_B_RUNIT = 0003
static

Definition at line 105 of file Rw11CntlTM11.hpp.

◆ kTMCR_M_RICMD

const uint16_t Retro::Rw11CntlTM11::kTMCR_M_RICMD = kWBit15
static

Definition at line 107 of file Rw11CntlTM11.hpp.

Referenced by AttnHandler().

◆ kTMCR_M_RPAE

const uint16_t Retro::Rw11CntlTM11::kTMCR_M_RPAE = kWBit12
static

Definition at line 108 of file Rw11CntlTM11.hpp.

Referenced by AddNormalExit(), and WriteExitLog().

◆ kTMCR_M_RRLE

const uint16_t Retro::Rw11CntlTM11::kTMCR_M_RRLE = kWBit09
static

Definition at line 109 of file Rw11CntlTM11.hpp.

Referenced by AddNormalExit(), and WriteExitLog().

◆ kTMCR_M_RBTE

const uint16_t Retro::Rw11CntlTM11::kTMCR_M_RBTE = kWBit08
static

Definition at line 110 of file Rw11CntlTM11.hpp.

Referenced by AddFastExit(), AddNormalExit(), and WriteExitLog().

◆ kTMCR_M_RNXM

const uint16_t Retro::Rw11CntlTM11::kTMCR_M_RNXM = kWBit07
static

Definition at line 111 of file Rw11CntlTM11.hpp.

Referenced by RdmaPostExecCB(), and WriteExitLog().

◆ kTMCR_M_REAENA

const uint16_t Retro::Rw11CntlTM11::kTMCR_M_REAENA = kWBit06
static

Definition at line 112 of file Rw11CntlTM11.hpp.

Referenced by AddNormalExit().

◆ kTMCR_V_REA

const uint16_t Retro::Rw11CntlTM11::kTMCR_V_REA = 4
static

Definition at line 113 of file Rw11CntlTM11.hpp.

Referenced by AddNormalExit().

◆ kTMCR_B_REA

const uint16_t Retro::Rw11CntlTM11::kTMCR_B_REA = 0003
static

Definition at line 114 of file Rw11CntlTM11.hpp.

◆ kTMRL_M_EOF

const uint16_t Retro::Rw11CntlTM11::kTMRL_M_EOF = kWBit10
static

EOF: end-of-file seen.

Definition at line 117 of file Rw11CntlTM11.hpp.

Referenced by AddFastExit(), and WriteExitLog().

◆ kTMRL_M_EOT

const uint16_t Retro::Rw11CntlTM11::kTMRL_M_EOT = kWBit09
static

EOT: end-of-tape seen.

Definition at line 118 of file Rw11CntlTM11.hpp.

Referenced by AddFastExit(), AddNormalExit(), and WriteExitLog().

◆ kTMRL_M_ONL

const uint16_t Retro::Rw11CntlTM11::kTMRL_M_ONL = kWBit08
static

ONL: online.

Definition at line 119 of file Rw11CntlTM11.hpp.

Referenced by AddFastExit(), AddNormalExit(), and UnitSetup().

◆ kTMRL_M_BOT

const uint16_t Retro::Rw11CntlTM11::kTMRL_M_BOT = kWBit07
static

BOT: at begin-of-tape.

Definition at line 120 of file Rw11CntlTM11.hpp.

Referenced by AddFastExit(), AddNormalExit(), UnitSetup(), and WriteExitLog().

◆ kTMRL_M_WRL

const uint16_t Retro::Rw11CntlTM11::kTMRL_M_WRL = kWBit06
static

WRL: write locked.

Definition at line 121 of file Rw11CntlTM11.hpp.

Referenced by AddFastExit(), AddNormalExit(), and UnitSetup().

◆ kTMRL_M_REW

const uint16_t Retro::Rw11CntlTM11::kTMRL_M_REW = kWBit05
static

REW: tape rewinding.

Definition at line 122 of file Rw11CntlTM11.hpp.

◆ fPC_tmcr

size_t Retro::Rw11CntlTM11::fPC_tmcr
protected

PrimClist: tmcr index.

Definition at line 153 of file Rw11CntlTM11.hpp.

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

◆ fPC_tmsr

size_t Retro::Rw11CntlTM11::fPC_tmsr
protected

PrimClist: tmsr index.

Definition at line 154 of file Rw11CntlTM11.hpp.

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

◆ fPC_tmbc

size_t Retro::Rw11CntlTM11::fPC_tmbc
protected

PrimClist: tmbc index.

Definition at line 155 of file Rw11CntlTM11.hpp.

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

◆ fPC_tmba

size_t Retro::Rw11CntlTM11::fPC_tmba
protected

PrimClist: tmba index.

Definition at line 156 of file Rw11CntlTM11.hpp.

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

◆ fRd_tmcr

uint16_t Retro::Rw11CntlTM11::fRd_tmcr
protected

Rdma: request tmcr.

Definition at line 158 of file Rw11CntlTM11.hpp.

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

◆ fRd_tmsr

uint16_t Retro::Rw11CntlTM11::fRd_tmsr
protected

Rdma: request tmsr.

Definition at line 159 of file Rw11CntlTM11.hpp.

Referenced by AttnHandler(), and Dump().

◆ fRd_tmbc

uint16_t Retro::Rw11CntlTM11::fRd_tmbc
protected

Rdma: request tmbc.

Definition at line 160 of file Rw11CntlTM11.hpp.

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

◆ fRd_tmba

uint16_t Retro::Rw11CntlTM11::fRd_tmba
protected

Rdma: request tmba.

Definition at line 161 of file Rw11CntlTM11.hpp.

Referenced by AttnHandler(), and Dump().

◆ fRd_addr

uint32_t Retro::Rw11CntlTM11::fRd_addr
protected

Rdma: current addr.

Definition at line 162 of file Rw11CntlTM11.hpp.

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

◆ fRd_nwrd

uint32_t Retro::Rw11CntlTM11::fRd_nwrd
protected

Rdma: current nwrd.

Definition at line 163 of file Rw11CntlTM11.hpp.

Referenced by Dump().

◆ fRd_fu

uint16_t Retro::Rw11CntlTM11::fRd_fu
protected

Rdma: request fu code.

Definition at line 164 of file Rw11CntlTM11.hpp.

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

◆ fRd_rddone

size_t Retro::Rw11CntlTM11::fRd_rddone
protected

Rdma: bytes read.

Definition at line 165 of file Rw11CntlTM11.hpp.

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

◆ fRd_opcode

int Retro::Rw11CntlTM11::fRd_opcode
protected

Rdma: read opcode.

Definition at line 166 of file Rw11CntlTM11.hpp.

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

◆ fBuf

std::vector<uint16_t> Retro::Rw11CntlTM11::fBuf
protected

data buffer

Definition at line 167 of file Rw11CntlTM11.hpp.

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

◆ fRdma

Rw11Rdma Retro::Rw11CntlTM11::fRdma
protected

Rdma controller.

Definition at line 168 of file Rw11CntlTM11.hpp.

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


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