summaryrefslogtreecommitdiff
path: root/src/mem/coherent_bus.hh
diff options
context:
space:
mode:
authorUri Wiener <uri.wiener@arm.com>2012-06-29 11:19:08 -0400
committerUri Wiener <uri.wiener@arm.com>2012-06-29 11:19:08 -0400
commitfcccab0dcdc57fe838bb64d584ebbcf28c059dee (patch)
tree42e91283d5389cdea641cba35a13c627ab53fd28 /src/mem/coherent_bus.hh
parent7cbe0cf5646120f8e4bca388d6eb487dff2632c9 (diff)
downloadgem5-fcccab0dcdc57fe838bb64d584ebbcf28c059dee.tar.xz
Bus: enable non/coherent buses sub-classes
This patch merely changes several methods to be virtual in order to enable non/coherent buses sub-classes.
Diffstat (limited to 'src/mem/coherent_bus.hh')
-rw-r--r--src/mem/coherent_bus.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mem/coherent_bus.hh b/src/mem/coherent_bus.hh
index 760ff8add..a8737eeed 100644
--- a/src/mem/coherent_bus.hh
+++ b/src/mem/coherent_bus.hh
@@ -217,19 +217,19 @@ class CoherentBus : public BaseBus
/** Function called by the port when the bus is recieving a Timing
request packet.*/
- bool recvTimingReq(PacketPtr pkt, PortID slave_port_id);
+ virtual bool recvTimingReq(PacketPtr pkt, PortID slave_port_id);
/** Function called by the port when the bus is recieving a Timing
response packet.*/
- bool recvTimingResp(PacketPtr pkt, PortID master_port_id);
+ virtual bool recvTimingResp(PacketPtr pkt, PortID master_port_id);
/** Function called by the port when the bus is recieving a timing
snoop request.*/
- void recvTimingSnoopReq(PacketPtr pkt, PortID master_port_id);
+ virtual void recvTimingSnoopReq(PacketPtr pkt, PortID master_port_id);
/** Function called by the port when the bus is recieving a timing
snoop response.*/
- bool recvTimingSnoopResp(PacketPtr pkt, PortID slave_port_id);
+ virtual bool recvTimingSnoopResp(PacketPtr pkt, PortID slave_port_id);
/**
* Forward a timing packet to our snoopers, potentially excluding