Skip to content

tcg: Move TCG arch-specific initialization inside TCG code

Eduardo Habkost qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tcg: Introduce tcg_arch_init() functioninclude/qemu-common.h stubs/Makefile.objs stubs/tcg.c +1 more+8 -01 reply
2/2target-i386: Implement tcg_arch_init()target-i386/cpu.c target-i386/translate.c+1 -80 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] tcg: Move TCG arch-specific initialization inside TCG code

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
Signature · 1 line
1.9.3