Message ID | 1437753309-17989-4-git-send-email-marc.zyngier@arm.com |
---|---|
State | New |
Headers | show |
diff --git a/include/kvm/arm_vgic.h b/include/kvm/arm_vgic.h index 133ea00..a881e39 100644 --- a/include/kvm/arm_vgic.h +++ b/include/kvm/arm_vgic.h @@ -95,11 +95,15 @@ enum vgic_type { #define LR_STATE_ACTIVE (1 << 1) #define LR_STATE_MASK (3 << 0) #define LR_EOI_INT (1 << 2) +#define LR_HW (1 << 3) struct vgic_lr { - u16 irq; - u8 source; - u8 state; + unsigned irq:10; + union { + unsigned hwirq:10; + unsigned source:3; + }; + unsigned state:4; }; struct vgic_vmcr {