summaryrefslogtreecommitdiff
path: root/src/mem/qport.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/qport.hh')
-rw-r--r--src/mem/qport.hh27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/mem/qport.hh b/src/mem/qport.hh
index 1d0544dfa..b771f6984 100644
--- a/src/mem/qport.hh
+++ b/src/mem/qport.hh
@@ -84,6 +84,15 @@ class QueuedSlavePort : public SlavePort
virtual ~QueuedSlavePort() { }
+ /**
+ * Schedule the sending of a timing response.
+ *
+ * @param pkt Packet to send
+ * @param when Absolute time (in ticks) to send packet
+ */
+ void schedTimingResp(PacketPtr pkt, Tick when)
+ { queue.schedSendTiming(pkt, when); }
+
/** Check the list of buffered packets against the supplied
* functional request. */
bool checkFunctional(PacketPtr pkt) { return queue.checkFunctional(pkt); }
@@ -125,6 +134,24 @@ class QueuedMasterPort : public MasterPort
virtual ~QueuedMasterPort() { }
+ /**
+ * Schedule the sending of a timing request.
+ *
+ * @param pkt Packet to send
+ * @param when Absolute time (in ticks) to send packet
+ */
+ void schedTimingReq(PacketPtr pkt, Tick when)
+ { queue.schedSendTiming(pkt, when); }
+
+ /**
+ * Schedule the sending of a timing snoop response.
+ *
+ * @param pkt Packet to send
+ * @param when Absolute time (in ticks) to send packet
+ */
+ void schedTimingSnoopResp(PacketPtr pkt, Tick when)
+ { queue.schedSendTiming(pkt, when, true); }
+
/** Check the list of buffered packets against the supplied
* functional request. */
bool checkFunctional(PacketPtr pkt) { return queue.checkFunctional(pkt); }