summaryrefslogtreecommitdiff
path: root/src/mem/noncoherent_bus.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/noncoherent_bus.hh')
-rw-r--r--src/mem/noncoherent_bus.hh11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mem/noncoherent_bus.hh b/src/mem/noncoherent_bus.hh
index 46fc65fad..dd43d8c19 100644
--- a/src/mem/noncoherent_bus.hh
+++ b/src/mem/noncoherent_bus.hh
@@ -73,6 +73,11 @@ class NoncoherentBus : public BaseBus
protected:
/**
+ * Declare the single layer of this bus.
+ */
+ Layer layer;
+
+ /**
* Declaration of the non-coherent bus slave port type, one will
* be instantiated for each of the master ports connecting to the
* bus.
@@ -184,6 +189,10 @@ class NoncoherentBus : public BaseBus
response packet.*/
virtual bool recvTimingResp(PacketPtr pkt, PortID master_port_id);
+ /** Timing function called by port when it is once again able to process
+ * requests. */
+ void recvRetry();
+
/** Function called by the port when the bus is recieving a Atomic
transaction.*/
Tick recvAtomic(PacketPtr pkt, PortID slave_port_id);
@@ -196,6 +205,8 @@ class NoncoherentBus : public BaseBus
NoncoherentBus(const NoncoherentBusParams *p);
+ unsigned int drain(Event *de);
+
};
#endif //__MEM_NONCOHERENT_BUS_HH__