Eden Avivi has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/33495 )

Change subject: misc: Master/Slave termonology
......................................................................

misc: Master/Slave termonology

Changed IntMasterPort and IntSlavePort

Change-Id: I72dd40f1f08b8d4e41d31bb640e1b9a334f9d007
---
M src/arch/x86/interrupts.hh
M src/dev/x86/i82094aa.hh
M src/dev/x86/intdev.hh
3 files changed, 7 insertions(+), 7 deletions(-)



diff --git a/src/arch/x86/interrupts.hh b/src/arch/x86/interrupts.hh
index c1b2565..d0c984e 100644
--- a/src/arch/x86/interrupts.hh
+++ b/src/arch/x86/interrupts.hh
@@ -174,8 +174,8 @@
     int initialApicId;

     // Ports for interrupts.
-    IntSlavePort<Interrupts> intSlavePort;
-    IntMasterPort<Interrupts> intMasterPort;
+    IntResponsePort<Interrupts> intSlavePort;
+    IntRequestPort<Interrupts> intMasterPort;

     // Port for memory mapped register accesses.
     PioPort<Interrupts> pioPort;
diff --git a/src/dev/x86/i82094aa.hh b/src/dev/x86/i82094aa.hh
index 2c81e27..678a24f 100644
--- a/src/dev/x86/i82094aa.hh
+++ b/src/dev/x86/i82094aa.hh
@@ -82,7 +82,7 @@

     std::vector<IntSinkPin<I82094AA> *> inputs;

-    IntMasterPort<I82094AA> intMasterPort;
+    IntRequestPort<I82094AA> intMasterPort;

   public:
     typedef I82094AAParams Params;
diff --git a/src/dev/x86/intdev.hh b/src/dev/x86/intdev.hh
index 815406a..befcb7e 100644
--- a/src/dev/x86/intdev.hh
+++ b/src/dev/x86/intdev.hh
@@ -53,12 +53,12 @@
 {

 template <class Device>
-class IntSlavePort : public SimpleTimingPort
+class IntResponsePort : public SimpleTimingPort
 {
     Device * device;

   public:
-    IntSlavePort(const std::string& _name, SimObject* _parent,
+    IntResponsePort(const std::string& _name, SimObject* _parent,
                  Device* dev) :
         SimpleTimingPort(_name, _parent), device(dev)
     {
@@ -94,7 +94,7 @@
 }

 template <class Device>
-class IntMasterPort : public QueuedRequestPort
+class IntRequestPort : public QueuedRequestPort
 {
   private:
     ReqPacketQueue reqQueue;
@@ -113,7 +113,7 @@
     static void defaultOnCompletion(PacketPtr pkt) { delete pkt; }

   public:
-    IntMasterPort(const std::string& _name, SimObject* _parent,
+    IntRequestPort(const std::string& _name, SimObject* _parent,
                   Device* dev, Tick _latency) :
         QueuedRequestPort(_name, _parent, reqQueue, snoopRespQueue),
         reqQueue(*_parent, *this), snoopRespQueue(*_parent, *this),

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/33495
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: I72dd40f1f08b8d4e41d31bb640e1b9a334f9d007
Gerrit-Change-Number: 33495
Gerrit-PatchSet: 1
Gerrit-Owner: Eden Avivi <eav...@ucdavis.edu>
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