diff options
| author | Benjamin Herrenschmidt | 2016-06-28 21:05:14 +0200 |
|---|---|---|
| committer | David Gibson | 2016-07-01 05:41:47 +0200 |
| commit | 1cbd22205594c4cf024c50cb437755c64f385da1 (patch) | |
| tree | 6789479942e0909dfce26ef4a70e974cdd87f5c8 /include/hw | |
| parent | ppc/xics: Move SPAPR specific code to a separate file (diff) | |
| download | qemu-1cbd22205594c4cf024c50cb437755c64f385da1.tar.gz qemu-1cbd22205594c4cf024c50cb437755c64f385da1.tar.xz qemu-1cbd22205594c4cf024c50cb437755c64f385da1.zip | |
ppc/xics: Implement H_IPOLL using an accessor
None of the other presenter functions directly mucks with the
internal state, so don't do it there either.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/hw')
| -rw-r--r-- | include/hw/ppc/xics.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/ppc/xics.h b/include/hw/ppc/xics.h index 33490060a0..7445a14264 100644 --- a/include/hw/ppc/xics.h +++ b/include/hw/ppc/xics.h @@ -186,6 +186,7 @@ int xics_get_cpu_index_by_dt_id(int cpu_dt_id); void icp_set_cppr(XICSState *icp, int server, uint8_t cppr); void icp_set_mfrr(XICSState *icp, int server, uint8_t mfrr); uint32_t icp_accept(ICPState *ss); +uint32_t icp_ipoll(ICPState *ss, uint32_t *mfrr); void icp_eoi(XICSState *icp, int server, uint32_t xirr); void ics_write_xive(ICSState *ics, int nr, int server, |
