]> git.proxmox.com Git - mirror_qemu.git/commit
hw/ppc: moved has_spr to cpu.h
authorLucas Mateus Castro (alqotel) <lucas.araujo@eldorado.org.br>
Fri, 7 May 2021 16:41:46 +0000 (13:41 -0300)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 19 May 2021 00:30:28 +0000 (10:30 +1000)
commit03282a3ab8db1fd57793d7e910e3e06d24faab00
tree4e05a80b913995e7e1f0679d3e6ca674a4e98a2d
parent45998ffcb4ccd2632ae2731f9572d5272ec794f0
hw/ppc: moved has_spr to cpu.h

Moved has_spr to cpu.h as ppc_has_spr and turned it into an inline function.
Change spr verification in pnv.c and spapr.c to a version that can
compile in a !TCG environment.

Signed-off-by: Lucas Mateus Castro (alqotel) <lucas.araujo@eldorado.org.br>
Message-Id: <20210507164146.67086-1-lucas.araujo@eldorado.org.br>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/pnv.c
hw/ppc/spapr.c
hw/ppc/spapr_hcall.c
target/ppc/cpu.h