Zephyr API Documentation
3.0.0
A Scalable Open Source RTOS
3.0.0
Toggle main menu visibility
Main Page
Related Pages
Modules
Data Structures
Data Structures
Data Structure Index
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
Files
File List
Globals
All
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Macros
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
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
9
#include <
xen/public/event_channel.h
>
10
11
#include <kernel.h>
12
13
typedef
void (*
evtchn_cb_t
)(
void
*priv);
14
15
struct
event_channel_handle
{
16
evtchn_cb_t
cb
;
17
void
*
priv
;
18
};
19
20
typedef
struct
event_channel_handle
evtchn_handle_t
;
21
22
void
notify_evtchn
(
evtchn_port_t
port);
23
int
bind_event_channel
(
evtchn_port_t
port,
evtchn_cb_t
cb
,
void
*
data
);
24
int
unbind_event_channel
(
evtchn_port_t
port);
25
26
int
xen_events_init
(
void
);
27
28
#endif
/* __XEN_EVENTS_H__ */
event_channel.h
evtchn_port_t
uint32_t evtchn_port_t
Definition:
event_channel.h:74
notify_evtchn
void notify_evtchn(evtchn_port_t port)
evtchn_cb_t
void(* evtchn_cb_t)(void *priv)
Definition:
events.h:13
bind_event_channel
int bind_event_channel(evtchn_port_t port, evtchn_cb_t cb, void *data)
unbind_event_channel
int unbind_event_channel(evtchn_port_t port)
xen_events_init
int xen_events_init(void)
event_channel_handle
Definition:
events.h:15
event_channel_handle::priv
void * priv
Definition:
events.h:17
event_channel_handle::cb
evtchn_cb_t cb
Definition:
events.h:16
data
static fdata_t data[2]
Definition:
test_fifo_contexts.c:15
include
xen
events.h
Generated on Mon Feb 21 2022 22:43:02 for Zephyr API Documentation by
1.9.2