python,sim,util: Move EmbeddedPython into it's own file.
By separating out this utility class, we make it possible to build
embedded python modules into other binarys without dragging along lots
of other, unrelated gem5 dependencies.
Also, move the class from sim/init.hh (which is a largely unrelated
name) to python/embedded.hh which much more directly describes what that
Reviewed-by: Gabe Black <email@example.com>
Maintainer: Gabe Black <firstname.lastname@example.org>
Tested-by: kokoro <email@example.com>
8 files changed