w11 - cpp 0.794
Backend server for Rlink and w11
|
FIXME_docs. More...
#include <RtclRw11Cpu.hpp>
Public Member Functions | |
RtclRw11Cpu (const std::string &type) | |
Default constructor. | |
virtual | ~RtclRw11Cpu () |
Destructor. | |
virtual Rw11Cpu & | Obj ()=0 |
Public Member Functions inherited from Retro::RtclProxyBase | |
RtclProxyBase (const std::string &type=std::string()) | |
FIXME_docs. | |
RtclProxyBase (const std::string &type, Tcl_Interp *interp, const char *name) | |
FIXME_docs. | |
virtual | ~RtclProxyBase () |
Destructor. | |
virtual int | ClassCmdConfig (RtclArgs &args) |
FIXME_docs. | |
const std::string & | Type () const |
FIXME_docs. | |
Tcl_Command | Token () const |
FIXME_docs. | |
std::string | CommandName () const |
FIXME_docs. | |
Public Member Functions inherited from Retro::RtclCmdBase | |
RtclCmdBase () | |
FIXME_docs. | |
virtual | ~RtclCmdBase () |
Destructor. | |
RtclCmdBase (const RtclCmdBase &)=delete | |
RtclCmdBase & | operator= (const RtclCmdBase &)=delete |
int | DispatchCmd (RtclArgs &args) |
FIXME_docs. | |
void | AddMeth (const std::string &name, methfo_t &&methfo) |
FIXME_docs. | |
void | DelMeth (const std::string &name) |
FIXME_docs. | |
bool | TstMeth (const std::string &name) |
FIXME_docs. | |
Protected Member Functions | |
int | M_add (RtclArgs &args) |
FIXME_docs. | |
int | M_imap (RtclArgs &args) |
FIXME_docs. | |
int | M_rmap (RtclArgs &args) |
FIXME_docs. | |
int | M_cp (RtclArgs &args) |
FIXME_docs. | |
int | M_wtcpu (RtclArgs &args) |
FIXME_docs. | |
int | M_deposit (RtclArgs &args) |
FIXME_docs. | |
int | M_examine (RtclArgs &args) |
FIXME_docs. | |
int | M_lsmem (RtclArgs &args) |
FIXME_docs. | |
int | M_ldabs (RtclArgs &args) |
FIXME_docs. | |
int | M_ldasm (RtclArgs &args) |
FIXME_docs. | |
int | M_boot (RtclArgs &args) |
FIXME_docs. | |
int | M_get (RtclArgs &args) |
FIXME_docs. | |
int | M_set (RtclArgs &args) |
FIXME_docs. | |
int | M_show (RtclArgs &args) |
FIXME_docs. | |
int | M_stats (RtclArgs &args) |
FIXME_docs. | |
int | M_dump (RtclArgs &args) |
FIXME_docs. | |
int | M_default (RtclArgs &args) |
FIXME_docs. | |
void | SetupGetSet () |
FIXME_docs. | |
RlinkServer & | Server () |
FIXME_docs. | |
RlinkConnect & | Connect () |
FIXME_docs. | |
bool | GetIAddr (RtclArgs &args, uint16_t &ibaddr) |
FIXME_docs. | |
bool | GetRAddr (RtclArgs &args, uint16_t &rbaddr) |
FIXME_docs. | |
bool | GetVarName (RtclArgs &args, const char *argname, size_t nind, std::vector< std::string > &varname) |
FIXME_docs. | |
bool | ClistNonEmpty (RtclArgs &args, const RlinkCommandList &clist) |
FIXME_docs. | |
Tcl_Obj * | ControllerCommands () |
FIXME_docs. | |
Protected Member Functions inherited from Retro::RtclProxyBase | |
void | SetType (const std::string &type) |
FIXME_docs. | |
void | CreateObjectCmd (Tcl_Interp *interp, const char *name) |
FIXME_docs. | |
int | TclObjectCmd (Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]) |
FIXME_docs. | |
Protected Member Functions inherited from Retro::RtclCmdBase | |
bool | GetArgsDump (RtclArgs &args, int &detail) |
FIXME_docs. | |
int | M_info (RtclArgs &args) |
FIXME_docs. | |
Protected Attributes | |
RtclGetList | fGets |
RtclSetList | fSets |
Protected Attributes inherited from Retro::RtclProxyBase | |
std::string | fType |
proxied type name | |
Tcl_Interp * | fInterp |
tcl interpreter | |
Tcl_Command | fCmdToken |
cmd token for object command | |
Protected Attributes inherited from Retro::RtclCmdBase | |
mmap_t | fMethMap |
map for named methods | |
Additional Inherited Members | |
Public Types inherited from Retro::RtclCmdBase | |
typedef std::function< int(RtclArgs &)> | methfo_t |
typedef std::map< std::string, methfo_t > | mmap_t |
typedef mmap_t::iterator | mmap_it_t |
typedef mmap_t::const_iterator | mmap_cit_t |
Static Public Attributes inherited from Retro::RtclCmdBase | |
static const int | kOK = TCL_OK |
static const int | kERR = TCL_ERROR |
Static Protected Member Functions inherited from Retro::RtclProxyBase | |
static int | ThunkTclObjectCmd (ClientData cdata, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]) |
FIXME_docs. | |
static void | ThunkTclCmdDeleteProc (ClientData cdata) |
FIXME_docs. | |
static void | ThunkTclExitProc (ClientData cdata) |
FIXME_docs. | |
FIXME_docs.
Definition at line 37 of file RtclRw11Cpu.hpp.
|
explicit |
Default constructor.
Definition at line 107 of file RtclRw11Cpu.cpp.
References Retro::RtclGetList::Add(), Retro::RtclCmdBase::AddMeth(), ControllerCommands(), fGets, M_add(), M_boot(), M_cp(), M_default(), M_deposit(), M_dump(), M_examine(), M_get(), M_imap(), M_ldabs(), M_ldasm(), M_lsmem(), M_rmap(), M_set(), M_show(), M_stats(), and M_wtcpu().
|
virtual |
Destructor.
Definition at line 136 of file RtclRw11Cpu.cpp.
|
pure virtual |
Implemented in Retro::RtclRw11CpuBase< TO >, and Retro::RtclRw11CpuBase< Rw11CpuW11a >.
Referenced by Connect(), ControllerCommands(), Retro::RtclRw11CntlDEUNA::FactoryCmdConfig(), Retro::RtclRw11CntlDL11::FactoryCmdConfig(), Retro::RtclRw11CntlDZ11::FactoryCmdConfig(), Retro::RtclRw11CntlLP11::FactoryCmdConfig(), Retro::RtclRw11CntlPC11::FactoryCmdConfig(), Retro::RtclRw11CntlRHRP::FactoryCmdConfig(), Retro::RtclRw11CntlRK11::FactoryCmdConfig(), Retro::RtclRw11CntlRL11::FactoryCmdConfig(), Retro::RtclRw11CntlTM11::FactoryCmdConfig(), GetIAddr(), GetRAddr(), M_boot(), M_cp(), M_default(), M_deposit(), M_dump(), M_examine(), M_get(), M_imap(), M_ldabs(), M_ldasm(), M_lsmem(), M_rmap(), M_set(), M_show(), M_stats(), M_wtcpu(), Server(), and SetupGetSet().
|
protected |
FIXME_docs.
Definition at line 142 of file RtclRw11Cpu.cpp.
References Retro::RtclRw11CntlFactory().
Referenced by RtclRw11Cpu().
|
protected |
FIXME_docs.
Definition at line 150 of file RtclRw11Cpu.cpp.
References Retro::RtclArgs::AllDone(), Retro::RlinkAddrMap::Amap(), Retro::RtclArgs::AppendResultLines(), Retro::RlinkAddrMap::Find(), Retro::RtclArgs::GetArg(), Retro::Rw11Cpu::IAddrMap(), Retro::Rw11Cpu::IAddrMapInsert(), Retro::RtclCmdBase::kERR, Retro::RtclCmdBase::kOK, Retro::RtclArgs::NDone(), Retro::RtclArgs::NextOpt(), Retro::RtclArgs::NOptMiss(), Obj(), Retro::RtclArgs::OptValid(), Retro::RtclArgs::PeekArgString(), Retro::RlinkAddrMap::Print(), Retro::RtclArgs::Quit(), and Retro::RtclArgs::SetResult().
Referenced by RtclRw11Cpu().
|
protected |
FIXME_docs.
Definition at line 250 of file RtclRw11Cpu.cpp.
References Retro::RlinkConnect::AddrMap(), Retro::RtclArgs::AllDone(), Retro::RlinkAddrMap::Amap(), Retro::RtclArgs::AppendResultLines(), Connect(), Retro::RlinkAddrMap::Find(), Retro::RtclArgs::GetArg(), Retro::RtclCmdBase::kERR, Retro::RtclCmdBase::kOK, Retro::RtclArgs::NDone(), Retro::RtclArgs::NextOpt(), Retro::RtclArgs::NOptMiss(), Obj(), Retro::RtclArgs::OptValid(), Retro::RtclArgs::PeekArgString(), Retro::RlinkAddrMap::Print(), Retro::RtclArgs::Quit(), Retro::Rw11Cpu::RAddrMap(), Retro::Rw11Cpu::RAddrMapInsert(), and Retro::RtclArgs::SetResult().
Referenced by RtclRw11Cpu().
|
protected |
FIXME_docs.
Definition at line 355 of file RtclRw11Cpu.cpp.
References Retro::RlinkCommandList::AddAttn(), Retro::RlinkCommandList::AddInit(), Retro::RlinkCommandList::AddLabo(), Retro::Rw11Cpu::AddMembe(), Retro::Rw11Cpu::AddRbibr(), Retro::RlinkCommandList::AddRblk(), Retro::Rw11Cpu::AddRibr(), Retro::RlinkCommandList::AddRreg(), Retro::Rw11Cpu::AddWbibr(), Retro::RlinkCommandList::AddWblk(), Retro::Rw11Cpu::AddWibr(), Retro::RlinkCommandList::AddWreg(), Retro::RtclArgs::AllDone(), Retro::RtclArgs::AppendResult(), Retro::Rw11Cpu::Base(), Retro::RlinkCommand::Block(), Retro::RlinkCommand::BlockDone(), ClistNonEmpty(), Retro::RlinkCommand::Command(), Connect(), Retro::RlinkCommand::Data(), Retro::RlinkCommandList::Dump(), Retro::RtclArgs::GetArg(), GetIAddr(), GetRAddr(), GetVarName(), Retro::RtclArgs::Interp(), Retro::RlinkCommand::kCmdAttn, Retro::RlinkCommand::kCmdLabo, Retro::RlinkCommand::kCmdRblk, Retro::RlinkCommand::kCmdRreg, Retro::RlinkCommand::kCmdWblk, Retro::Rw11Cpu::kCPAH, Retro::Rw11Cpu::kCPAH_M_22BIT, Retro::Rw11Cpu::kCPAH_M_UBM22, Retro::Rw11Cpu::kCPAL, Retro::Rw11Cpu::kCPCNTL, Retro::Rw11Cpu::kCPCONF, Retro::Rw11Cpu::kCPFUNC_BRESET, Retro::Rw11Cpu::kCPFUNC_CRESET, Retro::Rw11Cpu::kCPFUNC_RESUME, Retro::Rw11Cpu::kCPFUNC_START, Retro::Rw11Cpu::kCPFUNC_STEP, Retro::Rw11Cpu::kCPFUNC_STOP, Retro::Rw11Cpu::kCPFUNC_SUSPEND, Retro::Rw11Cpu::kCPMEM, Retro::Rw11Cpu::kCPMEMBE, Retro::Rw11Cpu::kCPMEMI, Retro::Rw11Cpu::kCPPC, Retro::Rw11Cpu::kCPPSW, Retro::Rw11Cpu::kCPR0, Retro::Rw11Cpu::kCPSTAT, Retro::RtclCmdBase::kERR, Retro::RtclCmdBase::kOK, Retro::Rw11Cpu::kStat_M_CmdErr, Retro::Rw11Cpu::kStat_M_CmdMErr, Retro::RlinkCommand::kStat_M_RbErr, Retro::RlinkCommand::kStat_M_RbNak, Retro::RlinkCommand::kStat_M_RbTout, Retro::Rtcl::NewLinesObj(), Retro::Rtcl::NewListIntObj(), Retro::RtclArgs::NextOpt(), Retro::RtclArgs::NextSubOpt(), Obj(), Retro::RtclArgs::OptValid(), Retro::RlinkCommandList::Print(), Retro::RtclArgs::Quit(), Retro::Rw11Cpu::SetCpuActUp(), Retro::RlinkCommandList::SetLastExpectBlock(), Retro::RlinkCommandList::SetLastExpectData(), Retro::RlinkCommandList::SetLastExpectDone(), Retro::RlinkCommandList::SetLastExpectStatus(), Retro::Rtcl::SetVar(), Retro::Rtcl::SetVarOrResult(), Retro::RlinkCommandList::Size(), and Retro::RlinkCommand::Status().
Referenced by RtclRw11Cpu().
|
protected |
FIXME_docs.
Definition at line 834 of file RtclRw11Cpu.cpp.
References Retro::RlinkCommandList::AddAttn(), Retro::RlinkCommandList::AddWreg(), Retro::RtclArgs::AllDone(), Retro::Rw11Cpu::Base(), Connect(), Retro::RlinkConnect::Context(), Retro::RtclArgs::GetArg(), Retro::RlinkContext::IncErrorCount(), Retro::Rw11Cpu::kCPCNTL, Retro::Rw11Cpu::kCPFUNC_STOP, Retro::RtclCmdBase::kERR, Retro::Rw11::kLam, Retro::RtclCmdBase::kOK, Retro::RtclArgs::NextOpt(), Obj(), Retro::RtclArgs::OptValid(), Retro::RtclArgs::Quit(), Retro::RosPrintf(), Server(), Retro::RtclArgs::SetResult(), Retro::RlinkConnect::WaitAttn(), and Retro::Rw11Cpu::WaitCpuActDown().
Referenced by RtclRw11Cpu().
|
protected |
FIXME_docs.
Definition at line 906 of file RtclRw11Cpu.cpp.
References Retro::RtclArgs::AllDone(), Retro::RtclArgs::GetArg(), Retro::RtclCmdBase::kERR, Retro::RtclCmdBase::kOK, Obj(), and Retro::RtclArgs::Quit().
Referenced by RtclRw11Cpu().
|
protected |
FIXME_docs.
Definition at line 924 of file RtclRw11Cpu.cpp.
References Retro::RtclArgs::AllDone(), Retro::RtclArgs::GetArg(), Retro::RtclCmdBase::kERR, Retro::RtclCmdBase::kOK, Retro::Rtcl::NewListIntObj(), Obj(), Retro::RtclArgs::Quit(), and Retro::RtclArgs::SetResult().
Referenced by RtclRw11Cpu().
|
protected |
FIXME_docs.
Definition at line 943 of file RtclRw11Cpu.cpp.
References Retro::RtclArgs::AllDone(), Retro::RtclArgs::GetArg(), Retro::RtclCmdBase::kERR, Retro::RtclCmdBase::kOK, Retro::Rw11Cpu::MemRead(), Obj(), Retro::RtclArgs::Quit(), and Retro::RtclArgs::SetResult().
Referenced by RtclRw11Cpu().
|
protected |
FIXME_docs.
Definition at line 971 of file RtclRw11Cpu.cpp.
References Retro::RtclArgs::AllDone(), Retro::RtclArgs::GetArg(), Retro::RtclArgs::Interp(), Retro::RtclCmdBase::kERR, Retro::RtclCmdBase::kOK, Retro::RtclArgs::NextOpt(), Obj(), Retro::RtclArgs::OptValid(), Retro::RtclArgs::Quit(), and Retro::Rtcl::SetVar().
Referenced by RtclRw11Cpu().
|
protected |
FIXME_docs.
Definition at line 1002 of file RtclRw11Cpu.cpp.
References Retro::RtclArgs::AllDone(), Retro::RtclArgs::AppendResultLines(), Retro::RlinkConnect::BlockSizeMax(), Connect(), Retro::RtclArgs::GetArg(), Retro::RtclArgs::Interp(), Retro::RtclCmdBase::kERR, Retro::RtclCmdBase::kOK, Retro::Rw11Cpu::MemWrite(), Retro::Rtcl::NewLinesObj(), Retro::RtclArgs::NextOpt(), Obj(), Retro::RtclArgs::OptValid(), Retro::RtclArgs::Quit(), and Retro::Rtcl::SetVar().
Referenced by RtclRw11Cpu().
|
protected |
FIXME_docs.
Definition at line 1256 of file RtclRw11Cpu.cpp.
References Retro::RtclArgs::AllDone(), Retro::RtclArgs::GetArg(), Retro::RtclCmdBase::kERR, Retro::RtclCmdBase::kOK, Obj(), and Retro::RtclArgs::Quit().
Referenced by RtclRw11Cpu().
|
protected |
FIXME_docs.
Definition at line 1269 of file RtclRw11Cpu.cpp.
References Connect(), fGets, Retro::RtclGetList::M_get(), and Obj().
Referenced by RtclRw11Cpu().
|
protected |
FIXME_docs.
Definition at line 1279 of file RtclRw11Cpu.cpp.
References Connect(), fSets, Retro::RtclSetList::M_set(), and Obj().
Referenced by RtclRw11Cpu().
|
protected |
FIXME_docs.
Definition at line 1289 of file RtclRw11Cpu.cpp.
References Retro::RlinkCommandList::AddRblk(), Retro::RlinkCommandList::AddRreg(), Retro::RlinkCommandList::AddWreg(), Retro::RtclArgs::AllDone(), Retro::Rw11Cpu::Base(), Retro::RlinkCommandList::Clear(), Connect(), Retro::RlinkServer::Exec(), Retro::Rw11Cpu::kCPAL, Retro::Rw11Cpu::kCPMEMI, Retro::Rw11Cpu::kCPPC, Retro::Rw11Cpu::kCPPSW, Retro::Rw11Cpu::kCPR0, Retro::Rw11Cpu::kCPSTAT, Retro::Rw11Cpu::kCPUUBMAP, Retro::RtclCmdBase::kERR, Retro::Rw11Cpu::kMMUMMR0, Retro::Rw11Cpu::kMMUMMR3, Retro::Rw11Cpu::kMMUPDRK, Retro::Rw11Cpu::kMMUPDRS, Retro::Rw11Cpu::kMMUPDRU, Retro::RtclCmdBase::kOK, Retro::RtclArgs::NextOpt(), Obj(), Retro::RtclArgs::Quit(), Retro::RosPrintf(), Server(), and Retro::RtclArgs::SetResult().
Referenced by RtclRw11Cpu().
|
protected |
FIXME_docs.
Definition at line 1496 of file RtclRw11Cpu.cpp.
References Retro::RtclStats::Exec(), Retro::RtclStats::GetArgs(), Retro::RtclCmdBase::kERR, Retro::RtclCmdBase::kOK, and Obj().
Referenced by RtclRw11Cpu().
|
protected |
FIXME_docs.
Definition at line 1507 of file RtclRw11Cpu.cpp.
References Retro::RtclArgs::AllDone(), Retro::Rw11Cpu::Dump(), Retro::RtclCmdBase::GetArgsDump(), Retro::RtclCmdBase::kERR, Retro::RtclCmdBase::kOK, Obj(), and Retro::RtclArgs::SetResult().
Referenced by RtclRw11Cpu().
|
protected |
FIXME_docs.
Definition at line 1522 of file RtclRw11Cpu.cpp.
References Retro::RtclArgs::AllDone(), Retro::RtclArgs::AppendResultLines(), Retro::Rw11Unit::AttachUrl(), Retro::Rw11Cntl::Base(), Retro::Rw11Cntl::Enable(), Retro::Rw11Probe::Found(), Retro::Rw11Probe::IndicatorInt(), Retro::Rw11Probe::IndicatorRem(), Retro::Rw11Unit::IsAttached(), Retro::Rw11Cntl::IsStarted(), Retro::RtclCmdBase::kERR, Retro::RtclCmdBase::kOK, Retro::Rw11Cntl::Lam(), Retro::Rw11Cpu::ListCntl(), Retro::Rw11Cntl::Name(), Retro::Rw11Unit::Name(), Retro::Rw11Cntl::NUnit(), Obj(), Retro::Rw11Cntl::ProbeStatus(), Retro::RosPrintf(), Retro::Rw11Cntl::Type(), and Retro::Rw11Cntl::UnitBase().
Referenced by RtclRw11Cpu().
|
protected |
FIXME_docs.
Definition at line 1567 of file RtclRw11Cpu.cpp.
References Retro::RtclGetList::Add(), Retro::Rw11Cpu::Base(), fGets, Retro::Rw11Cpu::HasCmon(), Retro::Rw11Cpu::HasHbpt(), Retro::Rw11Cpu::HasIbmon(), Retro::Rw11Cpu::HasIbtst(), Retro::Rw11Cpu::HasIist(), Retro::Rw11Cpu::HasKw11l(), Retro::Rw11Cpu::HasKw11p(), Retro::Rw11Cpu::HasM9312(), Retro::Rw11Cpu::HasPcnt(), Retro::Rw11Cpu::HasScnt(), Retro::Rw11Cpu::IBase(), Retro::Rw11Cpu::Index(), Retro::Rw11Cpu::MemSize(), Obj(), and Retro::Rw11Cpu::Type().
Referenced by Retro::RtclRw11CpuW11a::SetupGetSet().
|
inlineprotected |
FIXME_docs.
Definition at line 21 of file RtclRw11Cpu.ipp.
References Obj(), and Retro::Rw11Cpu::Server().
|
inlineprotected |
FIXME_docs.
Definition at line 29 of file RtclRw11Cpu.ipp.
References Retro::Rw11Cpu::Connect(), and Obj().
Referenced by GetRAddr(), M_cp(), M_get(), M_ldasm(), M_rmap(), M_set(), M_show(), and M_wtcpu().
|
protected |
FIXME_docs.
Definition at line 1591 of file RtclRw11Cpu.cpp.
References Retro::RtclArgs::AppendResult(), Retro::RtclArgs::GetArg(), Retro::RtclCmdBase::kERR, Retro::RtclCmdBase::kOK, and Obj().
Referenced by M_cp().
|
protected |
FIXME_docs.
Definition at line 1626 of file RtclRw11Cpu.cpp.
References Retro::RtclArgs::AppendResult(), Connect(), Retro::RtclArgs::GetArg(), Retro::RtclCmdBase::kERR, Retro::RtclCmdBase::kOK, and Obj().
Referenced by M_cp().
|
protected |
FIXME_docs.
Definition at line 1663 of file RtclRw11Cpu.cpp.
References Retro::RtclArgs::AppendResult(), and Retro::RtclArgs::GetArg().
Referenced by M_cp().
|
protected |
FIXME_docs.
Definition at line 1686 of file RtclRw11Cpu.cpp.
References Retro::RtclArgs::AppendResult(), and Retro::RlinkCommandList::Size().
Referenced by M_cp().
|
protected |
FIXME_docs.
Definition at line 1699 of file RtclRw11Cpu.cpp.
References Retro::RtclProxyBase::CommandName(), Retro::Rw11Cpu::ListCntl(), and Obj().
Referenced by RtclRw11Cpu().
|
protected |
Definition at line 79 of file RtclRw11Cpu.hpp.
Referenced by M_get(), RtclRw11Cpu(), and SetupGetSet().
|
protected |
Definition at line 80 of file RtclRw11Cpu.hpp.
Referenced by M_set().