sim,misc: Move protobuf housekeeping out of gem5Main.
Put that code into a singleton class in src/proto, so that it gets
called during initialization and teardown of gem5 without cluttering up
gem5Main. This also removes the need to use #ifdefs to guard for
actualling having protobuf support.
Maintainer: Gabe Black <firstname.lastname@example.org>
Reviewed-by: Andreas Sandberg <email@example.com>
Tested-by: kokoro <firstname.lastname@example.org>
3 files changed