On Sun, Jun 25, 2017 at 11:59:54 +0300, Lluís Vilanova wrote: > Signed-off-by: Lluís Vilanova <vilan...@ac.upc.edu> > --- > Makefile.target | 1 > include/exec/gen-icount.h | 2 > include/exec/translate-block.h | 125 +++++++++++++++++++++++++++ > include/qom/cpu.h | 22 +++++ > translate-block.c | 185 > ++++++++++++++++++++++++++++++++++++++++ > 5 files changed, 334 insertions(+), 1 deletion(-) > create mode 100644 include/exec/translate-block.h > create mode 100644 translate-block.c > > diff --git a/Makefile.target b/Makefile.target > index ce8dfe44a8..253c6e7999 100644 > --- a/Makefile.target > +++ b/Makefile.target > @@ -90,6 +90,7 @@ all: $(PROGS) stap > # cpu emulator library > obj-y = exec.o translate-all.o cpu-exec.o > obj-y += translate-common.o > +obj-y += translate-block.o
Let's just call this something else; the string "block" will just confuse people who work on the "block" layer (and will slow down the visual filtering of patches on qemu-devel). I suggest translator.[ch] since TranslatorOps is the key struct here. E.