diff options
author | Steve Reinhardt <stever@gmail.com> | 2007-07-29 20:17:03 -0700 |
---|---|---|
committer | Steve Reinhardt <stever@gmail.com> | 2007-07-29 20:17:03 -0700 |
commit | 2f93db6f95b02d2bedf9571330a3185ac3fa7fa9 (patch) | |
tree | 307e0050c41df9aa9bc90c3294f7aae3c57be2e1 /src/mem/tport.hh | |
parent | 08474ccf68e14f59b4517c6024a9bc6ecbd4a1d5 (diff) | |
download | gem5-2f93db6f95b02d2bedf9571330a3185ac3fa7fa9.tar.xz |
memory system: fix functional access bug.
Make sure not to keep processing functional accesses
after they've been responded to.
Also use checkFunctional() return value instead of checking
packet command field where possible, mostly just for consistency.
--HG--
extra : convert_revision : 29fc76bc18731bd93a4ed05a281297827028ef75
Diffstat (limited to 'src/mem/tport.hh')
-rw-r--r-- | src/mem/tport.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/tport.hh b/src/mem/tport.hh index bc9da6c44..d0f1be425 100644 --- a/src/mem/tport.hh +++ b/src/mem/tport.hh @@ -99,7 +99,7 @@ class SimpleTimingPort : public Port /** Check the list of buffered packets against the supplied * functional request. */ - void checkFunctional(PacketPtr funcPkt); + bool checkFunctional(PacketPtr funcPkt); /** Check whether we have a packet ready to go on the transmit list. */ bool deferredPacketReady() |