summaryrefslogtreecommitdiff
path: root/src/mem/bus.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-10-10 23:28:33 -0400
committerGabe Black <gblack@eecs.umich.edu>2006-10-10 23:28:33 -0400
commit8353b1e21f40b9d1b45577821dc9826ad48213d6 (patch)
treedd081657c559f45c1a7af51f8282f20f93926a44 /src/mem/bus.hh
parent59dd317cb5251c8cff714a94b5d772af201febbe (diff)
downloadgem5-8353b1e21f40b9d1b45577821dc9826ad48213d6.tar.xz
Make the bus is occupied for none broadcast packets as well.
--HG-- extra : convert_revision : aef3c625172e92be8f29c4c57077fefee43046bb
Diffstat (limited to 'src/mem/bus.hh')
-rw-r--r--src/mem/bus.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mem/bus.hh b/src/mem/bus.hh
index 4f330230f..3d0d07a7f 100644
--- a/src/mem/bus.hh
+++ b/src/mem/bus.hh
@@ -125,6 +125,8 @@ class Bus : public MemObject
*/
void addressRanges(AddrRangeList &resp, AddrRangeList &snoop, int id);
+ /** Occupy the bus with transmitting the packet pkt */
+ void occupyBus(PacketPtr pkt);
/** Declaration of the buses port type, one will be instantiated for each
of the interfaces connecting to the bus. */