• Santeri Salko's avatar
    qemu: Fix interrupt type check · 53a98be3
    Santeri Salko authored
    
    
    Function plat_ic_get_pending_interrupt_type() should return interrupt
    type, not id. The function is used in aarch64 exception handling and
    currently the irq/fiq forwarding fails if a secure interrupt happens while
    running normal world.
    
    The qemu-specific gic file does not contain any extra functionality so it
    can be removed and common file can be used instead.
    
    fixes arm-software/tf-issues#546
    Signed-off-by: default avatarSanteri Salko <santeri.salko@gmail.com>
    53a98be3
plat_gicv2.c 6.81 KB