diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2007-06-30 17:51:29 -0700 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2007-06-30 17:51:29 -0700 |
commit | d10a843723009ddee79cdbf94a46704df1e5cee6 (patch) | |
tree | b0c094f434e0dd0ca04c4812d671bbddc8a7d85f /src/mem/packet.cc | |
parent | ee54ad318a63e868ab10bbc1b714bbb8209a11da (diff) | |
download | gem5-d10a843723009ddee79cdbf94a46704df1e5cee6.tar.xz |
Get rid of obsolete fixPacket() functions.
Handled by Packet::checkFunctional() now.
--HG--
extra : convert_revision : 63642254e2789c80a369ac269f317ec054ffe3c0
Diffstat (limited to 'src/mem/packet.cc')
-rw-r--r-- | src/mem/packet.cc | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/mem/packet.cc b/src/mem/packet.cc index 55fe13f3c..8de02f533 100644 --- a/src/mem/packet.cc +++ b/src/mem/packet.cc @@ -164,31 +164,6 @@ Packet::intersect(PacketPtr p) return !(s1 > e2 || e1 < s2); } -bool -fixDelayedResponsePacket(PacketPtr func, PacketPtr timing) -{ - bool result; - - if (timing->isRead() || timing->isWrite()) { - // Ugly hack to deal with the fact that we queue the requests - // and don't convert them to responses until we issue them on - // the bus. I tried to avoid this by converting packets to - // responses right away, but this breaks during snoops where a - // responder may do the conversion before other caches have - // done the snoop. Would work if we copied the packet instead - // of just hanging on to a pointer. - MemCmd oldCmd = timing->cmd; - timing->cmd = timing->cmd.responseCommand(); - result = fixPacket(func, timing); - timing->cmd = oldCmd; - } - else { - //Don't toggle if it isn't a read/write response - result = fixPacket(func, timing); - } - - return result; -} bool Packet::checkFunctional(Addr addr, int size, uint8_t *data) |