sim: Move the serialization backend handlers to their own header.
authorGabe Black <gabe.black@gmail.com>
Wed, 21 Oct 2020 02:25:21 +0000 (19:25 -0700)
committerGabe Black <gabe.black@gmail.com>
Thu, 22 Oct 2020 22:02:08 +0000 (22:02 +0000)
commit31fc4b24fcb448e015dc051ffe46512dc313a005
treeff71255bf9dcce6b88f5c23d11a1e82c92415324
parentf62d1862e0e4b5ccb2d55c0d888be58b7b226a22
sim: Move the serialization backend handlers to their own header.

This way other types which want to enable serialization can include just
these handlers and specialize them as necessary without bringing in all
the other dependencies of the serialization mechanism.

Change-Id: I7310e7741615e23ac0fc762e951bf5eac00aaa74
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/36281
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/sim/serialize.hh
src/sim/serialize_handlers.hh [new file with mode: 0644]