mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
spapr: Rename xics to intc in interrupt controller agnostic code
All this code is used with both the XICS and XIVE interrupt controllers. Signed-off-by: Greg Kurz <groug@kaod.org> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
b39701db13
commit
5c7adcf422
6 changed files with 10 additions and 10 deletions
|
@ -683,7 +683,7 @@ void spapr_load_rtas(sPAPRMachineState *spapr, void *fdt, hwaddr addr);
|
|||
* "interrupt-controller" node has its "#interrupt-cells" property set to 2 (ie,
|
||||
* VIO devices, RTAS event sources and PHBs).
|
||||
*/
|
||||
static inline void spapr_dt_xics_irq(uint32_t *intspec, int irq, bool is_lsi)
|
||||
static inline void spapr_dt_irq(uint32_t *intspec, int irq, bool is_lsi)
|
||||
{
|
||||
intspec[0] = cpu_to_be32(irq);
|
||||
intspec[1] = is_lsi ? cpu_to_be32(1) : 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue