gem5
v20.1.0.0
|
#include <sinic.hh>
Classes | |
struct | VirtualReg |
Public Member Functions | |
bool | recvPacket (EthPacketPtr packet) |
device ethernet interface More... | |
void | transferDone () |
Port & | getPort (const std::string &if_name, PortID idx=InvalidPortID) override |
Get a port with a given name and index. More... | |
Tick | read (PacketPtr pkt) override |
Memory Interface. More... | |
Tick | write (PacketPtr pkt) override |
IPR read of device register. More... | |
virtual void | drainResume () override |
Resume execution after a successful drain. More... | |
void | prepareIO (ContextID cpu, int index) |
void | prepareRead (ContextID cpu, int index) |
void | prepareWrite (ContextID cpu, int index) |
void | regStats () override |
Callback to set stat parameters. More... | |
void | resetStats () override |
Callback to reset stats. More... | |
void | serialize (CheckpointOut &cp) const override |
Serialization stuff. More... | |
void | unserialize (CheckpointIn &cp) override |
Unserialize an object. More... | |
Device (const Params *p) | |
~Device () | |
Public Member Functions inherited from Sinic::Base | |
const Params * | params () const |
Base (const Params *p) | |
Public Member Functions inherited from EtherDevBase | |
EtherDevBase (const EtherDevBaseParams *params) | |
const EtherDevBaseParams * | params () const |
Public Member Functions inherited from EtherDevice | |
EtherDevice (const Params *params) | |
const Params * | params () const |
Public Member Functions inherited from PciDevice | |
virtual Tick | writeConfig (PacketPtr pkt) |
Write to the PCI config space data that is stored locally. More... | |
virtual Tick | readConfig (PacketPtr pkt) |
Read from the PCI config space data that is stored locally. More... | |
Addr | pciToDma (Addr pci_addr) const |
void | intrPost () |
void | intrClear () |
uint8_t | interruptLine () const |
AddrRangeList | getAddrRanges () const override |
Determine the address ranges that this device responds to. More... | |
PciDevice (const PciDeviceParams *params) | |
Constructor for PCI Dev. More... | |
void | serialize (CheckpointOut &cp) const override |
Serialize this object to the given output stream. More... | |
void | unserialize (CheckpointIn &cp) override |
Reconstruct the state of this object from a checkpoint. More... | |
const PciBusAddr & | busAddr () const |
Public Member Functions inherited from DmaDevice | |
DmaDevice (const Params *p) | |
virtual | ~DmaDevice () |
void | dmaWrite (Addr addr, int size, Event *event, uint8_t *data, uint32_t sid, uint32_t ssid, Tick delay=0) |
void | dmaWrite (Addr addr, int size, Event *event, uint8_t *data, Tick delay=0) |
void | dmaRead (Addr addr, int size, Event *event, uint8_t *data, uint32_t sid, uint32_t ssid, Tick delay=0) |
void | dmaRead (Addr addr, int size, Event *event, uint8_t *data, Tick delay=0) |
bool | dmaPending () const |
void | init () override |
init() is called after all C++ SimObjects have been created and all ports are connected. More... | |
unsigned int | cacheBlockSize () const |
Public Member Functions inherited from PioDevice | |
PioDevice (const Params *p) | |
virtual | ~PioDevice () |
const Params * | params () const |
void | init () override |
init() is called after all C++ SimObjects have been created and all ports are connected. More... | |
Public Member Functions inherited from ClockedObject | |
ClockedObject (const ClockedObjectParams *p) | |
const Params * | params () const |
void | serialize (CheckpointOut &cp) const override |
Serialize an object. More... | |
void | unserialize (CheckpointIn &cp) override |
Unserialize an object. More... | |
Public Member Functions inherited from SimObject | |
const Params * | params () const |
SimObject (const Params *_params) | |
virtual | ~SimObject () |
virtual const std::string | name () const |
virtual void | loadState (CheckpointIn &cp) |
loadState() is called on each SimObject when restoring from a checkpoint. More... | |
virtual void | initState () |
initState() is called on each SimObject when not restoring from a checkpoint. More... | |
virtual void | regProbePoints () |
Register probe points for this object. More... | |
virtual void | regProbeListeners () |
Register probe listeners for this object. More... | |
ProbeManager * | getProbeManager () |
Get the probe manager for this object. More... | |
virtual void | startup () |
startup() is the final initialization call before simulation. More... | |
DrainState | drain () override |
Provide a default implementation of the drain interface for objects that don't need draining. More... | |
virtual void | memWriteback () |
Write back dirty buffers to memory using functional writes. More... | |
virtual void | memInvalidate () |
Invalidate the contents of memory buffers. More... | |
void | serialize (CheckpointOut &cp) const override |
Serialize an object. More... | |
void | unserialize (CheckpointIn &cp) override |
Unserialize an object. More... | |
Public Member Functions inherited from EventManager | |
EventQueue * | eventQueue () const |
void | schedule (Event &event, Tick when) |
void | deschedule (Event &event) |
void | reschedule (Event &event, Tick when, bool always=false) |
void | schedule (Event *event, Tick when) |
void | deschedule (Event *event) |
void | reschedule (Event *event, Tick when, bool always=false) |
void | wakeupEventQueue (Tick when=(Tick) -1) |
This function is not needed by the usual gem5 event loop but may be necessary in derived EventQueues which host gem5 on other schedulers. More... | |
void | setCurTick (Tick newVal) |
EventManager (EventManager &em) | |
Event manger manages events in the event queue. More... | |
EventManager (EventManager *em) | |
EventManager (EventQueue *eq) | |
Public Member Functions inherited from Serializable | |
Serializable () | |
virtual | ~Serializable () |
void | serializeSection (CheckpointOut &cp, const char *name) const |
Serialize an object into a new section. More... | |
void | serializeSection (CheckpointOut &cp, const std::string &name) const |
void | unserializeSection (CheckpointIn &cp, const char *name) |
Unserialize an a child object. More... | |
void | unserializeSection (CheckpointIn &cp, const std::string &name) |
Public Member Functions inherited from Drainable | |
DrainState | drainState () const |
Return the current drain state of an object. More... | |
virtual void | notifyFork () |
Notify a child process of a fork. More... | |
Public Member Functions inherited from Stats::Group | |
Group (Group *parent, const char *name=nullptr) | |
Construct a new statistics group. More... | |
virtual | ~Group () |
virtual void | preDumpStats () |
Callback before stats are dumped. More... | |
void | addStat (Stats::Info *info) |
Register a stat with this group. More... | |
const std::map< std::string, Group * > & | getStatGroups () const |
Get all child groups associated with this object. More... | |
const std::vector< Info * > & | getStats () const |
Get all stats associated with this object. More... | |
void | addStatGroup (const char *name, Group *block) |
Add a stat block as a child of this block. More... | |
const Info * | resolveStat (std::string name) const |
Resolve a stat by its name within this group. More... | |
Group ()=delete | |
Group (const Group &)=delete | |
Group & | operator= (const Group &)=delete |
Public Member Functions inherited from Clocked | |
void | updateClockPeriod () |
Update the tick to the current tick. More... | |
Tick | clockEdge (Cycles cycles=Cycles(0)) const |
Determine the tick when a cycle begins, by default the current one, but the argument also enables the caller to determine a future cycle. More... | |
Cycles | curCycle () const |
Determine the current cycle, corresponding to a tick aligned to a clock edge. More... | |
Tick | nextCycle () const |
Based on the clock of the object, determine the start tick of the first cycle that is at least one cycle in the future. More... | |
uint64_t | frequency () const |
Tick | clockPeriod () const |
double | voltage () const |
Cycles | ticksToCycles (Tick t) const |
Tick | cyclesToTicks (Cycles c) const |
Protected Types | |
enum | RxState { rxIdle, rxFifoBlock, rxBeginCopy, rxCopy, rxCopyDone } |
Receive State Machine States. More... | |
enum | TxState { txIdle, txFifoBlock, txBeginCopy, txCopy, txCopyDone } |
Transmit State Machine states. More... | |
typedef std::vector< VirtualReg > | VirtualRegs |
typedef std::list< unsigned > | VirtualList |
Protected Member Functions | |
uint8_t & | regData8 (Addr daddr) |
uint32_t & | regData32 (Addr daddr) |
uint64_t & | regData64 (Addr daddr) |
void | reset () |
void | rxKick () |
void | txKick () |
void | transmit () |
Retransmit event. More... | |
void | txEventTransmit () |
void | txDump () const |
void | rxDump () const |
bool | rxFilter (const EthPacketPtr &packet) |
receive address filter More... | |
void | changeConfig (uint32_t newconfig) |
device configuration More... | |
void | command (uint32_t command) |
void | rxDmaDone () |
DMA parameters. More... | |
void | txDmaDone () |
void | devIntrPost (uint32_t interrupts) |
Interrupt management. More... | |
void | devIntrClear (uint32_t interrupts=Regs::Intr_All) |
void | devIntrChangeMask (uint32_t newmask) |
Protected Member Functions inherited from Sinic::Base | |
void | cpuIntrPost (Tick when) |
void | cpuInterrupt () |
void | cpuIntrClear () |
bool | cpuIntrPending () const |
void | cpuIntrAck () |
Protected Member Functions inherited from PciDevice | |
bool | isLargeBAR (int bar) const |
Does the given BAR represent 32 lower bits of a 64-bit address? More... | |
bool | isBAR (Addr addr, int bar) const |
Does the given address lie within the space mapped by the given base address register? More... | |
int | getBAR (Addr addr) |
Which base address register (if any) maps the given address? More... | |
bool | getBAR (Addr addr, int &bar, Addr &offs) |
Which base address register (if any) maps the given address? More... | |
Protected Member Functions inherited from Drainable | |
Drainable () | |
virtual | ~Drainable () |
void | signalDrainDone () const |
Signal that an object is drained. More... | |
Protected Member Functions inherited from Clocked | |
Clocked (ClockDomain &clk_domain) | |
Create a clocked object and set the clock domain based on the parameters. More... | |
Clocked (Clocked &)=delete | |
Clocked & | operator= (Clocked &)=delete |
virtual | ~Clocked () |
Virtual destructor due to inheritance. More... | |
void | resetClock () const |
Reset the object's clock using the current global tick value. More... | |
virtual void | clockPeriodUpdated () |
A hook subclasses can implement so they can do any extra work that's needed when the clock rate is changed. More... | |
Private Attributes | |
Stats::Scalar | totalVnicDistance |
Statistics. More... | |
Stats::Scalar | numVnicDistance |
Stats::Scalar | maxVnicDistance |
Stats::Formula | avgVnicDistance |
int | _maxVnicDistance |
Additional Inherited Members | |
Public Types inherited from Sinic::Base | |
typedef SinicParams | Params |
Construction/Destruction/Parameters. More... | |
Public Types inherited from EtherDevice | |
typedef EtherDeviceParams | Params |
Public Types inherited from DmaDevice | |
typedef DmaDeviceParams | Params |
Public Types inherited from PioDevice | |
typedef PioDeviceParams | Params |
Public Types inherited from ClockedObject | |
typedef ClockedObjectParams | Params |
Parameters of ClockedObject. More... | |
Public Types inherited from SimObject | |
typedef SimObjectParams | Params |
Static Public Member Functions inherited from SimObject | |
static void | serializeAll (CheckpointOut &cp) |
Serialize all SimObjects in the system. More... | |
static SimObject * | find (const char *name) |
Find the SimObject with the given name and return a pointer to it. More... | |
Static Public Member Functions inherited from Serializable | |
static const std::string & | currentSection () |
Gets the fully-qualified name of the active section. More... | |
static void | serializeAll (const std::string &cpt_dir) |
Serializes all the SimObjects. More... | |
static void | unserializeGlobals (CheckpointIn &cp) |
Public Attributes inherited from ClockedObject | |
PowerState * | powerState |
|
protected |
|
protected |
|
protected |
|
protected |
Sinic::Device::Device | ( | const Params * | p | ) |
Definition at line 81 of file sinic.cc.
References txEventTransmit().
|
protected |
device configuration
Definition at line 565 of file sinic.cc.
References Sinic::Base::cpuIntrClear(), Sinic::Base::cpuIntrEnable, Sinic::Base::cpuIntrPost(), curTick(), regs, Sinic::Base::rxEnable, rxKick(), Sinic::Base::txEnable, and txKick().
Referenced by write().
|
protected |
Definition at line 597 of file sinic.cc.
References devIntrPost(), and reset().
Referenced by write().
|
protected |
Definition at line 459 of file sinic.cc.
References Sinic::Base::cpuIntrClear(), Sinic::Base::cpuIntrPost(), curTick(), DPRINTF, and regs.
Referenced by write().
|
protected |
|
protected |
Interrupt management.
Definition at line 407 of file sinic.cc.
References Sinic::Base::cpuIntrPost(), curTick(), DPRINTF, Sinic::Base::intrDelay, panic, regs, rxEmpty, and txFull.
Referenced by command(), recvPacket(), rxKick(), transmit(), and txKick().
|
overridevirtual |
|
overridevirtual |
Get a port with a given name and index.
This is used at binding time and returns a reference to a protocol-agnostic port.
gem5 has a request and response port interface. All memory objects are connected together via ports. These ports provide a rigid interface between these memory objects. These ports implement three different memory system modes: timing, atomic, and functional. The most important mode is the timing mode and here timing mode is used for conducting cycle-level timing experiments. The other modes are only used in special circumstances and should not be used to conduct cycle-level timing experiments. The other modes are only used in special circumstances. These ports allow SimObjects to communicate with each other.
if_name | Port name |
idx | Index in the case of a VectorPort |
Reimplemented from DmaDevice.
Definition at line 138 of file sinic.cc.
References DmaDevice::getPort(), and Sinic::Base::interface.
void Sinic::Device::prepareIO | ( | ContextID | cpu, |
int | index | ||
) |
Definition at line 147 of file sinic.cc.
References MipsISA::index, panic, and virtualRegs.
Referenced by prepareRead(), and prepareWrite().
void Sinic::Device::prepareRead | ( | ContextID | cpu, |
int | index | ||
) |
Definition at line 160 of file sinic.cc.
References PacketFifo::avail(), PacketFifo::begin(), PacketFifo::countPacketsAfter(), PacketFifo::empty(), MipsISA::index, PacketFifo::packets(), prepareIO(), regs, rxBusyCount, Sinic::Device::VirtualReg::RxData, rxDirtyCount, Sinic::Device::VirtualReg::RxDone, rxFifo, rxFifoPtr, rxLow, rxMappedCount, PacketFifo::size(), Sinic::Device::VirtualReg::TxData, Sinic::Device::VirtualReg::TxDone, txFifo, and virtualRegs.
Referenced by read().
void Sinic::Device::prepareWrite | ( | ContextID | cpu, |
int | index | ||
) |
Definition at line 201 of file sinic.cc.
References MipsISA::index, and prepareIO().
Referenced by write().
Memory Interface.
I/O read of device register.
Implements PioDevice.
Definition at line 210 of file sinic.cc.
References PciDevice::BARAddrs, PciDevice::BARSize, PCIConfig::command, PciDevice::config, devIntrClear(), DPRINTF, Packet::getAddr(), Packet::getSize(), MipsISA::index, Sinic::Regs::Info::name, panic, PCI_CMD_MSE, PciDevice::pioDelay, prepareRead(), Sinic::Regs::Info::read, X86ISA::reg, regData32(), regData64(), Sinic::regInfo(), Sinic::regValid(), Packet::req, Packet::setLE(), Sinic::Regs::VirtualMask, and Sinic::Regs::VirtualShift.
bool Sinic::Device::recvPacket | ( | EthPacketPtr | packet | ) |
device ethernet interface
Definition at line 1151 of file sinic.cc.
References PacketFifo::avail(), devIntrPost(), DPRINTF, PacketFifo::end(), PacketFifo::push(), regs, EtherDevice::rxBytes, Sinic::Base::rxEnable, rxFifo, rxFifoPtr, rxFilter(), rxKick(), EtherDevice::rxPackets, and PacketFifo::size().
Referenced by Sinic::Interface::recvPacket().
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
Definition at line 166 of file sinic.hh.
References regs.
Referenced by regData32(), and regData64().
|
overridevirtual |
Callback to set stat parameters.
This callback is typically used for complex stats (e.g., distributions) that need parameters in addition to a name and a description. Stat names and descriptions should typically be set from the constructor usingo from the constructor using the ADD_STAT macro.
Reimplemented from EtherDevice.
Definition at line 101 of file sinic.cc.
References _maxVnicDistance, avgVnicDistance, Stats::DataWrap< Derived, InfoProxyType >::desc(), maxVnicDistance, SimObject::name(), Stats::DataWrap< Derived, InfoProxyType >::name(), numVnicDistance, EtherDevice::regStats(), and totalVnicDistance.
|
protected |
Definition at line 607 of file sinic.cc.
References PacketFifo::clear(), PacketFifo::end(), ArmISA::i, panic, Sinic::Base::params(), regs, rxActive, rxBusy, rxBusyCount, rxDirtyCount, rxEmpty, rxFifo, rxFifoPtr, rxIdle, rxList, rxLow, rxMappedCount, rxState, txFifo, txFull, txIdle, txList, txState, and virtualRegs.
Referenced by command().
|
overridevirtual |
Callback to reset stats.
Reimplemented from Stats::Group.
Definition at line 130 of file sinic.cc.
References _maxVnicDistance, and Stats::Group::resetStats().
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 693 of file sinic.cc.
References _maxVnicDistance, PacketFifo::check(), Net::cksum(), PacketFifo::countPacketsBefore(), curTick(), devIntrPost(), DmaDevice::dmaPending(), DmaDevice::dmaWrite(), DPRINTF, Drainable::drainState(), DTRACE, PacketFifo::empty(), PacketFifo::end(), X86ISA::exit, ArmISA::i, iGbReg::TxdOp::ip(), LL, maxVnicDistance, numVnicDistance, panic, PciDevice::pciToDma(), regs, PacketFifo::remove(), Running, rxActive, rxBeginCopy, rxBusy, rxBusyCount, rxCopy, rxCopyDone, Sinic::Device::VirtualReg::RxData, rxDirtyCount, rxDmaAddr, rxDmaData, rxDmaEvent, rxDmaLen, Sinic::Device::VirtualReg::RxDone, Sinic::Device::VirtualReg::rxDoneData, rxEmpty, rxFifo, rxFifoBlock, rxFifoPtr, rxIdle, Sinic::Device::VirtualReg::rxIndex, EtherDevice::rxIpChecksums, rxKickTick, rxList, rxLow, rxMappedCount, Sinic::Device::VirtualReg::rxPacketBytes, Sinic::Device::VirtualReg::rxPacketOffset, rxState, Sinic::RxStateStrings, EtherDevice::rxTcpChecksums, EtherDevice::rxUdpChecksums, Sinic::Device::VirtualReg::rxUnique, PacketFifo::size(), ArmISA::status, iGbReg::TxdOp::tcp(), totalVnicDistance, and virtualRegs.
Referenced by changeConfig(), drainResume(), recvPacket(), rxDmaDone(), txDmaDone(), and write().
|
overridevirtual |
Serialization stuff.
Reimplemented from Sinic::Base.
Definition at line 1249 of file sinic.cc.
References PacketFifo::begin(), X86ISA::count, PacketFifo::countPacketsBefore(), csprintf(), curTick(), PacketFifo::end(), ArmISA::i, panic, paramOut(), X86ISA::reg, regs, rxActive, rxBusy, rxBusyCount, rxCopy, Sinic::Device::VirtualReg::RxData, rxDirtyCount, Sinic::Device::VirtualReg::RxDone, Sinic::Device::VirtualReg::rxDoneData, rxEmpty, rxFifo, rxFifoPtr, Sinic::Device::VirtualReg::rxIndex, rxList, rxLow, rxMappedCount, Sinic::Device::VirtualReg::rxPacketBytes, Sinic::Device::VirtualReg::rxPacketOffset, rxState, Sinic::RxStateStrings, Event::scheduled(), Sinic::Base::serialize(), PacketFifo::serialize(), SERIALIZE_SCALAR, txCopy, Sinic::Device::VirtualReg::TxData, Sinic::Device::VirtualReg::TxDone, txEvent, txFifo, txFull, txList, txPacket, txPacketBytes, txPacketOffset, txState, Sinic::TxStateStrings, virtualRegs, and Event::when().
void Sinic::Device::transferDone | ( | ) |
Definition at line 1127 of file sinic.cc.
References Clocked::clockEdge(), DPRINTF, PacketFifo::empty(), EventManager::reschedule(), txEvent, and txFifo.
Referenced by Sinic::Interface::sendDone().
|
protected |
Retransmit event.
Definition at line 963 of file sinic.cc.
References PacketFifo::avail(), DDUMP, devIntrPost(), DPRINTF, DTRACE, PacketFifo::empty(), PacketFifo::front(), Sinic::Base::interface, iGbReg::TxdOp::ip(), PacketFifo::pop(), regs, EtherInt::sendPacket(), PacketFifo::size(), iGbReg::TxdOp::tcp(), EtherDevice::txBytes, txFifo, and EtherDevice::txPackets.
Referenced by txEventTransmit(), and txKick().
|
protected |
|
protected |
|
inlineprotected |
Definition at line 203 of file sinic.hh.
References transmit(), txFifoBlock, txKick(), and txState.
Referenced by Device().
|
protected |
Definition at line 1009 of file sinic.cc.
References PacketFifo::avail(), Net::cksum(), curTick(), devIntrPost(), DmaDevice::dmaPending(), DmaDevice::dmaRead(), DPRINTF, Drainable::drainState(), X86ISA::exit, iGbReg::TxdOp::ip(), panic, PciDevice::pciToDma(), PacketFifo::push(), regs, Running, PacketFifo::size(), Net::UdpHdr::sum(), iGbReg::TxdOp::tcp(), transmit(), txBeginCopy, txCopy, txCopyDone, Sinic::Device::VirtualReg::TxData, txDmaAddr, txDmaData, txDmaEvent, txDmaLen, Sinic::Device::VirtualReg::TxDone, txFifo, txFifoBlock, txFull, txIdle, EtherDevice::txIpChecksums, txKickTick, txList, txPacket, txPacketOffset, txState, Sinic::TxStateStrings, EtherDevice::txTcpChecksums, EtherDevice::txUdpChecksums, and virtualRegs.
Referenced by changeConfig(), drainResume(), rxDmaDone(), txDmaDone(), txEventTransmit(), and write().
|
overridevirtual |
Unserialize an object.
Read an object's state from the current checkpoint section.
cp | Checkpoint state |
Reimplemented from Sinic::Base.
Definition at line 1364 of file sinic.cc.
References PacketFifo::begin(), csprintf(), curTick(), PacketFifo::end(), ArmISA::i, paramIn(), PioDevice::pioPort, X86ISA::reg, regs, rxActive, rxBusy, rxBusyCount, Sinic::Device::VirtualReg::RxData, rxDirtyCount, Sinic::Device::VirtualReg::RxDone, Sinic::Device::VirtualReg::rxDoneData, rxEmpty, rxFifo, rxFifoPtr, Sinic::Device::VirtualReg::rxIndex, rxList, rxLow, rxMappedCount, Sinic::Device::VirtualReg::rxPacketBytes, Sinic::Device::VirtualReg::rxPacketOffset, rxState, Sinic::Device::VirtualReg::rxUnique, rxUnique, EventManager::schedule(), ResponsePort::sendRangeChange(), Sinic::Device::VirtualReg::TxData, Sinic::Device::VirtualReg::TxDone, txEvent, txFifo, txFull, txList, txPacket, txPacketBytes, txPacketOffset, txState, Sinic::Device::VirtualReg::txUnique, txUnique, Sinic::Base::unserialize(), PacketFifo::unserialize(), UNSERIALIZE_SCALAR, and virtualRegs.
IPR read of device register.
Fault Device::iprRead(Addr daddr, ContextID cpu, uint64_t &result) { if (!regValid(daddr)) panic("invalid address: da=%#x", daddr);
const Regs::Info &info = regInfo(daddr); if (!info.read) panic("reading %s (write only): cpu=%d da=%#x", info.name, cpu, daddr);
DPRINTF(EthernetPIO, "IPR read %s: cpu=%d da=%#x\n", info.name, cpu, daddr);
prepareRead(cpu, 0);
if (info.size == 4) result = regData32(daddr);
if (info.size == 8) result = regData64(daddr);
DPRINTF(EthernetPIO, "IPR read %s: cpu=%s da=%#x val=%#x\n", info.name, cpu, result);
return NoFault; } I/O write of device register
Implements PioDevice.
Definition at line 295 of file sinic.cc.
References PciDevice::BARAddrs, PciDevice::BARSize, changeConfig(), PCIConfig::command, command(), PciDevice::config, devIntrChangeMask(), devIntrClear(), DPRINTF, PacketFifo::end(), Packet::getAddr(), Packet::getLE(), Packet::getSize(), MipsISA::index, Sinic::Regs::Info::name, panic, PCI_CMD_MSE, PciDevice::pioDelay, prepareWrite(), Sinic::regInfo(), regs, Sinic::regValid(), Packet::req, rxBusy, rxBusyCount, Sinic::Device::VirtualReg::RxData, Sinic::Device::VirtualReg::RxDone, Sinic::Base::rxEnable, rxFifo, rxFifoBlock, rxIdle, Sinic::Device::VirtualReg::rxIndex, rxKick(), rxList, rxState, Sinic::RxStateStrings, Sinic::Device::VirtualReg::rxUnique, rxUnique, Sinic::Regs::Info::size, Sinic::Device::VirtualReg::TxDone, Sinic::Base::txEnable, txFifoBlock, txIdle, txKick(), txList, txState, Sinic::TxStateStrings, Sinic::Device::VirtualReg::txUnique, txUnique, Sinic::Regs::VirtualMask, virtualRegs, Sinic::Regs::VirtualShift, and Sinic::Regs::Info::write.
|
private |
Definition at line 279 of file sinic.hh.
Referenced by regStats(), resetStats(), and rxKick().
|
private |
Definition at line 277 of file sinic.hh.
Referenced by regStats().
|
private |
Definition at line 276 of file sinic.hh.
Referenced by regStats(), and rxKick().
|
private |
Definition at line 275 of file sinic.hh.
Referenced by regStats(), and rxKick().
struct { ... } Sinic::Device::regs |
device register file
Referenced by changeConfig(), devIntrChangeMask(), devIntrClear(), devIntrPost(), prepareRead(), recvPacket(), regData8(), reset(), rxFilter(), rxKick(), serialize(), transmit(), txKick(), unserialize(), and write().
|
protected |
Definition at line 159 of file sinic.hh.
Referenced by reset(), rxKick(), serialize(), and unserialize().
|
protected |
Definition at line 158 of file sinic.hh.
Referenced by reset(), rxKick(), serialize(), unserialize(), and write().
|
protected |
Definition at line 162 of file sinic.hh.
Referenced by prepareRead(), reset(), rxKick(), serialize(), unserialize(), and write().
|
protected |
Definition at line 164 of file sinic.hh.
Referenced by prepareRead(), reset(), rxKick(), serialize(), and unserialize().
|
protected |
Definition at line 176 of file sinic.hh.
Referenced by rxDmaDone(), and rxKick().
|
protected |
Definition at line 177 of file sinic.hh.
Referenced by rxDmaDone(), and rxKick().
|
protected |
|
protected |
Definition at line 178 of file sinic.hh.
Referenced by rxDmaDone(), and rxKick().
|
protected |
Definition at line 174 of file sinic.hh.
Referenced by devIntrPost(), reset(), rxKick(), serialize(), and unserialize().
|
protected |
Definition at line 172 of file sinic.hh.
Referenced by prepareRead(), recvPacket(), reset(), rxKick(), serialize(), unserialize(), and write().
|
protected |
Definition at line 173 of file sinic.hh.
Referenced by prepareRead(), recvPacket(), reset(), rxKick(), serialize(), and unserialize().
|
protected |
|
protected |
Definition at line 157 of file sinic.hh.
Referenced by reset(), rxKick(), serialize(), unserialize(), and write().
|
protected |
Definition at line 175 of file sinic.hh.
Referenced by prepareRead(), reset(), rxKick(), serialize(), and unserialize().
|
protected |
Definition at line 163 of file sinic.hh.
Referenced by prepareRead(), reset(), rxKick(), serialize(), and unserialize().
|
protected |
Definition at line 171 of file sinic.hh.
Referenced by reset(), rxDmaDone(), rxKick(), serialize(), txDmaDone(), unserialize(), and write().
|
protected |
Definition at line 154 of file sinic.hh.
Referenced by unserialize(), and write().
|
private |
|
protected |
Definition at line 186 of file sinic.hh.
Referenced by txDmaDone(), and txKick().
|
protected |
Definition at line 187 of file sinic.hh.
Referenced by txDmaDone(), and txKick().
|
protected |
|
protected |
Definition at line 188 of file sinic.hh.
Referenced by txDmaDone(), and txKick().
|
protected |
Definition at line 209 of file sinic.hh.
Referenced by serialize(), transferDone(), and unserialize().
|
protected |
Definition at line 181 of file sinic.hh.
Referenced by prepareRead(), reset(), serialize(), transferDone(), transmit(), txKick(), and unserialize().
|
protected |
Definition at line 182 of file sinic.hh.
Referenced by devIntrPost(), reset(), serialize(), txKick(), and unserialize().
|
protected |
|
protected |
Definition at line 160 of file sinic.hh.
Referenced by reset(), serialize(), txKick(), unserialize(), and write().
|
protected |
Definition at line 183 of file sinic.hh.
Referenced by serialize(), txKick(), and unserialize().
|
protected |
Definition at line 185 of file sinic.hh.
Referenced by serialize(), and unserialize().
|
protected |
Definition at line 184 of file sinic.hh.
Referenced by serialize(), txKick(), and unserialize().
|
protected |
Definition at line 180 of file sinic.hh.
Referenced by reset(), rxDmaDone(), serialize(), txDmaDone(), txEventTransmit(), txKick(), unserialize(), and write().
|
protected |
Definition at line 155 of file sinic.hh.
Referenced by unserialize(), and write().
|
protected |
Definition at line 156 of file sinic.hh.
Referenced by prepareIO(), prepareRead(), reset(), rxKick(), serialize(), txKick(), unserialize(), and write().