gem5
|
#include <sinic.hh>
Classes | |
struct | VirtualReg |
Public Member Functions | |
bool | recvPacket (EthPacketPtr packet) |
device ethernet interface More... | |
void | transferDone () |
EtherInt * | getEthPort (const std::string &if_name, int idx) override |
Additional function to return the Port of a memory object. 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 |
Register statistics for this object. More... | |
void | resetStats () override |
Reset statistics associated with this object. 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, 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 |
BaseMasterPort & | getMasterPort (const std::string &if_name, PortID idx=InvalidPortID) override |
Get a master port with a given name and index. More... | |
Public Member Functions inherited from PioDevice | |
PioDevice (const Params *p) | |
virtual | ~PioDevice () |
const Params * | params () const |
virtual BaseSlavePort & | getSlavePort (const std::string &if_name, PortID idx=InvalidPortID) |
Get a slave port with a given name and index. More... | |
Public Member Functions inherited from MemObject | |
const Params * | params () const |
MemObject (const Params *params) | |
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... | |
Enums::PwrState | pwrState () const |
std::string | pwrStateName () const |
std::vector< double > | pwrStateWeights () const |
Returns the percentage residency for each power state. More... | |
void | computeStats () |
Record stats values like state residency by computing the time difference from previous update. More... | |
void | pwrState (Enums::PwrState) |
void | regStats () override |
Register statistics for this 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 | |
EventManager (EventManager &em) | |
EventManager (EventManager *em) | |
EventManager (EventQueue *eq) | |
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) |
void | setCurTick (Tick newVal) |
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 Clocked | |
void | updateClockPeriod () const |
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 |
typedef EventWrapper< Device,&Device::rxKick > | RxKickEvent |
typedef EventWrapper< Device,&Device::txKick > | TxKickEvent |
typedef EventWrapper< Device,&Device::txEventTransmit > | TxEvent |
Protected Types inherited from Sinic::Base | |
typedef EventWrapper< Base,&Base::cpuInterrupt > | IntrEvent |
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 | 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... | |
Private Attributes | |
Stats::Scalar | totalVnicDistance |
Statistics. More... | |
Stats::Scalar | numVnicDistance |
Stats::Scalar | maxVnicDistance |
Stats::Formula | avgVnicDistance |
int | _maxVnicDistance |
Friends | |
class | EventWrapper< Device,&Device::rxDmaDone > |
class | EventWrapper< Device,&Device::txDmaDone > |
void | RxKickEvent::process () |
void | TxKickEvent::process () |
void | TxEvent::process () |
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 MemObject | |
typedef MemObjectParams | 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 () |
Get the fully-qualified name of the active section. More... | |
static void | serializeAll (const std::string &cpt_dir) |
static void | unserializeGlobals (CheckpointIn &cp) |
Static Public Attributes inherited from Serializable | |
static int | ckptCount = 0 |
static int | ckptMaxCount = 0 |
static int | ckptPrevCount = -1 |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Sinic::Device::Device | ( | const Params * | p | ) |
|
protected |
device configuration
Definition at line 589 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 621 of file sinic.cc.
References devIntrPost(), and reset().
Referenced by write().
|
protected |
Definition at line 485 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 433 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 |
Additional function to return the Port of a memory object.
Implements EtherDevice.
Definition at line 144 of file sinic.cc.
References EtherInt::getPeer(), Sinic::Base::interface, and panic.
void Sinic::Device::prepareIO | ( | ContextID | cpu, |
int | index | ||
) |
Definition at line 157 of file sinic.cc.
References panic, X86ISA::size(), and virtualRegs.
Referenced by prepareRead(), and prepareWrite().
void Sinic::Device::prepareRead | ( | ContextID | cpu, |
int | index | ||
) |
Definition at line 170 of file sinic.cc.
References PacketFifo::avail(), PacketFifo::begin(), PacketFifo::countPacketsAfter(), PacketFifo::empty(), MipsISA::index, PacketFifo::packets(), prepareIO(), regs, rxBusyCount, rxDirtyCount, rxFifo, rxFifoPtr, rxLow, rxMappedCount, PacketFifo::size(), txFifo, and virtualRegs.
Referenced by read().
void Sinic::Device::prepareWrite | ( | ContextID | cpu, |
int | index | ||
) |
Memory Interface.
I/O read of device register.
Implements PioDevice.
Definition at line 220 of file sinic.cc.
References PciDevice::BARAddrs, PciDevice::BARSize, PCIConfig::command, PciDevice::config, Request::contextId(), devIntrClear(), DPRINTF, Packet::getAddr(), Packet::getSize(), MipsISA::index, M5_VAR_USED, panic, PCI_CMD_MSE, PciDevice::pioDelay, prepareRead(), X86ISA::reg, regData32(), regData64(), Sinic::regInfo(), Sinic::regValid(), Packet::req, Packet::set(), Sinic::Regs::VirtualMask, and Sinic::Regs::VirtualShift.
bool Sinic::Device::recvPacket | ( | EthPacketPtr | packet | ) |
device ethernet interface
Definition at line 1209 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 170 of file sinic.hh.
References regs.
Referenced by regData32(), and regData64().
|
overridevirtual |
Register statistics for this object.
Reimplemented from EtherDevice.
Definition at line 107 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 631 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, X86ISA::size(), txFifo, txFull, txIdle, txList, txState, and virtualRegs.
|
overridevirtual |
Reset statistics associated with this object.
Reimplemented from SimObject.
Definition at line 136 of file sinic.cc.
References _maxVnicDistance, and SimObject::resetStats().
|
protected |
|
protected |
|
protected |
receive address filter
Definition at line 1164 of file sinic.cc.
References DDUMP, DPRINTF, Net::EthHdr::dst(), panic, Sinic::Base::params(), regs, Net::EthHdr::type(), and X86ISA::type.
Referenced by recvPacket().
|
protected |
Definition at line 717 of file sinic.cc.
References _maxVnicDistance, Net::TcpHdr::ack(), PacketFifo::check(), Net::cksum(), PacketFifo::countPacketsBefore(), curTick(), devIntrPost(), DmaDevice::dmaPending(), DmaDevice::dmaWrite(), Net::TcpHdr::dport(), DPRINTF, Drainable::drainState(), DTRACE, PacketFifo::empty(), PacketFifo::end(), X86ISA::exit, ArmISA::i, Net::IpHdr::id(), 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, Net::TcpHdr::seq(), PacketFifo::size(), X86ISA::size(), Net::TcpHdr::sport(), 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 1306 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 1151 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 987 of file sinic.cc.
References PacketFifo::avail(), DDUMP, devIntrPost(), DPRINTF, DTRACE, PacketFifo::empty(), PacketFifo::front(), Net::IpHdr::id(), 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 211 of file sinic.hh.
References transmit(), txFifoBlock, txKick(), and txState.
|
protected |
Definition at line 1033 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::IpHdr::sum(), Net::TcpHdr::sum(), Net::UdpHdr::sum(), iGbReg::TxdOp::tcp(), transmit(), txBeginCopy, txCopy, txCopyDone, txDmaAddr, txDmaData, txDmaEvent, txDmaLen, 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 1421 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(), SlavePort::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 305 of file sinic.cc.
References PciDevice::BARAddrs, PciDevice::BARSize, changeConfig(), PCIConfig::command, command(), PciDevice::config, Request::contextId(), devIntrChangeMask(), devIntrClear(), DPRINTF, PacketFifo::end(), Packet::get(), Packet::getAddr(), Packet::getSize(), MipsISA::index, 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::Device::VirtualReg::TxData, Sinic::Device::VirtualReg::TxDone, Sinic::Base::txEnable, txFifoBlock, txIdle, txKick(), txList, txState, Sinic::TxStateStrings, Sinic::Device::VirtualReg::txUnique, txUnique, MipsISA::vaddr, Sinic::Regs::VirtualMask, virtualRegs, Sinic::Regs::VirtualShift, and AlphaISA::vtophys().
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
private |
Definition at line 290 of file sinic.hh.
Referenced by regStats(), resetStats(), and rxKick().
|
private |
Definition at line 288 of file sinic.hh.
Referenced by regStats().
|
private |
Definition at line 287 of file sinic.hh.
Referenced by regStats(), and rxKick().
|
private |
Definition at line 286 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 163 of file sinic.hh.
Referenced by reset(), rxKick(), serialize(), and unserialize().
|
protected |
Definition at line 162 of file sinic.hh.
Referenced by reset(), rxKick(), serialize(), unserialize(), and write().
|
protected |
Definition at line 166 of file sinic.hh.
Referenced by prepareRead(), reset(), rxKick(), serialize(), unserialize(), and write().
|
protected |
Definition at line 168 of file sinic.hh.
Referenced by prepareRead(), reset(), rxKick(), serialize(), and unserialize().
|
protected |
Definition at line 180 of file sinic.hh.
Referenced by rxDmaDone(), and rxKick().
|
protected |
Definition at line 181 of file sinic.hh.
Referenced by rxDmaDone(), and rxKick().
|
protected |
|
protected |
Definition at line 182 of file sinic.hh.
Referenced by rxDmaDone(), and rxKick().
|
protected |
Definition at line 178 of file sinic.hh.
Referenced by devIntrPost(), reset(), rxKick(), serialize(), and unserialize().
|
protected |
Definition at line 176 of file sinic.hh.
Referenced by prepareRead(), recvPacket(), reset(), rxKick(), serialize(), unserialize(), and write().
|
protected |
Definition at line 177 of file sinic.hh.
Referenced by prepareRead(), recvPacket(), reset(), rxKick(), serialize(), and unserialize().
|
protected |
|
protected |
Definition at line 161 of file sinic.hh.
Referenced by reset(), rxKick(), serialize(), unserialize(), and write().
|
protected |
Definition at line 179 of file sinic.hh.
Referenced by prepareRead(), reset(), rxKick(), serialize(), and unserialize().
|
protected |
Definition at line 167 of file sinic.hh.
Referenced by prepareRead(), reset(), rxKick(), serialize(), and unserialize().
|
protected |
Definition at line 175 of file sinic.hh.
Referenced by reset(), rxDmaDone(), rxKick(), serialize(), txDmaDone(), unserialize(), and write().
|
protected |
Definition at line 158 of file sinic.hh.
Referenced by unserialize(), and write().
|
private |
|
protected |
Definition at line 190 of file sinic.hh.
Referenced by txDmaDone(), and txKick().
|
protected |
Definition at line 191 of file sinic.hh.
Referenced by txDmaDone(), and txKick().
|
protected |
|
protected |
Definition at line 192 of file sinic.hh.
Referenced by txDmaDone(), and txKick().
|
protected |
Definition at line 219 of file sinic.hh.
Referenced by serialize(), transferDone(), and unserialize().
|
protected |
Definition at line 185 of file sinic.hh.
Referenced by prepareRead(), reset(), serialize(), transferDone(), transmit(), txKick(), and unserialize().
|
protected |
Definition at line 186 of file sinic.hh.
Referenced by devIntrPost(), reset(), serialize(), txKick(), and unserialize().
|
protected |
|
protected |
Definition at line 164 of file sinic.hh.
Referenced by reset(), serialize(), txKick(), unserialize(), and write().
|
protected |
Definition at line 187 of file sinic.hh.
Referenced by serialize(), txKick(), and unserialize().
|
protected |
Definition at line 189 of file sinic.hh.
Referenced by serialize(), and unserialize().
|
protected |
Definition at line 188 of file sinic.hh.
Referenced by serialize(), txKick(), and unserialize().
|
protected |
Definition at line 184 of file sinic.hh.
Referenced by reset(), rxDmaDone(), serialize(), txDmaDone(), txEventTransmit(), txKick(), unserialize(), and write().
|
protected |
Definition at line 159 of file sinic.hh.
Referenced by unserialize(), and write().
|
protected |
Definition at line 160 of file sinic.hh.
Referenced by prepareIO(), prepareRead(), reset(), rxKick(), serialize(), txKick(), unserialize(), and write().