w11 - cpp 0.794
Backend server for Rlink and w11
|
FIXME_docs. More...
#include <Rw11Cpu.hpp>
Public Types | |
typedef std::map< std::string, std::shared_ptr< Rw11Cntl > > | cmap_t |
Public Member Functions | |
Rw11Cpu (const std::string &type) | |
Constructor. | |
virtual | ~Rw11Cpu () |
Destructor. | |
Rw11Cpu (const Rw11Cpu &)=delete | |
Rw11Cpu & | operator= (const Rw11Cpu &)=delete |
void | Setup (Rw11 *pw11) |
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. | |
size_t | Index () const |
FIXME_docs. | |
uint16_t | Base () const |
FIXME_docs. | |
uint16_t | IBase () const |
FIXME_docs. | |
uint32_t | MemSize () const |
FIXME_docs. | |
bool | HasScnt () const |
FIXME_docs. | |
bool | HasPcnt () const |
FIXME_docs. | |
bool | HasCmon () const |
FIXME_docs. | |
uint16_t | HasHbpt () const |
FIXME_docs. | |
bool | HasIbmon () const |
FIXME_docs. | |
bool | HasIbtst () const |
FIXME_docs. | |
bool | HasM9312 () const |
FIXME_docs. | |
bool | HasKw11l () const |
FIXME_docs. | |
bool | HasKw11p () const |
FIXME_docs. | |
bool | HasIist () const |
FIXME_docs. | |
void | AddCntl (const std::shared_ptr< Rw11Cntl > &spcntl) |
FIXME_docs. | |
bool | TestCntl (const std::string &name) const |
FIXME_docs. | |
void | ListCntl (std::vector< std::string > &list) const |
FIXME_docs. | |
Rw11Cntl & | Cntl (const std::string &name) const |
FIXME_docs. | |
void | Start () |
FIXME_docs. | |
std::string | NextCntlName (const std::string &base) const |
FIXME_docs. | |
int | AddMembe (RlinkCommandList &clist, uint16_t be, bool stick=false) |
FIXME_docs. | |
int | AddRibr (RlinkCommandList &clist, uint16_t ibaddr) |
FIXME_docs. | |
int | AddWibr (RlinkCommandList &clist, uint16_t ibaddr, uint16_t data) |
FIXME_docs. | |
int | AddRbibr (RlinkCommandList &clist, uint16_t ibaddr, size_t size) |
FIXME_docs. | |
int | AddWbibr (RlinkCommandList &clist, uint16_t ibaddr, const std::vector< uint16_t > &block) |
FIXME_docs. | |
int | AddWbibr (RlinkCommandList &clist, uint16_t ibaddr, std::vector< uint16_t > &&block) |
FIXME_docs. | |
int | AddLalh (RlinkCommandList &clist, uint32_t addr, uint16_t mode=kCPAH_M_22BIT) |
FIXME_docs. | |
void | ModLalh (RlinkCommandList &clist, size_t ind, uint32_t addr, uint16_t mode=kCPAH_M_22BIT) |
FIXME_docs. | |
int | AddRMem (RlinkCommandList &clist, uint32_t addr, uint16_t *buf, size_t size, uint16_t mode=kCPAH_M_22BIT, bool singleblk=false) |
FIXME_docs. | |
int | AddWMem (RlinkCommandList &clist, uint32_t addr, const uint16_t *buf, size_t size, uint16_t mode=kCPAH_M_22BIT, bool singleblk=false) |
FIXME_docs. | |
void | ExecWibr (uint16_t ibaddr0, uint16_t data0, uint16_t ibaddr1=0, uint16_t data1=0, uint16_t ibaddr2=0, uint16_t data2=0) |
FIXME_docs. | |
uint16_t | ExecRibr (uint16_t ibaddr) |
FIXME_docs. | |
bool | MemRead (uint16_t addr, std::vector< uint16_t > &data, size_t nword, RerrMsg &emsg) |
FIXME_docs. | |
bool | MemWrite (uint16_t addr, const std::vector< uint16_t > &data, RerrMsg &emsg) |
FIXME_docs. | |
bool | MemWriteByte (uint32_t addr, uint8_t data, RerrMsg &emsg) |
FIXME_docs. | |
bool | ProbeCntl (Rw11Probe &dsc) |
FIXME_docs. | |
bool | LoadAbs (const std::string &fname, RerrMsg &emsg, uint16_t &start, bool trace=false) |
FIXME_docs. | |
bool | Boot (const std::string &uname, RerrMsg &emsg) |
FIXME_docs. | |
void | SetCpuActUp () |
FIXME_docs. | |
void | SetCpuActDown (uint16_t stat) |
FIXME_docs. | |
int | WaitCpuActDown (const Rtime &tout, Rtime &twait) |
FIXME_docs. | |
bool | CpuAct () const |
FIXME_docs. | |
uint16_t | CpuStat () const |
FIXME_docs. | |
uint16_t | IbusRemoteAddr (uint16_t ibaddr) const |
FIXME_docs. | |
void | AllIAddrMapInsert (const std::string &name, uint16_t ibaddr) |
FIXME_docs. | |
void | AllRAddrMapInsert (const std::string &name, uint16_t rbaddr) |
FIXME_docs. | |
bool | IAddrMapInsert (const std::string &name, uint16_t ibaddr) |
FIXME_docs. | |
bool | IAddrMapErase (const std::string &name) |
FIXME_docs. | |
bool | IAddrMapErase (uint16_t ibaddr) |
FIXME_docs. | |
void | IAddrMapClear () |
FIXME_docs. | |
const RlinkAddrMap & | IAddrMap () const |
FIXME_docs. | |
bool | RAddrMapInsert (const std::string &name, uint16_t rbaddr) |
FIXME_docs. | |
bool | RAddrMapErase (const std::string &name) |
FIXME_docs. | |
bool | RAddrMapErase (uint16_t rbaddr) |
FIXME_docs. | |
void | RAddrMapClear () |
FIXME_docs. | |
const RlinkAddrMap & | RAddrMap () const |
FIXME_docs. | |
void | W11AttnHandler () |
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 | kCPCONF = 0x0000 |
CPCONF reg offset. | |
static const uint16_t | kCPCNTL = 0x0001 |
CPADDR reg offset. | |
static const uint16_t | kCPSTAT = 0x0002 |
CPSTAT reg offset. | |
static const uint16_t | kCPPSW = 0x0003 |
CPPSW reg offset. | |
static const uint16_t | kCPAL = 0x0004 |
CPAL reg offset. | |
static const uint16_t | kCPAH = 0x0005 |
CPAH reg offset. | |
static const uint16_t | kCPMEM = 0x0006 |
CPMEM reg offset. | |
static const uint16_t | kCPMEMI = 0x0007 |
CPMEMI reg offset. | |
static const uint16_t | kCPR0 = 0x0008 |
CPR0 reg offset. | |
static const uint16_t | kCPPC = 0x000f |
CPPC reg offset. | |
static const uint16_t | kCPMEMBE = 0x0010 |
CPMEMBE reg offset. | |
static const uint16_t | kCPFUNC_NOOP = 0x0000 |
NOOP func code. | |
static const uint16_t | kCPFUNC_START = 0x0001 |
START func code. | |
static const uint16_t | kCPFUNC_STOP = 0x0002 |
STOP func code. | |
static const uint16_t | kCPFUNC_STEP = 0x0003 |
STEP func code. | |
static const uint16_t | kCPFUNC_CRESET = 0x0004 |
CRESET func code. | |
static const uint16_t | kCPFUNC_BRESET = 0x0005 |
BRESET func code. | |
static const uint16_t | kCPFUNC_SUSPEND = 0x0006 |
SUSPEND func code. | |
static const uint16_t | kCPFUNC_RESUME = 0x0007 |
RESUME func code. | |
static const uint16_t | kCPSTAT_M_SuspExt = kWBit09 |
suspext mask | |
static const uint16_t | kCPSTAT_M_SuspInt = kWBit08 |
suspint mask | |
static const uint16_t | kCPSTAT_M_CpuRust = 0x00f0 |
cpurust mask | |
static const uint16_t | kCPSTAT_V_CpuRust = 4 |
cpurust shift | |
static const uint16_t | kCPSTAT_B_CpuRust = 0x000f |
cpurust bit mask | |
static const uint16_t | kCPSTAT_M_CpuSusp = kWBit03 |
cpususp mask | |
static const uint16_t | kCPSTAT_M_CpuGo = kWBit02 |
cpugo mask | |
static const uint16_t | kCPSTAT_M_CmdMErr = kWBit01 |
cmdmerr mask | |
static const uint16_t | kCPSTAT_M_CmdErr = kWBit00 |
cmderr mask | |
static const uint16_t | kCPURUST_INIT = 0x0 |
cpu in init state | |
static const uint16_t | kCPURUST_HALT = 0x1 |
cpu executed HALT | |
static const uint16_t | kCPURUST_RESET = 0x2 |
cpu was reset | |
static const uint16_t | kCPURUST_STOP = 0x3 |
cpu was stopped | |
static const uint16_t | kCPURUST_STEP = 0x4 |
cpu was stepped | |
static const uint16_t | kCPURUST_SUSP = 0x5 |
cpu was suspended | |
static const uint16_t | kCPURUST_HBPT = 0x6 |
cpu hardware bpt | |
static const uint16_t | kCPURUST_RUNS = 0x7 |
cpu running | |
static const uint16_t | kCPURUST_VECFET = 0x8 |
vector fetch halt | |
static const uint16_t | kCPURUST_RECRSV = 0x9 |
rec red-stack halt | |
static const uint16_t | kCPURUST_SFAIL = 0xa |
sequencer failure | |
static const uint16_t | kCPURUST_VFAIL = 0xb |
vmbox failure | |
static const uint16_t | kCPAH_M_ADDR = 0x003f |
mask for 6bit msb | |
static const uint16_t | kCPAH_M_22BIT = kWBit06 |
ena 22bit addressing | |
static const uint16_t | kCPAH_M_UBMAP = kWBit07 |
ena ubmap | |
static const uint16_t | kCPAH_M_UBM22 = kWBit06|kWBit07 |
ubmap+22bit | |
static const uint16_t | kCPMEMBE_M_STICK = kWBit02 |
membe: sticky flag | |
static const uint16_t | kCPMEMBE_M_BE = 0x0003 |
membe: be field | |
static const uint16_t | kCPMEMBE_M_BE0 = 0x0001 |
membe: be0 flag | |
static const uint16_t | kCPMEMBE_M_BE1 = 0x0002 |
membe: be1 flag | |
static const uint8_t | kStat_M_CmdErr = kBBit07 |
stat: cmderr flag | |
static const uint8_t | kStat_M_CmdMErr = kBBit06 |
stat: cmdmerr flag | |
static const uint8_t | kStat_M_CpuSusp = kBBit05 |
stat: cpususp flag | |
static const uint8_t | kStat_M_CpuGo = kBBit04 |
stat: cpugo flag | |
static const uint16_t | kCPUPSW = 0177776 |
CPU PSW address. | |
static const uint16_t | kCPUSTKLIM = 0177774 |
CPU STKLIM address. | |
static const uint16_t | kCPUPIRQ = 0177772 |
CPU PIRQ address. | |
static const uint16_t | kCPUMBRK = 0177770 |
CPU MBRK address. | |
static const uint16_t | kCPUERR = 0177766 |
CPU CPUERR address. | |
static const uint16_t | kCPUSYSID = 0177764 |
CPU SYSID address. | |
static const uint16_t | kCPUSDREG = 0177570 |
CPU SDREG address. | |
static const uint16_t | kCPUUBMAP = 0170200 |
UBMAP base address. | |
static const uint16_t | kMEMHISIZE = 0177762 |
MEM HISIZE address. | |
static const uint16_t | kMEMLOSIZE = 0177760 |
MEM LOSIZE address. | |
static const uint16_t | kMEMHM = 0177752 |
MEM HM address. | |
static const uint16_t | kMEMMAINT = 0177750 |
MEM MAINT address. | |
static const uint16_t | kMEMCNTRL = 0177746 |
MEM CNTRL address. | |
static const uint16_t | kMEMSYSERR = 0177744 |
MEM SYSERR address. | |
static const uint16_t | kMEMHIADDR = 0177742 |
MEM HIADDR address. | |
static const uint16_t | kMEMLOADDR = 0177740 |
MEM LOADDR address. | |
static const uint16_t | kMMUMMR3 = 0172516 |
MMU MMR3 address. | |
static const uint16_t | kMMUMMR2 = 0177576 |
MMU MMR2 address. | |
static const uint16_t | kMMUMMR1 = 0177574 |
MMU MMR1 address. | |
static const uint16_t | kMMUMMR0 = 0177572 |
MMU MMR0 address. | |
static const uint16_t | kMMUPDRK = 0172300 |
MMU PDRK address. | |
static const uint16_t | kMMUPARK = 0172340 |
MMU PARK address. | |
static const uint16_t | kMMUPDRS = 0172200 |
MMU PDRS address. | |
static const uint16_t | kMMUPARS = 0172240 |
MMU PARS address. | |
static const uint16_t | kMMUPDRU = 0177600 |
MMU PDRU address. | |
static const uint16_t | kMMUPARU = 0177640 |
MMU PARU address. | |
static const uint16_t | kSCBASE = 0x0040 |
DMSCNT reg base offset. | |
static const uint16_t | kSCCNTL = 0x0000 |
SC.CNTL reg offset. | |
static const uint16_t | kSCADDR = 0x0001 |
SC.ADDR reg offset. | |
static const uint16_t | kSCDATA = 0x0002 |
SC.DATA reg offset. | |
static const uint16_t | kCMBASE = 0x0048 |
DMCMON reg base offset. | |
static const uint16_t | kCMCNTL = 0x0000 |
CM.CNTL reg offset. | |
static const uint16_t | kCMSTAT = 0x0001 |
CM.STAT reg offset. | |
static const uint16_t | kCMADDR = 0x0002 |
CM.ADDR reg offset. | |
static const uint16_t | kCMDATA = 0x0003 |
CM.DATA reg offset. | |
static const uint16_t | kCMIADDR = 0x0004 |
CM.IADDR reg offset. | |
static const uint16_t | kCMIPC = 0x0005 |
CM.IPC reg offset. | |
static const uint16_t | kCMIREG = 0x0006 |
CM.IREG reg offset. | |
static const uint16_t | kCMIMAL = 0x0007 |
CM.IMAL reg offset. | |
static const uint16_t | kHBBASE = 0x0050 |
DMHBPT reg base offset. | |
static const uint16_t | kHBSIZE = 0x0004 |
DMHBPT unit size. | |
static const uint16_t | kHBNMAX = 0x0004 |
DMHBPT max number units. | |
static const uint16_t | kHBCNTL = 0x0000 |
HB.CNTL reg offset. | |
static const uint16_t | kHBSTAT = 0x0001 |
HB.STAT reg offset. | |
static const uint16_t | kHBHILIM = 0x0002 |
HB.HILIM reg offset. | |
static const uint16_t | kHBLOLIM = 0x0003 |
HB.LOLIM reg offset. | |
static const uint16_t | kPCBASE = 0x0060 |
DMPCNT reg base offset. | |
static const uint16_t | kPCCNTL = 0x0000 |
PC.CNTL reg offset. | |
static const uint16_t | kPCSTAT = 0x0001 |
PC.STAT reg offset. | |
static const uint16_t | kPCDATA = 0x0002 |
PC.DATA reg offset. | |
static const uint16_t | kIMBASE = 0160000 |
Ibmon ibus address. | |
static const uint16_t | kIMCNTL = 0x0000 |
IM.CNTL reg offset. | |
static const uint16_t | kIMSTAT = 0x0002 |
IM.STAT reg offset. | |
static const uint16_t | kIMHILIM = 0x0004 |
IM.HILIM reg offset. | |
static const uint16_t | kIMLOLIM = 0x0006 |
IM.LOLIM reg offset. | |
static const uint16_t | kIMADDR = 0x0008 |
IM.ADDR reg offset. | |
static const uint16_t | kIMDATA = 0x000a |
IM.DATA reg offset. | |
static const uint16_t | kITBASE = 0170000 |
Ibtst ibus address. | |
static const uint16_t | kITCNTL = 0x0000 |
IT.CNTL reg offset. | |
static const uint16_t | kITSTAT = 0x0002 |
IT.STAT reg offset. | |
static const uint16_t | kITDATA = 0x0004 |
IT.DATA reg offset. | |
static const uint16_t | kITFIFO = 0x0006 |
IT.FIFO reg offset. | |
static const uint16_t | kM9BASE = 0165000 |
M9312 ibus address. | |
static const uint16_t | kKWLBASE = 0177546 |
KW11-L ibus address. | |
static const uint16_t | kKWPBASE = 0172540 |
KW11-P ibus address. | |
static const uint16_t | kKWPCSR = 0x0000 |
KWP.CSR reg offset. | |
static const uint16_t | kKWPCSB = 0x0002 |
KWP.CSB reg offset. | |
static const uint16_t | kKWPCTR = 0x0004 |
KWP.CTR reg offset. | |
static const uint16_t | kIISTBASE = 0177500 |
IIST ibus address. | |
static const uint16_t | kIISTACR = 0x0000 |
II.ACR reg offset. | |
static const uint16_t | kIISTADR = 0x0002 |
II.ADR reg offset. | |
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 | |
void | SetupStd () |
FIXME_docs. | |
void | SetupOpt () |
FIXME_docs. | |
Protected Attributes | |
Rw11 * | fpW11 |
std::string | fType |
size_t | fIndex |
uint16_t | fBase |
uint16_t | fIBase |
uint32_t | fMemSize |
memory size in byte | |
bool | fHasScnt |
has dmscnt (state counter) | |
bool | fHasPcnt |
has dmpcnt (perf counters) | |
bool | fHasCmon |
has dmcmon (cpu monitor) | |
uint16_t | fHasHbpt |
has dmhbpt (hardware breakpoint) | |
bool | fHasIbmon |
has ibmon (ibus monitor) | |
bool | fHasIbtst |
has ibtst (ibus tester) | |
bool | fHasM9312 |
has m9312 (boot rom) | |
bool | fHasKw11l |
has kw11-l (line clock) | |
bool | fHasKw11p |
has kw11-p (prog clock) | |
bool | fHasIist |
has iist (smp comm) | |
bool | fCpuAct |
uint16_t | fCpuStat |
std::mutex | fCpuActMutex |
std::condition_variable | fCpuActCond |
cmap_t | fCntlMap |
name->cntl map | |
RlinkAddrMap | fIAddrMap |
ibus name<->address mapping | |
RlinkAddrMap | fRAddrMap |
rbus name<->address mapping | |
Rstats | fStats |
statistics | |
Private Member Functions | |
Rw11Cpu () | |
default ctor blocker | |
FIXME_docs.
Definition at line 66 of file Rw11Cpu.hpp.
typedef std::map<std::string, std::shared_ptr<Rw11Cntl> > Retro::Rw11Cpu::cmap_t |
Definition at line 68 of file Rw11Cpu.hpp.
|
explicit |
Constructor.
Definition at line 219 of file Rw11Cpu.cpp.
|
virtual |
Destructor.
Definition at line 249 of file Rw11Cpu.cpp.
|
delete |
|
inlineprivate |
default ctor blocker
Definition at line 331 of file Rw11Cpu.hpp.
void Retro::Rw11Cpu::Setup | ( | Rw11 * | pw11 | ) |
FIXME_docs.
Definition at line 255 of file Rw11Cpu.cpp.
References fpW11, SetupOpt(), and SetupStd().
|
inline |
FIXME_docs.
Definition at line 30 of file Rw11Cpu.ipp.
References fpW11.
Referenced by Retro::Rw11Cntl::W11().
|
inline |
FIXME_docs.
Definition at line 38 of file Rw11Cpu.ipp.
References fpW11, and Retro::Rw11::Server().
Referenced by Boot(), ExecRibr(), ExecWibr(), MemRead(), MemWrite(), MemWriteByte(), ProbeCntl(), Retro::RtclRw11Cpu::Server(), Retro::Rw11Cntl::Server(), and W11AttnHandler().
|
inline |
FIXME_docs.
Definition at line 46 of file Rw11Cpu.ipp.
References Retro::Rw11::Connect(), and fpW11.
Referenced by AddRMem(), AddWMem(), AllIAddrMapInsert(), AllRAddrMapInsert(), Retro::RtclRw11Cpu::Connect(), Retro::Rw11Cntl::Connect(), LoadAbs(), MemRead(), MemWrite(), and SetupOpt().
|
inline |
FIXME_docs.
Definition at line 54 of file Rw11Cpu.ipp.
References fpW11, and Retro::Rw11::LogFile().
Referenced by LoadAbs(), and Retro::Rw11Cntl::LogFile().
|
inline |
FIXME_docs.
Definition at line 62 of file Rw11Cpu.ipp.
References fType.
Referenced by Retro::RtclRw11::M_default(), and Retro::RtclRw11Cpu::SetupGetSet().
|
inline |
FIXME_docs.
Definition at line 70 of file Rw11Cpu.ipp.
References fIndex.
Referenced by AllIAddrMapInsert(), AllRAddrMapInsert(), and Retro::RtclRw11Cpu::SetupGetSet().
|
inline |
FIXME_docs.
Definition at line 78 of file Rw11Cpu.ipp.
References fBase.
Referenced by Retro::RtclRw11Cpu::M_cp(), Retro::RtclRw11::M_default(), Retro::RtclRw11Cpu::M_show(), Retro::RtclRw11Cpu::M_wtcpu(), Retro::RtclRw11Cpu::SetupGetSet(), SetupOpt(), and SetupStd().
|
inline |
FIXME_docs.
Definition at line 86 of file Rw11Cpu.ipp.
References fIBase.
Referenced by Retro::RtclRw11Cpu::SetupGetSet().
|
inline |
FIXME_docs.
Definition at line 94 of file Rw11Cpu.ipp.
References fMemSize.
Referenced by Retro::Rw11CntlPC11::BootCode(), MemWriteByte(), and Retro::RtclRw11Cpu::SetupGetSet().
|
inline |
FIXME_docs.
Definition at line 102 of file Rw11Cpu.ipp.
References fHasScnt.
Referenced by Retro::RtclRw11Cpu::SetupGetSet().
|
inline |
FIXME_docs.
Definition at line 110 of file Rw11Cpu.ipp.
References fHasPcnt.
Referenced by Retro::RtclRw11Cpu::SetupGetSet().
|
inline |
FIXME_docs.
Definition at line 118 of file Rw11Cpu.ipp.
References fHasCmon.
Referenced by Retro::RtclRw11Cpu::SetupGetSet().
|
inline |
FIXME_docs.
Definition at line 126 of file Rw11Cpu.ipp.
References fHasHbpt.
Referenced by Retro::RtclRw11Cpu::SetupGetSet().
|
inline |
FIXME_docs.
Definition at line 134 of file Rw11Cpu.ipp.
References fHasIbmon.
Referenced by Retro::RtclRw11Cpu::SetupGetSet().
|
inline |
FIXME_docs.
Definition at line 142 of file Rw11Cpu.ipp.
References fHasIbtst.
Referenced by Retro::RtclRw11Cpu::SetupGetSet().
|
inline |
FIXME_docs.
Definition at line 150 of file Rw11Cpu.ipp.
References fHasM9312.
Referenced by Retro::RtclRw11Cpu::SetupGetSet().
|
inline |
FIXME_docs.
Definition at line 158 of file Rw11Cpu.ipp.
References fHasKw11l.
Referenced by Retro::RtclRw11Cpu::SetupGetSet().
|
inline |
FIXME_docs.
Definition at line 166 of file Rw11Cpu.ipp.
References fHasKw11p.
Referenced by Retro::RtclRw11Cpu::SetupGetSet().
|
inline |
FIXME_docs.
Definition at line 174 of file Rw11Cpu.ipp.
References fHasIist.
Referenced by Retro::RtclRw11Cpu::SetupGetSet().
void Retro::Rw11Cpu::AddCntl | ( | const std::shared_ptr< Rw11Cntl > & | spcntl | ) |
FIXME_docs.
Definition at line 266 of file Rw11Cpu.cpp.
References fCntlMap.
Referenced by Retro::RtclRw11CntlDEUNA::FactoryCmdConfig(), Retro::RtclRw11CntlDL11::FactoryCmdConfig(), Retro::RtclRw11CntlDZ11::FactoryCmdConfig(), Retro::RtclRw11CntlLP11::FactoryCmdConfig(), Retro::RtclRw11CntlPC11::FactoryCmdConfig(), Retro::RtclRw11CntlRHRP::FactoryCmdConfig(), Retro::RtclRw11CntlRK11::FactoryCmdConfig(), Retro::RtclRw11CntlRL11::FactoryCmdConfig(), and Retro::RtclRw11CntlTM11::FactoryCmdConfig().
bool Retro::Rw11Cpu::TestCntl | ( | const std::string & | name | ) | const |
void Retro::Rw11Cpu::ListCntl | ( | std::vector< std::string > & | list | ) | const |
FIXME_docs.
Definition at line 292 of file Rw11Cpu.cpp.
References fCntlMap.
Referenced by Retro::RtclRw11Cpu::ControllerCommands(), Retro::RtclRw11::M_default(), and Retro::RtclRw11Cpu::M_default().
Rw11Cntl & Retro::Rw11Cpu::Cntl | ( | const std::string & | name | ) | const |
FIXME_docs.
Definition at line 304 of file Rw11Cpu.cpp.
References fCntlMap.
Referenced by Boot(), and Retro::RtclRw11::M_default().
void Retro::Rw11Cpu::Start | ( | ) |
FIXME_docs.
Definition at line 316 of file Rw11Cpu.cpp.
References Retro::Rw11Cntl::Enable(), fCntlMap, Retro::Rw11Probe::Found(), Retro::Rw11Cntl::Probe(), Retro::Rw11Cntl::ProbeStatus(), and Retro::Rw11Cntl::Start().
std::string Retro::Rw11Cpu::NextCntlName | ( | const std::string & | base | ) | const |
FIXME_docs.
Definition at line 331 of file Rw11Cpu.cpp.
References fCntlMap.
Referenced by Retro::RtclRw11CntlDEUNA::FactoryCmdConfig(), Retro::RtclRw11CntlDL11::FactoryCmdConfig(), Retro::RtclRw11CntlDZ11::FactoryCmdConfig(), Retro::RtclRw11CntlLP11::FactoryCmdConfig(), Retro::RtclRw11CntlPC11::FactoryCmdConfig(), Retro::RtclRw11CntlRHRP::FactoryCmdConfig(), Retro::RtclRw11CntlRK11::FactoryCmdConfig(), Retro::RtclRw11CntlRL11::FactoryCmdConfig(), and Retro::RtclRw11CntlTM11::FactoryCmdConfig().
int Retro::Rw11Cpu::AddMembe | ( | RlinkCommandList & | clist, |
uint16_t | be, | ||
bool | stick = false |
||
) |
FIXME_docs.
Definition at line 344 of file Rw11Cpu.cpp.
References Retro::RlinkCommandList::AddWreg(), fBase, kCPMEMBE, kCPMEMBE_M_BE, and kCPMEMBE_M_STICK.
Referenced by Retro::Rw11CntlTM11::AddNormalExit(), Retro::RtclRw11Cpu::M_cp(), and MemWriteByte().
int Retro::Rw11Cpu::AddRibr | ( | RlinkCommandList & | clist, |
uint16_t | ibaddr | ||
) |
FIXME_docs.
Definition at line 354 of file Rw11Cpu.cpp.
References Retro::RlinkCommandList::AddRreg(), and IbusRemoteAddr().
Referenced by Retro::Rw11CntlDEUNA::AttnHandler(), ExecRibr(), Retro::RtclRw11Cpu::M_cp(), ProbeCntl(), Retro::Rw11CntlDZ11::RxProcess(), Retro::Rw11CntlDL11::RxProcessBuf(), SetupOpt(), Retro::Rw11CntlDEUNA::SetupPrimClist(), Retro::Rw11CntlDL11::Start(), Retro::Rw11CntlDZ11::Start(), Retro::Rw11CntlLP11::Start(), Retro::Rw11CntlPC11::Start(), Retro::Rw11CntlRHRP::Start(), Retro::Rw11CntlRK11::Start(), Retro::Rw11CntlRL11::Start(), Retro::Rw11CntlTM11::Start(), Retro::Rw11CntlDL11::TxRcvHandler(), and Retro::Rw11CntlDZ11::TxRcvHandler().
int Retro::Rw11Cpu::AddWibr | ( | RlinkCommandList & | clist, |
uint16_t | ibaddr, | ||
uint16_t | data | ||
) |
FIXME_docs.
Definition at line 365 of file Rw11Cpu.cpp.
References Retro::RlinkCommandList::AddWreg(), and IbusRemoteAddr().
Referenced by Retro::Rw11CntlRK11::AddErrorExit(), Retro::Rw11CntlRL11::AddErrorExit(), Retro::Rw11CntlRHRP::AddErrorExit(), Retro::Rw11CntlTM11::AddErrorExit(), Retro::Rw11CntlTM11::AddFastExit(), Retro::Rw11CntlRK11::AddNormalExit(), Retro::Rw11CntlRL11::AddNormalExit(), Retro::Rw11CntlRHRP::AddNormalExit(), Retro::Rw11CntlTM11::AddNormalExit(), Retro::Rw11CntlRL11::AddSetPosition(), Retro::Rw11CntlRL11::AddSetStatus(), Retro::Rw11CntlDEUNA::AttnHandler(), Retro::Rw11CntlRK11::AttnHandler(), Retro::Rw11CntlRL11::AttnHandler(), ExecWibr(), Retro::RtclRw11Cpu::M_cp(), Retro::Rw11CntlDEUNA::RxRingHandler(), Retro::Rw11CntlRHRP::Start(), Retro::Rw11CntlRL11::Start(), and Retro::Rw11CntlDEUNA::TxRingHandler().
int Retro::Rw11Cpu::AddRbibr | ( | RlinkCommandList & | clist, |
uint16_t | ibaddr, | ||
size_t | size | ||
) |
FIXME_docs.
Definition at line 375 of file Rw11Cpu.cpp.
References Retro::RlinkCommandList::AddRblk(), and IbusRemoteAddr().
Referenced by Retro::RtclRw11Cpu::M_cp(), Retro::Rw11CntlPC11::PpRcvHandler(), Retro::Rw11CntlLP11::RcvHandler(), Retro::Rw11CntlDL11::Start(), Retro::Rw11CntlDZ11::Start(), Retro::Rw11CntlLP11::Start(), Retro::Rw11CntlPC11::Start(), Retro::Rw11CntlDL11::TxRcvHandler(), and Retro::Rw11CntlDZ11::TxRcvHandler().
int Retro::Rw11Cpu::AddWbibr | ( | RlinkCommandList & | clist, |
uint16_t | ibaddr, | ||
const std::vector< uint16_t > & | block | ||
) |
FIXME_docs.
Definition at line 385 of file Rw11Cpu.cpp.
References Retro::RlinkCommandList::AddWblk(), and IbusRemoteAddr().
Referenced by Retro::RtclRw11Cpu::M_cp(), Retro::Rw11CntlPC11::PrProcessBuf(), Retro::Rw11CntlDZ11::RxProcess(), and Retro::Rw11CntlDL11::RxProcessBuf().
int Retro::Rw11Cpu::AddWbibr | ( | RlinkCommandList & | clist, |
uint16_t | ibaddr, | ||
std::vector< uint16_t > && | block | ||
) |
FIXME_docs.
Definition at line 396 of file Rw11Cpu.cpp.
References Retro::RlinkCommandList::AddWblk(), and IbusRemoteAddr().
int Retro::Rw11Cpu::AddLalh | ( | RlinkCommandList & | clist, |
uint32_t | addr, | ||
uint16_t | mode = kCPAH_M_22BIT |
||
) |
FIXME_docs.
Definition at line 408 of file Rw11Cpu.cpp.
References Retro::RlinkCommandList::AddWreg(), fBase, kCPAH, kCPAH_M_22BIT, kCPAH_M_ADDR, kCPAH_M_UBMAP, and kCPAL.
Referenced by Retro::Rw11CntlTM11::AddNormalExit(), AddRMem(), AddWMem(), and MemWriteByte().
void Retro::Rw11Cpu::ModLalh | ( | RlinkCommandList & | clist, |
size_t | ind, | ||
uint32_t | addr, | ||
uint16_t | mode = kCPAH_M_22BIT |
||
) |
FIXME_docs.
Definition at line 421 of file Rw11Cpu.cpp.
References Retro::RlinkCommand::Address(), Retro::RlinkCommand::Command(), fBase, Retro::RlinkCommand::kCmdWreg, kCPAH, kCPAH_M_22BIT, kCPAH_M_ADDR, kCPAH_M_UBMAP, kCPAL, Retro::RlinkCommand::SetData(), and Retro::RlinkCommandList::Size().
Referenced by Retro::Rw11CntlDEUNA::AttnHandler().
int Retro::Rw11Cpu::AddRMem | ( | RlinkCommandList & | clist, |
uint32_t | addr, | ||
uint16_t * | buf, | ||
size_t | size, | ||
uint16_t | mode = kCPAH_M_22BIT , |
||
bool | singleblk = false |
||
) |
FIXME_docs.
Definition at line 448 of file Rw11Cpu.cpp.
References AddLalh(), Retro::RlinkCommandList::AddRblk(), Retro::RlinkConnect::BlockSizeMax(), Connect(), fBase, and kCPMEMI.
Referenced by Retro::Rw11CntlDEUNA::ExecGetcmd(), Retro::Rw11Rdma::RdmaHandler(), Retro::Rw11CntlDEUNA::RxRingHandler(), Retro::Rw11CntlDEUNA::SetupPrimClist(), Retro::Rw11CntlDEUNA::StartRxRing(), Retro::Rw11CntlDEUNA::StartTxRing(), and Retro::Rw11CntlDEUNA::TxRingHandler().
int Retro::Rw11Cpu::AddWMem | ( | RlinkCommandList & | clist, |
uint32_t | addr, | ||
const uint16_t * | buf, | ||
size_t | size, | ||
uint16_t | mode = kCPAH_M_22BIT , |
||
bool | singleblk = false |
||
) |
FIXME_docs.
Definition at line 469 of file Rw11Cpu.cpp.
References AddLalh(), Retro::RlinkCommandList::AddWblk(), Retro::RlinkConnect::BlockSizeMax(), Connect(), fBase, and kCPMEMI.
Referenced by Retro::Rw11CntlDEUNA::ExecGetcmd(), Retro::Rw11Rdma::RdmaHandler(), Retro::Rw11CntlDEUNA::RxRingHandler(), and Retro::Rw11CntlDEUNA::TxRingHandler().
void Retro::Rw11Cpu::ExecWibr | ( | uint16_t | ibaddr0, |
uint16_t | data0, | ||
uint16_t | ibaddr1 = 0 , |
||
uint16_t | data1 = 0 , |
||
uint16_t | ibaddr2 = 0 , |
||
uint16_t | data2 = 0 |
||
) |
FIXME_docs.
Definition at line 491 of file Rw11Cpu.cpp.
References AddWibr(), Retro::RlinkServer::Exec(), and Server().
Referenced by Retro::Rw11CntlPC11::ProcessUnbuf(), Retro::Rw11CntlDL11::RxProcessUnbuf(), Retro::Rw11CntlDL11::Start(), Retro::Rw11CntlDZ11::Start(), Retro::Rw11CntlDEUNA::UnitSetup(), Retro::Rw11CntlDL11::UnitSetup(), Retro::Rw11CntlLP11::UnitSetup(), Retro::Rw11CntlPC11::UnitSetup(), Retro::Rw11CntlRHRP::UnitSetup(), Retro::Rw11CntlRK11::UnitSetup(), Retro::Rw11CntlTM11::UnitSetup(), and Retro::Rw11CntlDZ11::UnitSetupAll().
uint16_t Retro::Rw11Cpu::ExecRibr | ( | uint16_t | ibaddr | ) |
FIXME_docs.
Definition at line 506 of file Rw11Cpu.cpp.
References AddRibr(), Retro::RlinkServer::Exec(), and Server().
Referenced by Retro::Rw11CntlDL11::Wakeup(), and Retro::Rw11CntlDZ11::Wakeup().
bool Retro::Rw11Cpu::MemRead | ( | uint16_t | addr, |
std::vector< uint16_t > & | data, | ||
size_t | nword, | ||
RerrMsg & | emsg | ||
) |
FIXME_docs.
Definition at line 517 of file Rw11Cpu.cpp.
References Retro::RlinkCommandList::AddRblk(), Retro::RlinkCommandList::AddWreg(), Retro::RlinkConnect::BlockSizePrudent(), Connect(), fBase, kCPAL, kCPMEMI, and Server().
Referenced by Retro::RtclRw11Cpu::M_lsmem().
bool Retro::Rw11Cpu::MemWrite | ( | uint16_t | addr, |
const std::vector< uint16_t > & | data, | ||
RerrMsg & | emsg | ||
) |
FIXME_docs.
Definition at line 537 of file Rw11Cpu.cpp.
References Retro::RlinkCommandList::AddWblk(), Retro::RlinkCommandList::AddWreg(), Retro::RlinkConnect::BlockSizePrudent(), Connect(), fBase, kCPAL, kCPMEMI, and Server().
Referenced by Boot(), LoadAbs(), and Retro::RtclRw11Cpu::M_ldasm().
bool Retro::Rw11Cpu::MemWriteByte | ( | uint32_t | addr, |
uint8_t | data, | ||
RerrMsg & | emsg | ||
) |
FIXME_docs.
Definition at line 557 of file Rw11Cpu.cpp.
References AddLalh(), AddMembe(), Retro::RlinkCommandList::AddWreg(), fBase, Retro::RerrMsg::Init(), kCPAH_M_22BIT, kCPMEM, kCPMEMBE_M_BE0, kCPMEMBE_M_BE1, MemSize(), and Server().
Referenced by LoadAbs().
bool Retro::Rw11Cpu::ProbeCntl | ( | Rw11Probe & | dsc | ) |
FIXME_docs.
Definition at line 577 of file Rw11Cpu.cpp.
References AddRibr(), Retro::RlinkCommandList::AddRreg(), Retro::RlinkCommandList::AddWreg(), Retro::RlinkServer::Exec(), Retro::Rw11Probe::fAddr, fBase, Retro::Rw11Probe::fDataInt, Retro::Rw11Probe::fDataRem, Retro::Rw11Probe::fFoundInt, Retro::Rw11Probe::fFoundRem, Retro::Rw11Probe::Found(), Retro::Rw11Probe::fProbeDone, Retro::Rw11Probe::fProbeInt, Retro::Rw11Probe::fProbeRem, kCPAL, kCPMEM, Retro::RlinkCommand::kStat_M_RbErr, Retro::RlinkCommand::kStat_M_RbNak, Retro::RlinkCommand::kStat_M_RbTout, Server(), and Retro::RlinkCommandList::SetLastExpectStatus().
Referenced by Retro::Rw11Cntl::Probe().
bool Retro::Rw11Cpu::LoadAbs | ( | const std::string & | fname, |
RerrMsg & | emsg, | ||
uint16_t & | start, | ||
bool | trace = false |
||
) |
FIXME_docs.
Definition at line 629 of file Rw11Cpu.cpp.
References Connect(), Retro::RerrMsg::Init(), Retro::RerrMsg::InitErrno(), Retro::RerrMsg::InitPrintf(), LogFile(), MemWrite(), MemWriteByte(), and Retro::RosPrintf().
bool Retro::Rw11Cpu::Boot | ( | const std::string & | uname, |
RerrMsg & | emsg | ||
) |
FIXME_docs.
Definition at line 798 of file Rw11Cpu.cpp.
References Retro::RlinkCommandList::AddWreg(), Retro::Rw11Cntl::BootCode(), Retro::RlinkCommandList::Clear(), Cntl(), fBase, Retro::RerrMsg::Init(), kCPCNTL, kCPFUNC_CRESET, kCPFUNC_START, kCPFUNC_STOP, kCPPC, MemWrite(), Retro::Rw11Cntl::NUnit(), Server(), SetCpuActUp(), and TestCntl().
void Retro::Rw11Cpu::SetCpuActUp | ( | ) |
FIXME_docs.
Definition at line 856 of file Rw11Cpu.cpp.
References fCpuAct, fCpuActCond, fCpuActMutex, and fCpuStat.
Referenced by Boot(), and Retro::RtclRw11Cpu::M_cp().
void Retro::Rw11Cpu::SetCpuActDown | ( | uint16_t | stat | ) |
FIXME_docs.
Definition at line 868 of file Rw11Cpu.cpp.
References fCpuAct, fCpuActCond, fCpuActMutex, fCpuStat, kCPSTAT_M_CpuGo, and kCPSTAT_M_CpuSusp.
Referenced by W11AttnHandler().
FIXME_docs.
Definition at line 882 of file Rw11Cpu.cpp.
References Retro::Rtime::Clear(), fCpuAct, fCpuActCond, fCpuActMutex, Retro::Rtime::IsPositive(), and Retro::Rtime::ToDouble().
Referenced by Retro::RtclRw11Cpu::M_wtcpu().
|
inline |
|
inline |
|
inline |
FIXME_docs.
Definition at line 198 of file Rw11Cpu.ipp.
References fIBase.
Referenced by AddRbibr(), AddRibr(), AddWbibr(), AddWibr(), and AllIAddrMapInsert().
void Retro::Rw11Cpu::AllIAddrMapInsert | ( | const std::string & | name, |
uint16_t | ibaddr | ||
) |
FIXME_docs.
Definition at line 902 of file Rw11Cpu.cpp.
References Retro::RlinkConnect::AddrMapInsert(), Connect(), IAddrMapInsert(), IbusRemoteAddr(), Index(), and RAddrMapInsert().
Referenced by SetupOpt(), SetupStd(), Retro::Rw11CntlDEUNA::Start(), Retro::Rw11CntlDL11::Start(), Retro::Rw11CntlDZ11::Start(), Retro::Rw11CntlLP11::Start(), Retro::Rw11CntlPC11::Start(), Retro::Rw11CntlRHRP::Start(), Retro::Rw11CntlRK11::Start(), Retro::Rw11CntlRL11::Start(), and Retro::Rw11CntlTM11::Start().
void Retro::Rw11Cpu::AllRAddrMapInsert | ( | const std::string & | name, |
uint16_t | rbaddr | ||
) |
FIXME_docs.
Definition at line 921 of file Rw11Cpu.cpp.
References Retro::RlinkConnect::AddrMapInsert(), Connect(), Index(), and RAddrMapInsert().
Referenced by SetupOpt(), and SetupStd().
|
inline |
FIXME_docs.
Definition at line 206 of file Rw11Cpu.ipp.
References fIAddrMap, and Retro::RlinkAddrMap::Insert().
Referenced by AllIAddrMapInsert(), and Retro::RtclRw11Cpu::M_imap().
|
inline |
FIXME_docs.
Definition at line 214 of file Rw11Cpu.ipp.
References Retro::RlinkAddrMap::Erase(), and fIAddrMap.
|
inline |
FIXME_docs.
Definition at line 222 of file Rw11Cpu.ipp.
References Retro::RlinkAddrMap::Erase(), and fIAddrMap.
|
inline |
FIXME_docs.
Definition at line 230 of file Rw11Cpu.ipp.
References Retro::RlinkAddrMap::Clear(), and fIAddrMap.
|
inline |
FIXME_docs.
Definition at line 238 of file Rw11Cpu.ipp.
References fIAddrMap.
Referenced by Retro::RtclRw11Cpu::M_imap().
|
inline |
FIXME_docs.
Definition at line 246 of file Rw11Cpu.ipp.
References fRAddrMap, and Retro::RlinkAddrMap::Insert().
Referenced by AllIAddrMapInsert(), AllRAddrMapInsert(), and Retro::RtclRw11Cpu::M_rmap().
|
inline |
FIXME_docs.
Definition at line 254 of file Rw11Cpu.ipp.
References Retro::RlinkAddrMap::Erase(), and fRAddrMap.
|
inline |
FIXME_docs.
Definition at line 262 of file Rw11Cpu.ipp.
References Retro::RlinkAddrMap::Erase(), and fRAddrMap.
|
inline |
FIXME_docs.
Definition at line 270 of file Rw11Cpu.ipp.
References Retro::RlinkAddrMap::Clear(), and fRAddrMap.
|
inline |
FIXME_docs.
Definition at line 278 of file Rw11Cpu.ipp.
References fRAddrMap.
Referenced by Retro::RtclRw11Cpu::M_rmap().
void Retro::Rw11Cpu::W11AttnHandler | ( | ) |
FIXME_docs.
Definition at line 938 of file Rw11Cpu.cpp.
References Retro::RlinkCommandList::AddRreg(), Retro::RlinkServer::Exec(), fBase, kCPSTAT, Server(), and SetCpuActDown().
|
inline |
|
virtual |
FIXME_docs.
Reimplemented in Retro::Rw11CpuW11a.
Definition at line 950 of file Rw11Cpu.cpp.
References Retro::RlinkAddrMap::Dump(), Retro::Rstats::Dump(), fBase, fCntlMap, fCpuAct, fCpuStat, fHasCmon, fHasHbpt, fHasIbmon, fHasIbtst, fHasIist, fHasKw11l, fHasKw11p, fHasM9312, fHasPcnt, fHasScnt, fIAddrMap, fIBase, fIndex, fpW11, fRAddrMap, fStats, fType, and Retro::RosPrintf().
Referenced by Retro::Rw11CpuW11a::Dump(), and Retro::RtclRw11Cpu::M_dump().
|
protected |
FIXME_docs.
Definition at line 987 of file Rw11Cpu.cpp.
References AllIAddrMapInsert(), AllRAddrMapInsert(), Base(), kCPAH, kCPAL, kCPCNTL, kCPCONF, kCPMEM, kCPMEMBE, kCPMEMI, kCPPSW, kCPR0, kCPSTAT, kCPUERR, kCPUMBRK, kCPUPIRQ, kCPUPSW, kCPUSDREG, kCPUSTKLIM, kCPUSYSID, kMEMCNTRL, kMEMHIADDR, kMEMHISIZE, kMEMHM, kMEMLOADDR, kMEMLOSIZE, kMEMMAINT, kMEMSYSERR, kMMUMMR0, kMMUMMR1, kMMUMMR2, kMMUMMR3, kMMUPARK, kMMUPARS, kMMUPARU, kMMUPDRK, kMMUPDRS, and kMMUPDRU.
Referenced by Setup().
|
protected |
FIXME_docs.
Definition at line 1056 of file Rw11Cpu.cpp.
References AddRibr(), Retro::RlinkCommandList::AddRreg(), AllIAddrMapInsert(), AllRAddrMapInsert(), Base(), Connect(), Retro::RlinkConnect::Exec(), fHasCmon, fHasHbpt, fHasIbmon, fHasIbtst, fHasIist, fHasKw11l, fHasKw11p, fHasM9312, fHasPcnt, fHasScnt, fMemSize, kCMADDR, kCMBASE, kCMCNTL, kCMDATA, kCMIADDR, kCMIMAL, kCMIPC, kCMIREG, kCMSTAT, kHBBASE, kHBCNTL, kHBHILIM, kHBLOLIM, kHBNMAX, kHBSIZE, kHBSTAT, kIISTACR, kIISTADR, kIISTBASE, kIMADDR, kIMBASE, kIMCNTL, kIMDATA, kIMHILIM, kIMLOLIM, kIMSTAT, kITBASE, kITCNTL, kITDATA, kITFIFO, kITSTAT, kKWLBASE, kKWPBASE, kKWPCSB, kKWPCSR, kKWPCTR, kM9BASE, kMEMLOSIZE, kPCBASE, kPCCNTL, kPCDATA, kPCSTAT, kSCADDR, kSCBASE, kSCCNTL, kSCDATA, Retro::RlinkCommand::kStat_M_RbErr, Retro::RlinkCommand::kStat_M_RbNak, Retro::RlinkCommand::kStat_M_RbTout, and Retro::RlinkCommandList::SetLastExpectStatus().
Referenced by Setup().
|
static |
CPCONF reg offset.
Definition at line 181 of file Rw11Cpu.hpp.
Referenced by Retro::RtclRw11Cpu::M_cp(), and SetupStd().
|
static |
CPADDR reg offset.
Definition at line 182 of file Rw11Cpu.hpp.
Referenced by Boot(), Retro::RtclRw11Cpu::M_cp(), Retro::RtclRw11Cpu::M_wtcpu(), and SetupStd().
|
static |
CPSTAT reg offset.
Definition at line 183 of file Rw11Cpu.hpp.
Referenced by Retro::RtclRw11Cpu::M_cp(), Retro::RtclRw11Cpu::M_show(), SetupStd(), and W11AttnHandler().
|
static |
CPPSW reg offset.
Definition at line 184 of file Rw11Cpu.hpp.
Referenced by Retro::RtclRw11Cpu::M_cp(), Retro::RtclRw11Cpu::M_show(), and SetupStd().
|
static |
CPAL reg offset.
Definition at line 185 of file Rw11Cpu.hpp.
Referenced by AddLalh(), Retro::RtclRw11Cpu::M_cp(), Retro::RtclRw11Cpu::M_show(), MemRead(), MemWrite(), ModLalh(), ProbeCntl(), and SetupStd().
|
static |
CPAH reg offset.
Definition at line 186 of file Rw11Cpu.hpp.
Referenced by AddLalh(), Retro::RtclRw11Cpu::M_cp(), ModLalh(), and SetupStd().
|
static |
CPMEM reg offset.
Definition at line 187 of file Rw11Cpu.hpp.
Referenced by Retro::Rw11CntlTM11::AddNormalExit(), Retro::RtclRw11Cpu::M_cp(), MemWriteByte(), ProbeCntl(), and SetupStd().
|
static |
CPMEMI reg offset.
Definition at line 188 of file Rw11Cpu.hpp.
Referenced by AddRMem(), AddWMem(), Retro::RtclRw11Cpu::M_cp(), Retro::RtclRw11Cpu::M_show(), MemRead(), MemWrite(), and SetupStd().
|
static |
CPR0 reg offset.
Definition at line 189 of file Rw11Cpu.hpp.
Referenced by Retro::RtclRw11Cpu::M_cp(), Retro::RtclRw11Cpu::M_show(), and SetupStd().
|
static |
CPPC reg offset.
Definition at line 190 of file Rw11Cpu.hpp.
Referenced by Boot(), Retro::RtclRw11Cpu::M_cp(), and Retro::RtclRw11Cpu::M_show().
|
static |
CPMEMBE reg offset.
Definition at line 191 of file Rw11Cpu.hpp.
Referenced by AddMembe(), Retro::RtclRw11Cpu::M_cp(), and SetupStd().
|
static |
NOOP func code.
Definition at line 193 of file Rw11Cpu.hpp.
|
static |
START func code.
Definition at line 194 of file Rw11Cpu.hpp.
Referenced by Boot(), and Retro::RtclRw11Cpu::M_cp().
|
static |
STOP func code.
Definition at line 195 of file Rw11Cpu.hpp.
Referenced by Boot(), Retro::RtclRw11Cpu::M_cp(), and Retro::RtclRw11Cpu::M_wtcpu().
|
static |
STEP func code.
Definition at line 196 of file Rw11Cpu.hpp.
Referenced by Retro::RtclRw11Cpu::M_cp().
|
static |
CRESET func code.
Definition at line 197 of file Rw11Cpu.hpp.
Referenced by Boot(), and Retro::RtclRw11Cpu::M_cp().
|
static |
BRESET func code.
Definition at line 198 of file Rw11Cpu.hpp.
Referenced by Retro::RtclRw11Cpu::M_cp().
|
static |
SUSPEND func code.
Definition at line 199 of file Rw11Cpu.hpp.
Referenced by Retro::RtclRw11Cpu::M_cp().
|
static |
RESUME func code.
Definition at line 200 of file Rw11Cpu.hpp.
Referenced by Retro::RtclRw11Cpu::M_cp().
|
static |
suspext mask
Definition at line 202 of file Rw11Cpu.hpp.
|
static |
suspint mask
Definition at line 203 of file Rw11Cpu.hpp.
|
static |
cpurust mask
Definition at line 204 of file Rw11Cpu.hpp.
|
static |
cpurust shift
Definition at line 205 of file Rw11Cpu.hpp.
|
static |
cpurust bit mask
Definition at line 206 of file Rw11Cpu.hpp.
|
static |
|
static |
|
static |
cmdmerr mask
Definition at line 209 of file Rw11Cpu.hpp.
|
static |
cmderr mask
Definition at line 210 of file Rw11Cpu.hpp.
|
static |
cpu in init state
Definition at line 212 of file Rw11Cpu.hpp.
|
static |
cpu executed HALT
Definition at line 213 of file Rw11Cpu.hpp.
|
static |
cpu was reset
Definition at line 214 of file Rw11Cpu.hpp.
|
static |
cpu was stopped
Definition at line 215 of file Rw11Cpu.hpp.
|
static |
cpu was stepped
Definition at line 216 of file Rw11Cpu.hpp.
|
static |
cpu was suspended
Definition at line 217 of file Rw11Cpu.hpp.
|
static |
cpu hardware bpt
Definition at line 218 of file Rw11Cpu.hpp.
|
static |
cpu running
Definition at line 219 of file Rw11Cpu.hpp.
|
static |
vector fetch halt
Definition at line 220 of file Rw11Cpu.hpp.
|
static |
rec red-stack halt
Definition at line 221 of file Rw11Cpu.hpp.
|
static |
sequencer failure
Definition at line 222 of file Rw11Cpu.hpp.
|
static |
vmbox failure
Definition at line 223 of file Rw11Cpu.hpp.
|
static |
mask for 6bit msb
Definition at line 225 of file Rw11Cpu.hpp.
|
static |
ena 22bit addressing
Definition at line 226 of file Rw11Cpu.hpp.
Referenced by AddLalh(), Retro::Rw11CntlRHRP::AttnHandler(), Retro::RtclRw11Cpu::M_cp(), MemWriteByte(), and ModLalh().
|
static |
ubmap+22bit
Definition at line 228 of file Rw11Cpu.hpp.
Referenced by Retro::Rw11CntlTM11::AddNormalExit(), Retro::Rw11CntlDEUNA::AttnHandler(), Retro::Rw11CntlRK11::AttnHandler(), Retro::Rw11CntlRL11::AttnHandler(), Retro::Rw11CntlTM11::AttnHandler(), Retro::Rw11CntlDEUNA::ExecGetcmd(), Retro::RtclRw11Cpu::M_cp(), Retro::Rw11CntlDEUNA::RxRingHandler(), Retro::Rw11CntlDEUNA::SetupPrimClist(), Retro::Rw11CntlDEUNA::StartRxRing(), Retro::Rw11CntlDEUNA::StartTxRing(), and Retro::Rw11CntlDEUNA::TxRingHandler().
|
static |
|
static |
|
static |
membe: be0 flag
Definition at line 232 of file Rw11Cpu.hpp.
Referenced by Retro::Rw11CntlTM11::AddNormalExit(), and MemWriteByte().
|
static |
|
static |
stat: cmderr flag
Definition at line 236 of file Rw11Cpu.hpp.
Referenced by Retro::RtclRw11Cpu::M_cp().
|
static |
stat: cmdmerr flag
Definition at line 237 of file Rw11Cpu.hpp.
Referenced by Retro::RtclRw11Cpu::M_cp().
|
static |
stat: cpususp flag
Definition at line 238 of file Rw11Cpu.hpp.
|
static |
stat: cpugo flag
Definition at line 239 of file Rw11Cpu.hpp.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
UBMAP base address.
Definition at line 249 of file Rw11Cpu.hpp.
Referenced by Retro::RtclRw11Cpu::M_show().
|
static |
|
static |
MEM LOSIZE address.
Definition at line 252 of file Rw11Cpu.hpp.
Referenced by SetupOpt(), and SetupStd().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
MMU MMR3 address.
Definition at line 260 of file Rw11Cpu.hpp.
Referenced by Retro::RtclRw11Cpu::M_show(), and SetupStd().
|
static |
|
static |
|
static |
MMU MMR0 address.
Definition at line 263 of file Rw11Cpu.hpp.
Referenced by Retro::RtclRw11Cpu::M_show(), and SetupStd().
|
static |
MMU PDRK address.
Definition at line 265 of file Rw11Cpu.hpp.
Referenced by Retro::RtclRw11Cpu::M_show(), and SetupStd().
|
static |
|
static |
MMU PDRS address.
Definition at line 267 of file Rw11Cpu.hpp.
Referenced by Retro::RtclRw11Cpu::M_show(), and SetupStd().
|
static |
|
static |
MMU PDRU address.
Definition at line 269 of file Rw11Cpu.hpp.
Referenced by Retro::RtclRw11Cpu::M_show(), and SetupStd().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
protected |
|
protected |
Definition at line 335 of file Rw11Cpu.hpp.
|
protected |
Definition at line 336 of file Rw11Cpu.hpp.
Referenced by Dump(), Index(), and Retro::Rw11CpuW11a::Setup().
|
protected |
Definition at line 337 of file Rw11Cpu.hpp.
Referenced by AddLalh(), AddMembe(), AddRMem(), AddWMem(), Base(), Boot(), Dump(), MemRead(), MemWrite(), MemWriteByte(), ModLalh(), ProbeCntl(), Retro::Rw11CpuW11a::Setup(), and W11AttnHandler().
|
protected |
Definition at line 338 of file Rw11Cpu.hpp.
Referenced by Dump(), IBase(), IbusRemoteAddr(), and Retro::Rw11CpuW11a::Setup().
|
protected |
memory size in byte
Definition at line 339 of file Rw11Cpu.hpp.
Referenced by MemSize(), and SetupOpt().
|
protected |
has dmscnt (state counter)
Definition at line 340 of file Rw11Cpu.hpp.
Referenced by Dump(), HasScnt(), and SetupOpt().
|
protected |
has dmpcnt (perf counters)
Definition at line 341 of file Rw11Cpu.hpp.
Referenced by Dump(), HasPcnt(), and SetupOpt().
|
protected |
has dmcmon (cpu monitor)
Definition at line 342 of file Rw11Cpu.hpp.
Referenced by Dump(), HasCmon(), and SetupOpt().
|
protected |
has dmhbpt (hardware breakpoint)
Definition at line 343 of file Rw11Cpu.hpp.
Referenced by Dump(), HasHbpt(), and SetupOpt().
|
protected |
has ibmon (ibus monitor)
Definition at line 344 of file Rw11Cpu.hpp.
Referenced by Dump(), HasIbmon(), and SetupOpt().
|
protected |
has ibtst (ibus tester)
Definition at line 345 of file Rw11Cpu.hpp.
Referenced by Dump(), HasIbtst(), and SetupOpt().
|
protected |
has m9312 (boot rom)
Definition at line 346 of file Rw11Cpu.hpp.
Referenced by Dump(), HasM9312(), and SetupOpt().
|
protected |
has kw11-l (line clock)
Definition at line 347 of file Rw11Cpu.hpp.
Referenced by Dump(), HasKw11l(), and SetupOpt().
|
protected |
has kw11-p (prog clock)
Definition at line 348 of file Rw11Cpu.hpp.
Referenced by Dump(), HasKw11p(), and SetupOpt().
|
protected |
has iist (smp comm)
Definition at line 349 of file Rw11Cpu.hpp.
Referenced by Dump(), HasIist(), and SetupOpt().
|
protected |
Definition at line 350 of file Rw11Cpu.hpp.
Referenced by CpuAct(), Dump(), SetCpuActDown(), SetCpuActUp(), and WaitCpuActDown().
|
protected |
Definition at line 351 of file Rw11Cpu.hpp.
Referenced by CpuStat(), Dump(), SetCpuActDown(), and SetCpuActUp().
|
protected |
Definition at line 352 of file Rw11Cpu.hpp.
Referenced by SetCpuActDown(), SetCpuActUp(), and WaitCpuActDown().
|
protected |
Definition at line 353 of file Rw11Cpu.hpp.
Referenced by SetCpuActDown(), SetCpuActUp(), and WaitCpuActDown().
|
protected |
name->cntl map
Definition at line 354 of file Rw11Cpu.hpp.
Referenced by AddCntl(), Cntl(), Dump(), ListCntl(), NextCntlName(), Start(), and TestCntl().
|
protected |
ibus name<->address mapping
Definition at line 355 of file Rw11Cpu.hpp.
Referenced by Dump(), IAddrMap(), IAddrMapClear(), IAddrMapErase(), and IAddrMapInsert().
|
protected |
rbus name<->address mapping
Definition at line 356 of file Rw11Cpu.hpp.
Referenced by Dump(), RAddrMap(), RAddrMapClear(), RAddrMapErase(), and RAddrMapInsert().
|
protected |