summaryrefslogtreecommitdiff
path: root/src/mem/coherent_bus.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/coherent_bus.hh')
-rw-r--r--src/mem/coherent_bus.hh11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mem/coherent_bus.hh b/src/mem/coherent_bus.hh
index 460afd828..b5f0cdee5 100644
--- a/src/mem/coherent_bus.hh
+++ b/src/mem/coherent_bus.hh
@@ -70,6 +70,11 @@ class CoherentBus : public BaseBus
protected:
/**
+ * Declare the single layer of this bus.
+ */
+ Layer layer;
+
+ /**
* Declaration of the coherent bus slave port type, one will be
* instantiated for each of the master ports connecting to the
* bus.
@@ -231,6 +236,10 @@ class CoherentBus : public BaseBus
snoop response.*/
virtual bool recvTimingSnoopResp(PacketPtr pkt, PortID slave_port_id);
+ /** Timing function called by port when it is once again able to process
+ * requests. */
+ void recvRetry();
+
/**
* Forward a timing packet to our snoopers, potentially excluding
* one of the connected coherent masters to avoid sending a packet
@@ -285,6 +294,8 @@ class CoherentBus : public BaseBus
virtual void init();
CoherentBus(const CoherentBusParams *p);
+
+ unsigned int drain(Event *de);
};
#endif //__MEM_COHERENT_BUS_HH__