if ( rc )
printk("WARN: close_port %d failed rc=%d. ignored\n", port, rc);
}
+EXPORT_SYMBOL(unbind_evtchn);
evtchn_port_t bind_virq(uint32_t virq, evtchn_handler_t handler, void *data)
{
bind_evtchn(op.port, handler, data);
return op.port;
}
+EXPORT_SYMBOL(bind_virq);
evtchn_port_t bind_pirq(uint32_t pirq, int will_share,
evtchn_handler_t handler, void *data)
bind_evtchn(op.port, handler, data);
return op.port;
}
+EXPORT_SYMBOL(bind_pirq);
/*
* Initially all events are without a handler and disabled
*port = bind_evtchn(op.port, handler, data);
return rc;
}
+EXPORT_SYMBOL(evtchn_alloc_unbound);
/* Connect to a port so as to allow the exchange of notifications with
the pal. Returns the result of the hypervisor call. */
*local_port = bind_evtchn(port, handler, data);
return rc;
}
+EXPORT_SYMBOL(evtchn_bind_interdomain);
int evtchn_get_peercontext(evtchn_port_t local_port, char *ctx, int size)
{
rc = HYPERVISOR_xsm_op(&op);
return rc;
}
+EXPORT_SYMBOL(evtchn_get_peercontext);
/* Replace below when a hypercall is available to get the domid. */
domid_t get_domid(void)
return domid;
}
+EXPORT_SYMBOL(get_domid);
/*
* Local variables: