diff options
author | Stephan Diestelhorst <stephan.diestelhorst@ARM.com> | 2013-10-17 10:20:45 -0500 |
---|---|---|
committer | Stephan Diestelhorst <stephan.diestelhorst@ARM.com> | 2013-10-17 10:20:45 -0500 |
commit | 4e9d91016a9f23b2ec6a73c01713e4a363d2593a (patch) | |
tree | a5dbeab1f5d1b3c55b2d62eb439b6ba1f1c3ea72 /src/mem | |
parent | 6decd70bfbc5eb877e4d897ee3d71d478b564f2d (diff) | |
download | gem5-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')
-rw-r--r-- | src/mem/coherent_bus.hh | 8 |
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. */ |