diff options
| author | Cédric Le Goater | 2019-03-06 09:50:07 +0100 |
|---|---|---|
| committer | David Gibson | 2019-03-12 04:33:04 +0100 |
| commit | 051e2973bf24f0f6e622e35de7c9d1803e5c23d3 (patch) | |
| tree | dedd63313eb4e669bdafeee7c288542435cbea09 /include | |
| parent | ppc/xive: hardwire the Physical CAM line of the thread context (diff) | |
| download | qemu-051e2973bf24f0f6e622e35de7c9d1803e5c23d3.tar.gz qemu-051e2973bf24f0f6e622e35de7c9d1803e5c23d3.tar.xz qemu-051e2973bf24f0f6e622e35de7c9d1803e5c23d3.zip | |
ppc: externalize ppc_get_vcpu_by_pir()
We will use it to get the CPU interrupt presenter in XIVE when the
TIMA is accessed from the indirect page.
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20190306085032.15744-3-clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include')
| -rw-r--r-- | include/hw/ppc/ppc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/ppc/ppc.h b/include/hw/ppc/ppc.h index 746170f635..4bdcb8bacd 100644 --- a/include/hw/ppc/ppc.h +++ b/include/hw/ppc/ppc.h @@ -4,6 +4,7 @@ #include "target/ppc/cpu-qom.h" void ppc_set_irq(PowerPCCPU *cpu, int n_IRQ, int level); +PowerPCCPU *ppc_get_vcpu_by_pir(int pir); /* PowerPC hardware exceptions management helpers */ typedef void (*clk_setup_cb)(void *opaque, uint32_t freq); |
