doc: add Meson coding style to contributors guide
[dpdk.git] / lib / librte_eal / windows / eal_interrupts.c
index 6c64a48..1d4cf79 100644 (file)
@@ -105,3 +105,140 @@ eal_intr_thread_schedule(void (*func)(void *arg), void *arg)
 
        return 0;
 }
+
+int
+rte_intr_callback_register(
+       __rte_unused const struct rte_intr_handle *intr_handle,
+       __rte_unused rte_intr_callback_fn cb, __rte_unused void *cb_arg)
+{
+       return -ENOTSUP;
+}
+
+int
+rte_intr_callback_unregister_pending(
+       __rte_unused const struct rte_intr_handle *intr_handle,
+       __rte_unused rte_intr_callback_fn cb_fn, __rte_unused void *cb_arg,
+       __rte_unused rte_intr_unregister_callback_fn ucb_fn)
+{
+       return -ENOTSUP;
+}
+
+int
+rte_intr_callback_unregister(
+       __rte_unused const struct rte_intr_handle *intr_handle,
+       __rte_unused rte_intr_callback_fn cb_fn, __rte_unused void *cb_arg)
+{
+       return 0;
+}
+
+int
+rte_intr_callback_unregister_sync(
+       __rte_unused const struct rte_intr_handle *intr_handle,
+       __rte_unused rte_intr_callback_fn cb_fn, __rte_unused void *cb_arg)
+{
+       return 0;
+}
+
+int
+rte_intr_enable(__rte_unused const struct rte_intr_handle *intr_handle)
+{
+       return -ENOTSUP;
+}
+
+int
+rte_intr_ack(__rte_unused const struct rte_intr_handle *intr_handle)
+{
+       return -ENOTSUP;
+}
+
+int
+rte_intr_disable(__rte_unused const struct rte_intr_handle *intr_handle)
+{
+       return -ENOTSUP;
+}
+
+int
+rte_intr_efd_enable(struct rte_intr_handle *intr_handle, uint32_t nb_efd)
+{
+       RTE_SET_USED(intr_handle);
+       RTE_SET_USED(nb_efd);
+
+       return 0;
+}
+
+void
+rte_intr_efd_disable(struct rte_intr_handle *intr_handle)
+{
+       RTE_SET_USED(intr_handle);
+}
+
+int
+rte_intr_dp_is_en(struct rte_intr_handle *intr_handle)
+{
+       RTE_SET_USED(intr_handle);
+
+       return 0;
+}
+
+int
+rte_intr_allow_others(struct rte_intr_handle *intr_handle)
+{
+       RTE_SET_USED(intr_handle);
+
+       return 1;
+}
+
+int
+rte_intr_cap_multiple(struct rte_intr_handle *intr_handle)
+{
+       RTE_SET_USED(intr_handle);
+
+       return 0;
+}
+
+int
+rte_epoll_wait(int epfd, struct rte_epoll_event *events,
+               int maxevents, int timeout)
+{
+       RTE_SET_USED(epfd);
+       RTE_SET_USED(events);
+       RTE_SET_USED(maxevents);
+       RTE_SET_USED(timeout);
+
+       return -ENOTSUP;
+}
+
+int
+rte_epoll_wait_interruptible(int epfd, struct rte_epoll_event *events,
+                            int maxevents, int timeout)
+{
+       RTE_SET_USED(epfd);
+       RTE_SET_USED(events);
+       RTE_SET_USED(maxevents);
+       RTE_SET_USED(timeout);
+
+       return -ENOTSUP;
+}
+
+int
+rte_epoll_ctl(int epfd, int op, int fd, struct rte_epoll_event *event)
+{
+       RTE_SET_USED(epfd);
+       RTE_SET_USED(op);
+       RTE_SET_USED(fd);
+       RTE_SET_USED(event);
+
+       return -ENOTSUP;
+}
+
+int
+rte_intr_tls_epfd(void)
+{
+       return -ENOTSUP;
+}
+
+void
+rte_intr_free_epoll_fd(struct rte_intr_handle *intr_handle)
+{
+       RTE_SET_USED(intr_handle);
+}