wmb();
RING_PUSH_REQUESTS_AND_CHECK_NOTIFY(&dev->ring, notify);
- if(notify) notify_remote_via_evtchn(dev->evtchn);
+ if(notify) minios_notify_remote_via_evtchn(dev->evtchn);
}
static void blkfront_aio_cb(struct blkfront_aiocb *aiocbp, int ret)
dev->ring.req_prod_pvt = i + 1;
wmb();
RING_PUSH_REQUESTS_AND_CHECK_NOTIFY(&dev->ring, notify);
- if (notify) notify_remote_via_evtchn(dev->evtchn);
+ if (notify) minios_notify_remote_via_evtchn(dev->evtchn);
}
void blkfront_aio_push_operation(struct blkfront_aiocb *aiocbp, uint8_t op)
/* Use evtchn: this is called early, before irq is set up. */
if (!dev)
- notify_remote_via_evtchn(start_info.console.domU.evtchn);
+ minios_notify_remote_via_evtchn(start_info.console.domU.evtchn);
else
- notify_remote_via_evtchn(dev->evtchn);
+ minios_notify_remote_via_evtchn(dev->evtchn);
}
static inline struct xencons_interface *xencons_interface(void)
return rc;
}
-int notify_remote_via_evtchn(evtchn_port_t port)
+int minios_notify_remote_via_evtchn(evtchn_port_t port)
{
evtchn_send_t op;
op.port = port;
evtchn_port_t *local_port);
void unbind_all_ports(void);
-int notify_remote_via_evtchn(evtchn_port_t port);
+int minios_notify_remote_via_evtchn(evtchn_port_t port);
void fini_events(void);
RING_PUSH_REQUESTS_AND_CHECK_NOTIFY(&dev->rx, notify);
if (notify)
- notify_remote_via_evtchn(dev->evtchn);
+ minios_notify_remote_via_evtchn(dev->evtchn);
}
RING_PUSH_REQUESTS_AND_CHECK_NOTIFY(&dev->rx, notify);
if (notify)
- notify_remote_via_evtchn(dev->evtchn);
+ minios_notify_remote_via_evtchn(dev->evtchn);
dev->rx.sring->rsp_event = dev->rx.rsp_cons + 1;
}
RING_PUSH_REQUESTS_AND_CHECK_NOTIFY(&dev->tx, notify);
- if(notify) notify_remote_via_evtchn(dev->evtchn);
+ if(notify) minios_notify_remote_via_evtchn(dev->evtchn);
local_irq_save(flags);
network_tx_buf_gc(dev);
/* Make sure info is written before the flag */
wmb();
set_bit(_XEN_PCIF_active, (void*) &dev->info->flags);
- notify_remote_via_evtchn(dev->evtchn);
+ minios_notify_remote_via_evtchn(dev->evtchn);
minios_wait_event(pcifront_queue, !test_bit(_XEN_PCIF_active, (void*) &dev->info->flags));
spin_unlock(&xb_lock);
/* Send evtchn to notify remote */
- notify_remote_via_evtchn(start_info.store_evtchn);
+ minios_notify_remote_via_evtchn(start_info.store_evtchn);
}
/* Send a mesasge to xenbus, in the same fashion as xb_write, and