Gabe Black has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/51529 )

Change subject: mem: Stop using SlavePort as a base class.
......................................................................

mem: Stop using SlavePort as a base class.

There are other classes like "ExternalSlave" which still have the word
"Slave" in them, but at least this will make the build quit complaining
about the deprecated SlavePort.

Change-Id: I917c2880574cb77ea37c69dc2727ac5e84b83cd5
---
M src/mem/external_slave.hh
1 file changed, 16 insertions(+), 3 deletions(-)



diff --git a/src/mem/external_slave.hh b/src/mem/external_slave.hh
index 51c884b..17ab42a 100644
--- a/src/mem/external_slave.hh
+++ b/src/mem/external_slave.hh
@@ -69,7 +69,7 @@
 {
   public:
     /** Derive from this class to create an external port interface */
-    class ExternalPort : public SlavePort
+    class ExternalPort : public ResponsePort
     {
       protected:
         ExternalSlave &owner;
@@ -77,7 +77,7 @@
       public:
         ExternalPort(const std::string &name_,
             ExternalSlave &owner_) :
-            SlavePort(name_, &owner_), owner(owner_)
+            ResponsePort(name_, &owner_), owner(owner_)
         { }

         ~ExternalPort() { }
@@ -90,7 +90,7 @@

     /* Handlers are specific to *types* of port not specific port
      * instantiations.  A handler will typically build a bridge to the
- * external port from gem5 and provide gem5 with a SlavePort that can be + * external port from gem5 and provide gem5 with a ResponsePort that can be
      * bound to for each call to Handler::getExternalPort.*/
     class Handler
     {

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/51529
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I917c2880574cb77ea37c69dc2727ac5e84b83cd5
Gerrit-Change-Number: 51529
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <gabe.bl...@gmail.com>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to