diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2007-04-04 13:57:23 -0400 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2007-04-04 13:57:23 -0400 |
commit | d9ab45d066667d291f5508ccfacc563005682dd3 (patch) | |
tree | 8983e5473b1ac81046d182702f1929f8e20d6a0a /src/mem/bus.hh | |
parent | 30f101881faad95e4a51fcb7bd7f564d660faae4 (diff) | |
parent | d0ea8ff08849f45196fa6c8d69d5a408d9cbbafd (diff) | |
download | gem5-d9ab45d066667d291f5508ccfacc563005682dd3.tar.xz |
Merge zizzer:/bk/newmem
into zeep.pool:/z/saidi/work/m5.newmem
--HG--
extra : convert_revision : be37463ea3ca38ef02ae0b82da0752f240a530d0
Diffstat (limited to 'src/mem/bus.hh')
-rw-r--r-- | src/mem/bus.hh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mem/bus.hh b/src/mem/bus.hh index 6706b6c77..0dd7547c5 100644 --- a/src/mem/bus.hh +++ b/src/mem/bus.hh @@ -63,6 +63,7 @@ class Bus : public MemObject Event * drainEvent; + static const int defaultId = -3; //Make it unique from Broadcast struct DevMap { @@ -249,6 +250,9 @@ class Bus : public MemObject /** Port that handles requests that don't match any of the interfaces.*/ BusPort *defaultPort; + BusPort *funcPort; + int funcPortId; + /** Has the user specified their own default responder? */ bool responderSet; @@ -266,7 +270,8 @@ class Bus : public MemObject bool responder_set) : MemObject(n), busId(bus_id), clock(_clock), width(_width), tickNextIdle(0), drainEvent(NULL), busIdle(this), inRetry(false), - maxId(0), defaultPort(NULL), responderSet(responder_set) + maxId(0), defaultPort(NULL), funcPort(NULL), funcPortId(-4), + responderSet(responder_set) { //Both the width and clock period must be positive if (width <= 0) |