Blog
Community
Development
Documentation
CNDP
22.08.0
Main Page
Related Pages
Data Structures
Data Structures
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
Functions
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
x
Functions
_
c
d
e
f
g
h
i
j
k
l
m
n
p
s
t
u
v
x
Variables
Typedefs
a
b
c
h
i
j
l
m
o
p
s
t
u
v
Enumerations
Enumerator
_
a
c
d
e
j
m
p
r
s
t
u
Macros
_
a
c
d
e
h
i
j
k
l
m
o
p
r
t
u
v
x
Examples
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
ctx.h
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright (c) 2019-2022 Intel Corporation
3
*/
4
5
#ifndef _CTX_H
6
#define _CTX_H
7
8
#ifdef __cplusplus
9
extern
"C"
{
10
#endif
11
12
/*
13
* CPU context registers
14
*/
15
struct
ctx {
16
void
*rsp;
/* 0 */
17
void
*rbp;
/* 8 */
18
void
*rip;
/* 16 */
19
void
*rbx;
/* 24 */
20
void
*r12;
/* 32 */
21
void
*r13;
/* 40 */
22
void
*r14;
/* 48 */
23
void
*r15;
/* 56 */
24
}
__cne_cache_aligned
;
25
26
void
cthread_switch(
struct
ctx *new_ctx,
struct
ctx *curr_ctx);
27
28
#ifdef __cplusplus
29
}
30
#endif
31
#endif
/* _CTX_H_ */
__cne_cache_aligned
#define __cne_cache_aligned
Definition:
cne_common.h:379
lib
usr
clib
cthread
ctx.h
Generated by
1.9.1