sim: Add macros to serialize objects into a section
authorAndreas Sandberg <andreas.sandberg@arm.com>
Tue, 7 Jul 2015 08:51:04 +0000 (09:51 +0100)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Tue, 7 Jul 2015 08:51:04 +0000 (09:51 +0100)
commit7773cb9565a64bbd39db64e601a447eb4682d668
tree3017d01feea9f031b4ad675398ecd4eed7c290bc
parentb3ecfa6ae00620fa8a89460ff2a57275b973c260
sim: Add macros to serialize objects into a section

Add the SERIALIZE_OBJ / UNSERIALIZE_OBJ macros that serialize an
object into a subsection of the current checkpoint section.
src/sim/serialize.hh