sim: Move BitUnion overloading to show/parseParams
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Wed, 17 Oct 2018 17:08:30 +0000 (18:08 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Wed, 14 Nov 2018 10:13:01 +0000 (10:13 +0000)
commite8e92a12af8cc499659ad840c84c99e293ff1e96
tree92a4e5ff7a26c99e1d8b9fb031c1e27b5263d597
parent16bf103ad8e2bfbdf200a0ade11cff17dd33e81d
sim: Move BitUnion overloading to show/parseParams

This patch is moving template overloading for BitUnions into the
showParam, parseParams functions. Henceforth BitUnion types will use the
common param wrapper.
This patch implicitly implements (UN)SERIALIZE_CONTAINER for BitUnions.

Change-Id: I0e1faadb4afd4dc9de5dc5fca40041e349c9ba73
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/13636
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
src/sim/serialize.hh