Zephyr API Documentation  3.0.0
A Scalable Open Source RTOS
3.0.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
events.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2021 EPAM Systems
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6#ifndef __XEN_EVENTS_H__
7#define __XEN_EVENTS_H__
8
10
11#include <kernel.h>
12
13typedef void (*evtchn_cb_t)(void *priv);
14
17 void *priv;
18};
19
21
25
27
28#endif /* __XEN_EVENTS_H__ */
uint32_t evtchn_port_t
Definition: event_channel.h:74
void notify_evtchn(evtchn_port_t port)
void(* evtchn_cb_t)(void *priv)
Definition: events.h:13
int bind_event_channel(evtchn_port_t port, evtchn_cb_t cb, void *data)
int unbind_event_channel(evtchn_port_t port)
int xen_events_init(void)
Definition: events.h:15
void * priv
Definition: events.h:17
evtchn_cb_t cb
Definition: events.h:16
static fdata_t data[2]
Definition: test_fifo_contexts.c:15