cpu: Replace empty byteEnable check with Request::isMasked
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Tue, 10 Dec 2019 14:59:38 +0000 (14:59 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Wed, 11 Dec 2019 15:07:52 +0000 (15:07 +0000)
commita71fb9ae62564b08889861496abae420a1530a6e
tree1bec7089bfe5a98f7a123feaab9f57e3c9b1f7e4
parentc3bd8eb1214cbebbc92c7958b80aa06913bce3ba
cpu: Replace empty byteEnable check with Request::isMasked

This should be the interface to be used to check if the request
has some masked bytes.

JIRA: https://gem5.atlassian.net/browse/GEM5-196

Change-Id: I1ab5fd266c7b63a928aada32ae6d4f7fa915f2b6
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23523
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/cpu/simple/atomic.cc