Go to the documentation of this file.
29 #ifndef __DEV_NET_SINIC_HH__
30 #define __DEV_NET_SINIC_HH__
41 #include "params/Sinic.hh"
254 void devIntrClear(uint32_t interrupts = Regs::Intr_All);
316 #endif // __DEV_NET_SINIC_HH__
PacketFifo::iterator rxIndex
Interface(const std::string &name, Device *d)
EventFunctionWrapper rxDmaEvent
const PortID InvalidPortID
void cpuIntrPost(Tick when)
void regStats() override
Callback to set stat parameters.
std::list< unsigned > VirtualList
virtual void drainResume() override
Resume execution after a successful drain.
int ContextID
Globally unique thread context ID.
void unserialize(CheckpointIn &cp) override
Unserialize an object.
Tick read(PacketPtr pkt) override
Memory Interface.
Tick write(PacketPtr pkt) override
IPR read of device register.
uint64_t Tick
Tick count type.
struct Sinic::Device::@93 regs
device register file
int16_t PortID
Port index/ID type, and a symbolic name for an invalid port id.
EventFunctionWrapper txEvent
void changeConfig(uint32_t newconfig)
device configuration
const Params * params() const
void devIntrChangeMask(uint32_t newmask)
This is a simple scalar statistic, like a counter.
int64_t Counter
Statistics counter type.
void prepareIO(ContextID cpu, int index)
void devIntrClear(uint32_t interrupts=Regs::Intr_All)
Stats::Formula avgVnicDistance
void resetStats() override
Callback to reset stats.
void serialize(CheckpointOut &cp) const override
Serialization stuff.
Ports are used to interface objects to each other.
RxState
Receive State Machine States.
bool cpuIntrPending() const
Port & getPort(const std::string &if_name, PortID idx=InvalidPortID) override
Get a port with a given name and index.
Stats::Scalar totalVnicDistance
Statistics.
void devIntrPost(uint32_t interrupts)
Interrupt management.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
TxState
Transmit State Machine states.
void prepareWrite(ContextID cpu, int index)
fifo_list::iterator iterator
void rxDmaDone()
DMA parameters.
void prepareRead(ContextID cpu, int index)
void transmit()
Retransmit event.
EventFunctionWrapper * intrEvent
SinicParams Params
Construction/Destruction/Parameters.
bool rxFilter(const EthPacketPtr &packet)
receive address filter
uint64_t & regData64(Addr daddr)
std::shared_ptr< EthPacketData > EthPacketPtr
const std::string & name() const
Return port name (for DPRINTF).
bool recvPacket(EthPacketPtr packet)
device ethernet interface
std::vector< VirtualReg > VirtualRegs
EventFunctionWrapper txDmaEvent
const SimObjectParams * _params
Cached copy of the object parameters.
uint32_t & regData32(Addr daddr)
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
void unserialize(CheckpointIn &cp) override
Unserialize an object.
void command(uint32_t command)
Stats::Scalar maxVnicDistance
Stats::Scalar numVnicDistance
std::ostream CheckpointOut
Dummy class to keep the Python class hierarchy in sync with the C++ object hierarchy.
void serialize(CheckpointOut &cp) const override
Serialization stuff.
uint8_t & regData8(Addr daddr)
PacketFifo::iterator rxFifoPtr
virtual bool recvPacket(EthPacketPtr pkt)
Generated on Wed Sep 30 2020 14:02:11 for gem5 by doxygen 1.8.17