diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2014-12-02 06:07:52 -0500 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2014-12-02 06:07:52 -0500 |
commit | f012166bb600ebaeefa48e74f7dd7fdfc9742506 (patch) | |
tree | d7be12d21ec6629af877b03eeec224c699ac2e29 /util | |
parent | a2ee51f631199f629f36baf2f59161e25be84bdc (diff) | |
download | gem5-f012166bb600ebaeefa48e74f7dd7fdfc9742506.tar.xz |
mem: Cleanup Packet::checkFunctional and hasData usage
This patch cleans up the use of hasData and checkFunctional in the
packet. The hasData function is unfortunately suggesting that it
checks if the packet has a valid data pointer, when it does in fact
only check if the specific packet type is specified to have a data
payload. The confusion led to a bug in checkFunctional. The latter
function is also tidied up to avoid name overloading.
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions