Lines Matching defs:RubyPort

42 #include "mem/ruby/system/RubyPort.hh"
54 RubyPort::RubyPort(const Params *p)
84 RubyPort::init()
91 RubyPort::getPort(const std::string &if_name, PortID idx)
105 panic("RubyPort::getPort master: unknown index %d\n", idx);
113 panic("RubyPort::getPort slave: unknown index %d\n", idx);
123 RubyPort::PioMasterPort::PioMasterPort(const std::string &_name,
124 RubyPort *_port)
128 DPRINTF(RubyPort, "Created master pioport on sequencer %s\n", _name);
131 RubyPort::PioSlavePort::PioSlavePort(const std::string &_name,
132 RubyPort *_port)
135 DPRINTF(RubyPort, "Created slave pioport on sequencer %s\n", _name);
138 RubyPort::MemMasterPort::MemMasterPort(const std::string &_name,
139 RubyPort *_port)
143 DPRINTF(RubyPort, "Created master memport on ruby sequencer %s\n", _name);
146 RubyPort::MemSlavePort::MemSlavePort(const std::string &_name, RubyPort *_port,
153 DPRINTF(RubyPort, "Created slave memport on ruby sequencer %s\n", _name);
157 RubyPort::PioMasterPort::recvTimingResp(PacketPtr pkt)
159 RubyPort *rp = static_cast<RubyPort *>(&owner);
160 DPRINTF(RubyPort, "Response for address: 0x%#x\n", pkt->getAddr());
168 bool RubyPort::MemMasterPort::recvTimingResp(PacketPtr pkt)
174 RubyPort::SenderState *senderState =
175 safe_cast<RubyPort::SenderState *>(pkt->popSenderState());
182 DPRINTF(RubyPort, "Pio response for address %#x, going to %s\n",
186 RubyPort *rp = static_cast<RubyPort *>(&owner);
193 RubyPort::PioSlavePort::recvTimingReq(PacketPtr pkt)
195 RubyPort *ruby_port = static_cast<RubyPort *>(&owner);
214 RubyPort::PioSlavePort::recvAtomic(PacketPtr pkt)
216 RubyPort *ruby_port = static_cast<RubyPort *>(&owner);
234 RubyPort::MemSlavePort::recvTimingReq(PacketPtr pkt)
236 DPRINTF(RubyPort, "Timing request for address %#x on port %d\n",
238 RubyPort *ruby_port = static_cast<RubyPort *>(&owner);
241 panic("RubyPort should never see request with the "
257 DPRINTF(RubyPort, "Request address %#x assumed to be a "
286 DPRINTF(RubyPort, "Request %s address %#x issued\n", pkt->cmdString(),
292 DPRINTF(RubyPort,
304 RubyPort::MemSlavePort::recvAtomic(PacketPtr pkt)
306 RubyPort *ruby_port = static_cast<RubyPort *>(&owner);
317 DPRINTF(RubyPort, "Request address %#x assumed to be a "
346 RubyPort::MemSlavePort::addToRetryList()
348 RubyPort *ruby_port = static_cast<RubyPort *>(&owner);
361 RubyPort::MemSlavePort::recvFunctional(PacketPtr pkt)
363 DPRINTF(RubyPort, "Functional access for address: %#x\n", pkt->getAddr());
365 RubyPort *rp M5_VAR_USED = static_cast<RubyPort *>(&owner);
371 DPRINTF(RubyPort, "Pio Request for address: 0x%#x\n", pkt->getAddr());
411 DPRINTF(RubyPort, "Functional access %s!\n",
417 RubyPort::ruby_hit_callback(PacketPtr pkt)
419 DPRINTF(RubyPort, "Hit callback for %s 0x%x\n", pkt->cmdString(),
428 RubyPort::SenderState *senderState =
429 safe_cast<RubyPort::SenderState *>(pkt->popSenderState());
440 RubyPort::trySendRetries()
457 DPRINTF(RubyPort,
466 RubyPort::testDrainComplete()
473 DPRINTF(Drain, "RubyPort done draining, signaling drain done\n");
480 RubyPort::drain()
487 // If the RubyPort is not empty, then it needs to clear all outstanding
492 DPRINTF(Drain, "RubyPort not drained\n");
500 RubyPort::MemSlavePort::hitCallback(PacketPtr pkt)
518 // the RubyPort itself must convert it to a response.
541 DPRINTF(RubyPort, "Hit callback needs response %d\n", needsResponse);
543 RubyPort *ruby_port = static_cast<RubyPort *>(&owner);
553 DPRINTF(RubyPort, "Sending packet back over port\n");
562 DPRINTF(RubyPort, "Hit callback done!\n");
566 RubyPort::PioSlavePort::getAddrRanges() const
570 RubyPort *ruby_port = static_cast<RubyPort *>(&owner);
577 DPRINTF(RubyPort, "%s\n", r.to_string());
582 RubyPort::MemSlavePort::isPhysMemAddress(Addr addr) const
584 RubyPort *ruby_port = static_cast<RubyPort *>(&owner);
589 RubyPort::ruby_eviction_callback(Addr address)
591 DPRINTF(RubyPort, "Sending invalidations.\n");
612 RubyPort::PioMasterPort::recvRangeChange()
614 RubyPort &r = static_cast<RubyPort &>(owner);