Changeset View
Changeset View
Standalone View
Standalone View
sys/xen/xen_intr.h
Show All 32 Lines | |||||
#ifndef _XEN_INTR_H_ | #ifndef _XEN_INTR_H_ | ||||
#define _XEN_INTR_H_ | #define _XEN_INTR_H_ | ||||
#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 */ | |||||
extern int xen_vector_callback_enabled; | |||||
void xen_intr_handle_upcall(struct trapframe *trap_frame); | 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. | ||||
▲ Show 20 Lines • Show All 236 Lines • Show Last 20 Lines |