gem5/src/base
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
..
loader base: Fix inverted check in ELF .text size warning 2016-07-11 16:30:35 +01:00
stats base: Add total() to Vector2D stat 2016-07-21 17:19:15 +01:00
vnc base: Add support for changing output directories 2015-11-27 14:41:59 +00:00
addr_range.hh base: Allow multiple interleaved ranges 2015-05-26 03:21:40 -04:00
addr_range_map.hh mem: Add interleaving bits to the address ranges 2013-01-07 13:05:38 -05:00
atomicio.cc types: clean up types, especially signed vs unsigned 2009-06-04 23:21:12 -07:00
atomicio.hh style: fix missing spaces in control statements 2016-02-06 17:21:19 -08:00
barrier.hh sim: simulate with multiple threads and event queues 2013-11-25 11:21:00 -06:00
bigint.cc build: fix compile problems pointed out by gcc 4.4 2009-11-04 16:57:01 -08:00
bigint.hh misc: Another round of static analysis fixups 2014-11-24 09:03:38 -05:00
bitfield.hh arm: Fixes based on UBSan and static analysis 2014-11-14 03:53:51 -05:00
bitmap.cc base: Redesign internal frame buffer handling 2015-05-23 13:37:03 +01:00
bitmap.hh base: Redesign internal frame buffer handling 2015-05-23 13:37:03 +01:00
bitunion.hh scons: Enable -Wextra by default 2016-01-11 05:52:20 -05:00
callback.cc gcc: Clean-up of non-C++0x compliant code, first steps 2012-03-19 06:36:09 -04:00
callback.hh callback: Make helper functions that create callback objects for you 2010-04-18 13:23:25 -07:00
cast.hh safe_cast: add a new cast function for casts that should always succeed. 2008-11-10 11:51:17 -08:00
chunk_generator.hh base: add new ChunkGenerator method to identify last chunk 2015-04-22 07:51:27 -07:00
circlebuf.hh dev: Fix incorrect terminal backlog handling 2016-04-27 15:33:58 +01:00
compiler.hh misc: Remove redundant compiler-specific defines 2015-10-12 04:07:59 -04:00
condcodes.hh Condition Codes: Fix the findParity function. 2007-09-25 20:26:10 -07:00
cp_annotate.cc style: fix missing spaces in control statements 2016-02-06 17:21:19 -08:00
cp_annotate.hh style: remove trailing whitespace 2016-02-06 17:21:18 -08:00
CPA.py sim: Include object header files in SWIG interfaces 2012-11-02 11:32:01 -05:00
cprintf.cc base: Fix a few incorrectly handled print format cases 2012-11-02 11:32:00 -05:00
cprintf.hh style: remove trailing whitespace 2016-02-06 17:21:18 -08:00
cprintf_formats.hh misc: Restore ostream flags where needed 2014-09-19 10:35:09 -04:00
date.cc Updated Authors from bk prs info 2006-05-31 19:26:56 -04:00
debug.cc base: remove Trace::enabled flag 2015-09-30 15:21:55 -05:00
debug.hh base: remove Trace::enabled flag 2015-09-30 15:21:55 -05:00
fenv.c style: fix missing spaces in control statements 2016-02-06 17:21:19 -08:00
fenv.hh create base/fenv.c to standerdize fenv across platforms. It's a c file and not a cpp file because c99 2007-04-21 17:50:47 -04:00
flags.hh style: remove trailing whitespace 2016-02-06 17:21:18 -08:00
framebuffer.cc base: Add serialization support to Pixels and FrameBuffer 2015-07-07 09:51:04 +01:00
framebuffer.hh misc: Remove redundant compiler-specific defines 2015-10-12 04:07:59 -04:00
hostinfo.cc scons: Add warning for missing declarations 2013-02-19 05:56:07 -05:00
hostinfo.hh scons: Add warning for missing declarations 2013-02-19 05:56:07 -05:00
inet.cc style: remove trailing whitespace 2016-02-06 17:21:18 -08:00
inet.hh style: remove trailing whitespace 2016-02-06 17:21:18 -08:00
inifile.cc sim: Add a checkpoint function to test for entries 2016-10-04 11:22:16 +01:00
inifile.hh sim: Add a checkpoint function to test for entries 2016-10-04 11:22:16 +01:00
intmath.cc Updated Authors from bk prs info 2006-05-31 19:26:56 -04:00
intmath.hh base: Add const to intmath and be more flexible with typing 2014-08-26 10:14:32 -04:00
match.cc style: eliminate equality tests with true and false 2014-05-31 18:00:23 -07:00
match.hh Updated Authors from bk prs info 2006-05-31 19:26:56 -04:00
misc.cc base: Replace the internal varargs stuff with C++11 constructs 2014-08-26 10:13:45 -04:00
misc.hh base: Add a warn_if macro 2015-06-21 20:52:13 +01:00
output.cc base: Add support for changing output directories 2015-11-27 14:41:59 +00:00
output.hh base: Add support for changing output directories 2015-11-27 14:41:59 +00:00
pollevent.cc sim: Refactor the serialization base class 2015-07-07 09:51:03 +01:00
pollevent.hh misc: Remove redundant compiler-specific defines 2015-10-12 04:07:59 -04:00
printable.hh Additional comments and helper functions for PrintReq. 2008-01-02 13:46:22 -08:00
random.cc sim: Refactor the serialization base class 2015-07-07 09:51:03 +01:00
random.hh misc: Remove redundant compiler-specific defines 2015-10-12 04:07:59 -04:00
refcnt.hh refcnt: Update doxygen comments 2011-04-13 09:32:19 -07:00
remote_gdb.cc arm: remote GDB: rationalize structure of register offsets 2015-12-18 15:12:07 -06:00
remote_gdb.hh arm: remote GDB: rationalize structure of register offsets 2015-12-18 15:12:07 -06:00
SConscript base: Rewrite the CircleBuf to fix bugs and add serialization 2015-08-07 09:59:19 +01:00
socket.cc misc: Fix a bunch of minor issues identified by static analysis 2014-09-27 09:08:29 -04:00
socket.hh sockets: Add a function to disable all listening sockets. 2008-08-03 18:19:55 -07:00
statistics.cc style: fix missing spaces in control statements 2016-02-06 17:21:19 -08:00
statistics.hh base: Add total() to Vector2D stat 2016-07-21 17:19:15 +01:00
stl_helpers.hh clang: Enable compiling gem5 using clang 2.9 and 3.0 2012-01-31 12:05:52 -05:00
str.cc base: Clean up redundant string functions and use C++11 2014-09-20 17:17:49 -04:00
str.hh base: Clean up redundant string functions and use C++11 2014-09-20 17:17:49 -04:00
time.cc sim: Refactor the serialization base class 2015-07-07 09:51:03 +01:00
time.hh sim: Refactor the serialization base class 2015-07-07 09:51:03 +01:00
trace.cc base: remove Trace::enabled flag 2015-09-30 15:21:55 -05:00
trace.hh misc: Remove redundant compiler-specific defines 2015-10-12 04:07:59 -04:00
trie.hh base: Include cassert in trie.hh. 2012-04-22 05:20:44 -07:00
types.cc ruby: replace Time with Cycles in Message class 2013-02-10 21:26:24 -06:00
types.hh * * * 2016-01-19 13:57:50 -05:00