Many architectures manually call arch-specific TCG initialization at CPU init time[1], instead of having tcg_init() doing all initialization steps. This series introduces a tcg_arch_init() function that may be implemented by architecture-specific code for TCG initialization.
[1] You can see it by grepping for "inited" on target-*/cpu.c. Eduardo Habkost (2): tcg: Introduce tcg_arch_init() function target-i386: Implement tcg_arch_init() include/qemu-common.h | 1 + stubs/Makefile.objs | 1 + stubs/tcg.c | 5 +++++ target-i386/cpu.c | 7 ------- target-i386/translate.c | 2 +- translate-all.c | 1 + 6 files changed, 9 insertions(+), 8 deletions(-) create mode 100644 stubs/tcg.c -- 1.9.3