On Wed, 25 Nov 2020 15:56:31 -0500 Eduardo Habkost <[email protected]> wrote:
> Instead of a collection of #ifdefs on arch_init.c, define > QEMU_ARCH inside each cpu.h file. > > Signed-off-by: Eduardo Habkost <[email protected]> > --- > Cc: Richard Henderson <[email protected]> > Cc: Peter Maydell <[email protected]> > Cc: Michael Rolnik <[email protected]> > Cc: Sarah Harris <[email protected]> > Cc: "Edgar E. Iglesias" <[email protected]> > Cc: Paolo Bonzini <[email protected]> > Cc: Eduardo Habkost <[email protected]> > Cc: Michael Walle <[email protected]> > Cc: Laurent Vivier <[email protected]> > Cc: "Philippe Mathieu-Daudé" <[email protected]> > Cc: Aurelien Jarno <[email protected]> > Cc: Jiaxun Yang <[email protected]> > Cc: Aleksandar Rikalo <[email protected]> > Cc: Anthony Green <[email protected]> > Cc: Chris Wulff <[email protected]> > Cc: Marek Vasut <[email protected]> > Cc: Stafford Horne <[email protected]> > Cc: David Gibson <[email protected]> > Cc: Palmer Dabbelt <[email protected]> > Cc: Alistair Francis <[email protected]> > Cc: Sagar Karandikar <[email protected]> > Cc: Bastian Koppelmann <[email protected]> > Cc: Yoshinori Sato <[email protected]> > Cc: David Hildenbrand <[email protected]> > Cc: Cornelia Huck <[email protected]> > Cc: Thomas Huth <[email protected]> > Cc: Mark Cave-Ayland <[email protected]> > Cc: Artyom Tarasenko <[email protected]> > Cc: Guan Xuetao <[email protected]> > Cc: Max Filippov <[email protected]> > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > --- > target/alpha/cpu.h | 1 + > target/arm/cpu.h | 1 + > target/avr/cpu.h | 1 + > target/cris/cpu.h | 1 + > target/hppa/cpu.h | 1 + > target/i386/cpu.h | 1 + > target/lm32/cpu.h | 1 + > target/m68k/cpu.h | 1 + > target/microblaze/cpu.h | 1 + > target/mips/cpu.h | 1 + > target/moxie/cpu.h | 1 + > target/nios2/cpu.h | 1 + > target/openrisc/cpu.h | 1 + > target/ppc/cpu.h | 1 + > target/riscv/cpu.h | 1 + > target/rx/cpu.h | 1 + > target/s390x/cpu.h | 1 + > target/sh4/cpu.h | 1 + > target/sparc/cpu.h | 1 + > target/tricore/cpu.h | 1 + > target/unicore32/cpu.h | 1 + > target/xtensa/cpu.h | 1 + > softmmu/arch_init.c | 46 ----------------------------------------- > 23 files changed, 22 insertions(+), 46 deletions(-) Much better :) Reviewed-by: Cornelia Huck <[email protected]>
