/titanic_50/usr/src/uts/i86xpv/os/ |
H A D | evtchn.c | 261 xen_close_evtchn(int evtchn) in xen_close_evtchn() argument 266 close.port = evtchn; in xen_close_evtchn() 288 xen_bind_vcpu(int evtchn, int cpu) in xen_bind_vcpu() argument 294 bind.port = evtchn; in xen_bind_vcpu() 315 xen_evtchn_unmask(int evtchn) in xen_evtchn_unmask() argument 319 unmask.port = evtchn; in xen_evtchn_unmask() 325 update_evtchn_affinity(int evtchn) in update_evtchn_affinity() argument 330 ASSERT(evtchn_to_irq[evtchn] != INVALID_IRQ); in update_evtchn_affinity() 340 if (CPU_IN_SET(evtchn_cpus[evtchn], cp->cpu_id)) in update_evtchn_affinity() 341 SET_EVTCHN_BIT(evtchn, cpe->evt_affinity); in update_evtchn_affinity() [all …]
|
/titanic_50/usr/src/uts/i86pc/i86hvm/io/xpv/ |
H A D | evtchn.c | 79 ec_bind_evtchn_to_handler(int evtchn, pri_t pri, ec_handler_fcn_t handler, in ec_bind_evtchn_to_handler() argument 84 if (evtchn < 0 || evtchn >= NR_EVENT_CHANNELS) { in ec_bind_evtchn_to_handler() 85 cmn_err(CE_WARN, "Binding invalid event channel: %d", evtchn); in ec_bind_evtchn_to_handler() 91 ASSERT(evtchn_to_handle[evtchn] == NULL); in ec_bind_evtchn_to_handler() 92 evtchn_to_handle[evtchn] = hdl; in ec_bind_evtchn_to_handler() 96 hypervisor_unmask_event(evtchn); in ec_bind_evtchn_to_handler() 100 ec_unbind_evtchn(int evtchn) in ec_unbind_evtchn() argument 105 if (evtchn < 0 || evtchn >= NR_EVENT_CHANNELS) { in ec_unbind_evtchn() 106 cmn_err(CE_WARN, "Unbinding invalid event channel: %d", evtchn); in ec_unbind_evtchn() 114 hypervisor_mask_event(evtchn); in ec_unbind_evtchn() [all …]
|
/titanic_50/usr/src/cmd/mdb/i86xpv/modules/xpv_psm/ |
H A D | xpv_psm.c | 202 print_cpu(irq_info_t *irqp, int evtchn) in print_cpu() argument 223 if (evtchn >= NR_EVENT_CHANNELS || evtchn == 0) { in print_cpu() 229 (cpuset_size * evtchn)); in print_cpu() 315 char evtchn[8]; in ec_interrupt_dump() local 321 print_cpu(irqp, irqp->ii_u.evtchn); in ec_interrupt_dump() 331 strcpy(evtchn, "T"); in ec_interrupt_dump() 333 mdb_snprintf(evtchn, sizeof (evtchn), "%-7d", in ec_interrupt_dump() 334 irqp->ii_u.evtchn); in ec_interrupt_dump() 338 strcpy(evtchn, "I"); in ec_interrupt_dump() 341 strcpy(evtchn, "D"); in ec_interrupt_dump() [all …]
|
/titanic_50/usr/src/cmd/mdb/i86xpv/modules/xpv_uppc/ |
H A D | xpv_uppc.c | 205 pic_interrupt_dump(int i, struct autovec *avhp, int evtchn) in pic_interrupt_dump() argument 215 i, i + PIC_VECTBASE, evtchn, avec_tbl[i].avh_lo_pri, in pic_interrupt_dump() 230 char evtchn[8]; in ec_interrupt_dump() local 252 strcpy(evtchn, "T"); in ec_interrupt_dump() 254 mdb_snprintf(evtchn, sizeof (evtchn), "%-7d", in ec_interrupt_dump() 255 irqp->ii_u.evtchn); in ec_interrupt_dump() 259 strcpy(evtchn, "I"); in ec_interrupt_dump() 262 strcpy(evtchn, "D"); in ec_interrupt_dump() 271 mdb_printf("%-7s", evtchn); in ec_interrupt_dump() 340 if (irq_tbl[i].ii_u.evtchn == 0) in xen_uppc_interrupt_dump() [all …]
|
/titanic_50/usr/src/cmd/mdb/i86pc/modules/common/ |
H A D | intr_common.c | 221 char evtchn[8]; in apic_interrupt_dump() local 251 evtchn[0] = '\0'; in apic_interrupt_dump() 253 (void) mdb_snprintf(evtchn, 8, "%-7hd", *evtchnp); in apic_interrupt_dump() 273 i, irqp->airq_vector, evtchn, ipl, in apic_interrupt_dump() 326 char evtchn[8]; in apix_interrupt_dump() local 366 evtchn[0] = '\0'; in apix_interrupt_dump() 368 (void) mdb_snprintf(evtchn, 8, "%-7hd", *evtchnp); in apix_interrupt_dump() 391 "%-9s ", cpu_vector, irq, evtchn, ipl, in apix_interrupt_dump() 418 char evtchn[8]; in apix_interrupt_ipi_dump() local 431 evtchn[0] = '\0'; in apix_interrupt_ipi_dump() [all …]
|
/titanic_50/usr/src/uts/i86xpv/boot/ |
H A D | boot_xconsole.c | 186 send.port = xen_info->console.domU.evtchn; in bcons_putchar_xen() 239 send.port = xen_info->console.domU.evtchn; in bcons_getchar_xen()
|
/titanic_50/usr/src/cmd/mdb/i86xpv/modules/xpv/ |
H A D | xpv.c | 63 struct evtchn *evtchn[NR_EVTCHN_BUCKETS]; member
|
/titanic_50/usr/src/uts/i86xpv/evtchn/ |
H A D | Makefile | 42 MODULE = evtchn
|
/titanic_50/usr/src/uts/i86pc/i86hvm/ |
H A D | Makefile.files | 42 XPV_OBJS += xpv_support.o xvdi.o gnttab.o evtchn.o \
|
/titanic_50/usr/src/uts/common/xen/public/ |
H A D | xen.h | 560 uint32_t evtchn; /* Event channel for console page. */ member 583 #define console_evtchn console.domU.evtchn
|
/titanic_50/usr/src/uts/i86xpv/ |
H A D | Makefile.i86xpv | 201 $(IF_DEBUG_OBJ)evtchn.o := DEBUG_DEFS += -DTRAPTRACE 265 DRV_KMODS += evtchn
|
H A D | Makefile.files | 131 evtchn.o \
|
/titanic_50/usr/src/uts/i86xpv/sys/ |
H A D | evtchn_impl.h | 136 ushort_t evtchn; /* event channel */ member
|
/titanic_50/usr/src/uts/common/xen/sys/ |
H A D | README | 31 evtchn.h, privcmd.h, and xenbus.h should not be edited in ON. They are
|
/titanic_50/usr/src/uts/common/xen/io/ |
H A D | xencons.c | 292 xcp->evtchn = xvdi_get_evtchn(xcp->dip); in xenconssetup() 687 ec_notify_via_evtchn(xcp->evtchn); in xencons_rxint() 877 ec_notify_via_evtchn(xcp->evtchn); in xcasync_start() 1309 ec_notify_via_evtchn(xcp->evtchn); in xenconsputchar() 1359 ec_wait_on_evtchn(xcp->evtchn, (int (*)(void *))xenconsischar, arg); in xenconsgetchar()
|
H A D | xencons.h | 131 int evtchn; /* console event channel */ member
|
H A D | blk_common.c | 689 evtchn_port_t evtchn; in blk_bindto_frontend() local 709 "event-channel", "%u", &evtchn, NULL); in blk_bindto_frontend() 749 e = xvdi_bind_evtchn(dip, evtchn); in blk_bindto_frontend()
|
H A D | xdb.c | 735 evtchn_port_t evtchn; in xdb_bindto_frontend() local 756 XBP_EVENT_CHAN, "%u", &evtchn, in xdb_bindto_frontend() 816 err = xvdi_bind_evtchn(dip, evtchn); in xdb_bindto_frontend()
|
/titanic_50/usr/src/uts/common/xen/os/ |
H A D | xvdi.c | 399 xvdi_bind_evtchn(dev_info_t *dip, evtchn_port_t evtchn) in xvdi_bind_evtchn() argument 412 pdp->xd_evtchn = xen_info->console.domU.evtchn; in xvdi_bind_evtchn() 425 if ((r = xen_bind_interdomain(oeid, evtchn, &pdp->xd_evtchn))) { in xvdi_bind_evtchn() 457 pdp->xd_evtchn = xen_info->console.domU.evtchn; in xvdi_alloc_evtchn()
|
/titanic_50/usr/src/pkg/manifests/ |
H A D | system-kernel-platform.mf | 414 $(i386_ONLY)driver name=evtchn perms="* 0666 root sys" 873 $(i386_ONLY)file path=platform/i86xpv/kernel/drv/$(ARCH64)/evtchn group=sys
|