Changeset View
Changeset View
Standalone View
Standalone View
head/sys/x86/xen/xen_intr.c
Show First 20 Lines • Show All 97 Lines • ▼ Show 20 Lines | struct xen_intr_pcpu_data { | ||||
*/ | */ | ||||
u_long evtchn_enabled[sizeof(u_long) * 8]; | u_long evtchn_enabled[sizeof(u_long) * 8]; | ||||
}; | }; | ||||
/* | /* | ||||
* Start the scan at port 0 by initializing the last scanned | * Start the scan at port 0 by initializing the last scanned | ||||
* location as the highest numbered event channel port. | * location as the highest numbered event channel port. | ||||
*/ | */ | ||||
static DPCPU_DEFINE(struct xen_intr_pcpu_data, xen_intr_pcpu) = { | DPCPU_DEFINE_STATIC(struct xen_intr_pcpu_data, xen_intr_pcpu) = { | ||||
.last_processed_l1i = LONG_BIT - 1, | .last_processed_l1i = LONG_BIT - 1, | ||||
.last_processed_l2i = LONG_BIT - 1 | .last_processed_l2i = LONG_BIT - 1 | ||||
}; | }; | ||||
DPCPU_DECLARE(struct vcpu_info *, vcpu_info); | DPCPU_DECLARE(struct vcpu_info *, vcpu_info); | ||||
#define XEN_EEXIST 17 /* Xen "already exists" error */ | #define XEN_EEXIST 17 /* Xen "already exists" error */ | ||||
#define XEN_ALLOCATE_VECTOR 0 /* Allocate a vector for this event channel */ | #define XEN_ALLOCATE_VECTOR 0 /* Allocate a vector for this event channel */ | ||||
▲ Show 20 Lines • Show All 1,554 Lines • Show Last 20 Lines |