diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2019-09-24 14:13:39 +1000 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2019-10-04 19:08:22 +1000 |
commit | 28976c99cfa59e1880a86a59af20099eba62f5e7 (patch) | |
tree | f83073e422fc6eeafe657b391e5d2dfc380cc79c /include | |
parent | d5803c7319f5cc79afda066e2c8b9c61436b43df (diff) | |
download | qemu-28976c99cfa59e1880a86a59af20099eba62f5e7.zip qemu-28976c99cfa59e1880a86a59af20099eba62f5e7.tar.gz qemu-28976c99cfa59e1880a86a59af20099eba62f5e7.tar.bz2 |
xics: Rename misleading ics_simple_*() functions
There are a number of ics_simple_*() functions that aren't actually
specific to TYPE_XICS_SIMPLE at all, and are equally valid on
TYPE_XICS_BASE. Rename them to ics_*() accordingly.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Greg Kurz <groug@kaod.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/ppc/xics.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/hw/ppc/xics.h b/include/hw/ppc/xics.h index ecca176..8874bad 100644 --- a/include/hw/ppc/xics.h +++ b/include/hw/ppc/xics.h @@ -167,9 +167,9 @@ uint32_t icp_accept(ICPState *ss); uint32_t icp_ipoll(ICPState *ss, uint32_t *mfrr); void icp_eoi(ICPState *icp, uint32_t xirr); -void ics_simple_write_xive(ICSState *ics, int nr, int server, - uint8_t priority, uint8_t saved_priority); -void ics_simple_set_irq(void *opaque, int srcno, int val); +void ics_write_xive(ICSState *ics, int nr, int server, + uint8_t priority, uint8_t saved_priority); +void ics_set_irq(void *opaque, int srcno, int val); static inline bool ics_irq_free(ICSState *ics, uint32_t srcno) { |