Files
gem5/src/sim
Andreas Sandberg 18135ce6ab sim: Add a checkpoint function to test for entries
When loading a checkpoint, it's sometimes desirable to be able to test
whether an entry within a secion exists. This is currently done
automatically in the UNSERIALIZE_OPT_SCALAR macro, but it isn't
possible to do for arrays, containers, or enums. Instead of adding
even more macros, add a helper function (CheckpointIn::entryExists())
that tests for the presence of an entry.

Change-Id: I4b4646b03276b889fd3916efefff3bd552317dbc
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
2016-10-04 11:22:16 +01:00
..
2016-06-07 14:27:49 +01:00
2015-10-09 14:27:09 -05:00
2015-10-09 14:27:09 -05:00
2016-02-06 17:21:18 -08:00
2016-02-06 17:21:18 -08:00
2014-10-16 05:49:51 -04:00
2016-01-17 18:27:46 -08:00
2016-06-07 14:27:49 +01:00
2015-09-02 15:23:30 -05:00
2016-02-06 17:21:18 -08:00
2016-01-11 05:52:20 -05:00
2015-05-12 10:26:47 +01:00
2015-05-12 10:26:47 +01:00
2015-05-12 10:26:47 +01:00