diff options
Diffstat (limited to 'hw/spapr.h')
-rw-r--r-- | hw/spapr.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/hw/spapr.h b/hw/spapr.h index 3d21b7a1cc..ec910de5b0 100644 --- a/hw/spapr.h +++ b/hw/spapr.h @@ -17,6 +17,7 @@ typedef struct sPAPREnvironment { long rtas_size; void *fdt_skel; target_ulong entry_point; + int next_irq; } sPAPREnvironment; #define H_SUCCESS 0 @@ -281,11 +282,7 @@ void spapr_register_hypercall(target_ulong opcode, spapr_hcall_fn fn); target_ulong spapr_hypercall(CPUState *env, target_ulong opcode, target_ulong *args); -static inline qemu_irq spapr_find_qirq(sPAPREnvironment *spapr, - int irq_num) -{ - return xics_find_qirq(spapr->icp, irq_num); -} +qemu_irq spapr_allocate_irq(uint32_t hint, uint32_t *irq_num); static inline uint32_t rtas_ld(target_ulong phys, int n) { |