mem-ruby: Getter/setter for atomic ops in WriteMask
authorMatthew Poremba <matthew.poremba@amd.com>
Tue, 14 Jul 2020 15:57:07 +0000 (10:57 -0500)
committerMatthew Poremba <matthew.poremba@amd.com>
Fri, 24 Jul 2020 18:30:08 +0000 (18:30 +0000)
commit33f36598256565b623f7c9ac1428fe39df6cd23b
tree2b0332049f6a85f24a2285c00e2fb1ef7b4dfe44
parenta5b3a36bf3dbd7197d3ea7eef53347a86ab5fa62
mem-ruby: Getter/setter for atomic ops in WriteMask

Adding getter and setter methods for getting and setting the atomic ops
in the WriteMask class. This allows for message types with WriteMasks to
get or set the atomic ops without explicitly modifying the constructor
for the message type. This will beused by the DMASequencer which uses the
SequencerMsg type where the constructor is auto generated via SLICC.

Change-Id: I71787d294c1b89547618e9a13e386b65bb3e1021
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/31474
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/mem/ruby/common/WriteMask.hh