• J
    xen: implement pirq type event channels · d46a78b0
    Jeremy Fitzhardinge 提交于
    A privileged PV Xen domain can get direct access to hardware.  In
    order for this to be useful, it must be able to get hardware
    interrupts.
    
    Being a PV Xen domain, all interrupts are delivered as event channels.
    PIRQ event channels are bound to a pirq number and an interrupt
    vector.  When a IO APIC raises a hardware interrupt on that vector, it
    is delivered as an event channel, which we can deliver to the
    appropriate device driver(s).
    
    This patch simply implements the infrastructure for dealing with pirq
    event channels.
    
    [ Impact: integrate hardware interrupts into Xen's event scheme ]
    Signed-off-by: NJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
    Signed-off-by: NKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
    d46a78b0
events.h 2.4 KB