sim: create SERIALIZE_MAPPING and UNSERIALIZE_MAPPING
authorCiro Santilli <ciro.santilli@arm.com>
Thu, 15 Oct 2020 11:12:54 +0000 (12:12 +0100)
committerCiro Santilli <ciro.santilli@arm.com>
Mon, 23 Nov 2020 16:51:08 +0000 (16:51 +0000)
commit91aa2f82b4f2a9b954d2f8f394ecc183bf1e2445
treec049c3871a45ed22e6c58b7cbb80fbf72f4fd992
parent580eb6419590811554b5521a6a1df336e5d0b3e7
sim: create SERIALIZE_MAPPING and UNSERIALIZE_MAPPING

The motivation for those new methods is to prevent checkpoints from
breaking when new map entries are added.

Change-Id: I0ff8681498bcf669492e6b876ad385fda4673d77
JIRA: https://gem5.atlassian.net/browse/GEM5-661
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/36135
Reviewed-by: Richard Cooper <richard.cooper@arm.com>
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>
Tested-by: kokoro <noreply+kokoro@google.com>
src/sim/serialize.hh