sim: Extend (UN)SERIALIZE_ARRAY to BitUnions
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Mon, 24 Sep 2018 15:45:30 +0000 (16:45 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Mon, 1 Oct 2018 08:16:33 +0000 (08:16 +0000)
commitcf20e8211e2c3f1b2085c949a1e992a1f5d1071c
tree6d4489eb579e813c69732f224ed4d0687467f39a
parenta43e3108b4a9bd34cf382588e2e3bc0b81381623
sim: Extend (UN)SERIALIZE_ARRAY to BitUnions

This patch is making it possible to use SERIALIZE_ARRAY and UNSERIALIZE
array for serializing arrays of BitUnions.

Change-Id: I682766b472585f70a89338f373fb94dff5db53c3
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/12924
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/sim/serialize.hh