changeset cd0a9c975c8c in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=cd0a9c975c8c
description:
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:
src/mem/coherent_bus.hh | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (27 lines):
diff -r 4ff1c5c6dcbc -r cd0a9c975c8c src/mem/coherent_bus.hh
--- a/src/mem/coherent_bus.hh Thu Oct 17 10:20:45 2013 -0500
+++ b/src/mem/coherent_bus.hh Thu Oct 17 10:20:45 2013 -0500
@@ -272,19 +272,19 @@
/** 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. */
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev