]> git.proxmox.com Git - mirror_qemu.git/commit - include/hw/core/cpu.h
target: Use ArchCPU as interface to target CPU
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 14 Feb 2022 16:15:16 +0000 (17:15 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 6 Mar 2022 21:23:09 +0000 (22:23 +0100)
commitb36e239e08a031025e52c4191198ee8381e2e6de
treef3eae7db229ea7442517a5a785a5559dbc824be9
parent9295b1aa92d3efb3c08b71ee751fbfd83ea02f4d
target: Use ArchCPU as interface to target CPU

ArchCPU is our interface with target-specific code. Use it as
a forward-declared opaque pointer (abstract type), having its
structure defined by each target.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220214183144.27402-15-f4bug@amsat.org>
22 files changed:
include/hw/core/cpu.h
include/qemu/typedefs.h
target/alpha/cpu.h
target/arm/cpu.h
target/avr/cpu.h
target/cris/cpu.h
target/hexagon/cpu.h
target/hppa/cpu.h
target/i386/cpu.h
target/m68k/cpu.h
target/microblaze/cpu.h
target/mips/cpu.h
target/nios2/cpu.h
target/openrisc/cpu.h
target/ppc/cpu.h
target/riscv/cpu.h
target/rx/cpu.h
target/s390x/cpu.h
target/sh4/cpu.h
target/sparc/cpu.h
target/tricore/cpu.h
target/xtensa/cpu.h