Changeset View
Changeset View
Standalone View
Standalone View
sys/xen/xen_intr.h
Show All 35 Lines | |||||
#include <xen/interface/event_channel.h> | #include <xen/interface/event_channel.h> | ||||
/** Registered Xen interrupt callback handle. */ | /** Registered Xen interrupt callback handle. */ | ||||
typedef void * xen_intr_handle_t; | typedef void * xen_intr_handle_t; | ||||
/** If non-zero, the hypervisor has been configured to use a direct vector */ | /** If non-zero, the hypervisor has been configured to use a direct vector */ | ||||
extern int xen_vector_callback_enabled; | extern int xen_vector_callback_enabled; | ||||
void xen_intr_handle_upcall(struct trapframe *trap_frame); | |||||
/** | /** | ||||
* Associate an already allocated local event channel port an interrupt | * Associate an already allocated local event channel port an interrupt | ||||
* handler. | * handler. | ||||
* | * | ||||
* \param dev The device making this bind request. | * \param dev The device making this bind request. | ||||
* \param local_port The event channel to bind. | * \param local_port The event channel to bind. | ||||
* \param filter An interrupt filter handler. Specify NULL | * \param filter An interrupt filter handler. Specify NULL | ||||
* to always dispatch to the ithread handler. | * to always dispatch to the ithread handler. | ||||
▲ Show 20 Lines • Show All 213 Lines • Show Last 20 Lines |