summaryrefslogtreecommitdiff
path: root/src/mem/coherent_bus.hh
diff options
context:
space:
mode:
authorStephan Diestelhorst <stephan.diestelhorst@ARM.com>2013-10-17 10:20:45 -0500
committerStephan Diestelhorst <stephan.diestelhorst@ARM.com>2013-10-17 10:20:45 -0500
commit4e9d91016a9f23b2ec6a73c01713e4a363d2593a (patch)
treea5dbeab1f5d1b3c55b2d62eb439b6ba1f1c3ea72 /src/mem/coherent_bus.hh
parent6decd70bfbc5eb877e4d897ee3d71d478b564f2d (diff)
downloadgem5-4e9d91016a9f23b2ec6a73c01713e4a363d2593a.tar.xz
mem: De-virtualise interfaces in the CoherentBus
The CoherentBus eventually got virtual methods for its interface. The "virtuality" of the CoherentBus, however, comes already from the virtual interface of the bus' ports. There is no need to add another layer of virtual functions, here.
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 034b855ec..8dde66d37 100644
--- a/src/mem/coherent_bus.hh
+++ b/src/mem/coherent_bus.hh
@@ -272,19 +272,19 @@ class CoherentBus : public BaseBus
/** Function called by the port when the bus is recieving a Timing
request packet.*/
- virtual bool recvTimingReq(PacketPtr pkt, PortID slave_port_id);
+ bool recvTimingReq(PacketPtr pkt, PortID slave_port_id);
/** Function called by the port when the bus is recieving a Timing
response packet.*/
- virtual bool recvTimingResp(PacketPtr pkt, PortID master_port_id);
+ bool recvTimingResp(PacketPtr pkt, PortID master_port_id);
/** Function called by the port when the bus is recieving a timing
snoop request.*/
- virtual void recvTimingSnoopReq(PacketPtr pkt, PortID master_port_id);
+ void recvTimingSnoopReq(PacketPtr pkt, PortID master_port_id);
/** Function called by the port when the bus is recieving a timing
snoop response.*/
- virtual bool recvTimingSnoopResp(PacketPtr pkt, PortID slave_port_id);
+ bool recvTimingSnoopResp(PacketPtr pkt, PortID slave_port_id);
/** Timing function called by port when it is once again able to process
* requests. */