const std::string& systemc_name,
ExternalMaster& owner_,
Gem5SimControl& simControl)
- : ExternalMaster::Port(name_, owner_),
+ : ExternalMaster::ExternalPort(name_, owner_),
peq(this, &SCMasterPort::peq_cb),
waitForRetry(false),
pendingRequest(nullptr),
"received address range change but ignored it");
}
-ExternalMaster::Port*
+ExternalMaster::ExternalPort*
SCMasterPortHandler::getExternalPort(const std::string &name,
ExternalMaster &owner,
const std::string &port_data)
* It is assumed that the mode (atomic/timing) does not change during
* execution.
*/
-class SCMasterPort : public ExternalMaster::Port
+class SCMasterPort : public ExternalMaster::ExternalPort
{
private:
struct TlmSenderState : public Packet::SenderState
public:
SCMasterPortHandler(Gem5SimControl& control) : control(control) {}
- ExternalMaster::Port *getExternalPort(const std::string &name,
- ExternalMaster &owner,
- const std::string &port_data);
+ ExternalMaster::ExternalPort *
+ getExternalPort(const std::string &name, ExternalMaster &owner,
+ const std::string &port_data);
};
}
SCSlavePort::SCSlavePort(const std::string &name_,
const std::string &systemc_name,
ExternalSlave &owner_) :
- ExternalSlave::Port(name_, owner_),
+ ExternalSlave::ExternalPort(name_, owner_),
blockingRequest(NULL),
needToSendRequestRetry(false),
blockingResponse(NULL),
&SCSlavePort::nb_transport_bw);
}
-ExternalSlave::Port*
+ExternalSlave::ExternalPort*
SCSlavePortHandler::getExternalPort(const std::string &name,
ExternalSlave &owner,
const std::string &port_data)
* original packet as a payload extension, the packet can be restored and send
* back to the gem5 world upon receiving a response from the SystemC world.
*/
-class SCSlavePort : public ExternalSlave::Port
+class SCSlavePort : public ExternalSlave::ExternalPort
{
public:
/** One instance of pe and the related callback needed */
public:
SCSlavePortHandler(Gem5SimControl& control) : control(control) {}
- ExternalSlave::Port *getExternalPort(const std::string &name,
- ExternalSlave &owner,
- const std::string &port_data);
+ ExternalSlave::ExternalPort *
+ getExternalPort(const std::string &name, ExternalSlave &owner,
+ const std::string &port_data);
};
}