From 4a89e20458ef6ef0979d9a05e41b421fe28a90a8 Mon Sep 17 00:00:00 2001 From: Cédric Le Goater Date: Mon, 25 Nov 2019 07:58:05 +0100 Subject: ppc: Introduce a ppc_cpu_pir() helper Signed-off-by: Cédric Le Goater Message-Id: <20191125065820.927-6-clg@kaod.org> Signed-off-by: David Gibson --- include/hw/ppc/ppc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/hw/ppc/ppc.h b/include/hw/ppc/ppc.h index 4bdcb8bacd..585be6ab98 100644 --- a/include/hw/ppc/ppc.h +++ b/include/hw/ppc/ppc.h @@ -5,6 +5,7 @@ void ppc_set_irq(PowerPCCPU *cpu, int n_IRQ, int level); PowerPCCPU *ppc_get_vcpu_by_pir(int pir); +int ppc_cpu_pir(PowerPCCPU *cpu); /* PowerPC hardware exceptions management helpers */ typedef void (*clk_setup_cb)(void *opaque, uint32_t freq); -- cgit v1.2.3-55-g7522