summaryrefslogtreecommitdiff
path: root/src/dev/etherdump.cc
diff options
context:
space:
mode:
authorFaissal Sleiman <Faissal.Sleiman@arm.com>2013-10-17 10:20:45 -0500
committerFaissal Sleiman <Faissal.Sleiman@arm.com>2013-10-17 10:20:45 -0500
commite516531bd0010eec4ab3352ff0b12057782a40ce (patch)
tree9382f4f7fe4a580b10fbcc1425cd2312797b4864 /src/dev/etherdump.cc
parent1e2a455a2382065d6ada6d08e465ce6126ebbdcf (diff)
downloadgem5-e516531bd0010eec4ab3352ff0b12057782a40ce.tar.xz
cpu: Put in assertions to check for maximum supported LQ/SQ size
LSQSenderState represents the LQ/SQ index using uint8_t, which supports up to 256 entries (including the sentinel entry). Sending packets to memory with a higher index than 255 truncates the index, such that the response matches the wrong entry. For instance, this can result in a deadlock if a store completion does not clear the head entry.
Diffstat (limited to 'src/dev/etherdump.cc')
0 files changed, 0 insertions, 0 deletions