sim: Add support for serializing BitUnionXX
authorAndreas Sandberg <Andreas.Sandberg@ARM.com>
Thu, 16 Oct 2014 09:49:37 +0000 (05:49 -0400)
committerAndreas Sandberg <Andreas.Sandberg@ARM.com>
Thu, 16 Oct 2014 09:49:37 +0000 (05:49 -0400)
commit804ed4b4186b93071fe6e8ba8e491a44cb7b0c45
treee9a7c3c808c556e352c3b682f28eef5d2bfeed66
parent66df7b7fd4c471cb71e77fa78902d354a3521174
sim: Add support for serializing BitUnionXX

BitUnion instances can normally not be used with the SERIALIZE_SCALAR
and UNSERIALIZE_SCALAR macros due to the way they are converted
between their storage type and their actual type. This changeset adds
a set of parm(In|Out) functions specifically for gem5 bit unions to
work around the issue.
src/sim/serialize.hh