Zephyr API Documentation
4.1.99
A Scalable Open Source RTOS
4.1.99
Toggle main menu visibility
Main Page
Related Pages
Topics
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
Enumerations
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
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
z
Variables
$
a
b
c
d
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
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
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
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
Loading...
Searching...
No Matches
structs.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2025 Intel
3
* SPDX-License-Identifier: Apache-2.0
4
*/
5
6
#ifndef ZEPHYR_INCLUDE_X86_STRUCTS_H_
7
#define ZEPHYR_INCLUDE_X86_STRUCTS_H_
8
9
#include <
stdint.h
>
10
11
struct
k_thread
;
12
13
/* Per CPU architecture specifics (empty) */
14
struct
_cpu_arch {
15
16
#if defined(CONFIG_FPU_SHARING)
17
/*
18
* A 'sse_owner' field does not exist in addition to the 'fpu_owner'
19
* field since it's not possible to divide the IA-32 non-integer
20
* registers into 2 distinct blocks owned by differing threads. In
21
* other words, given that the 'fxnsave/fxrstor' instructions
22
* save/restore both the X87 FPU and XMM registers, it's not possible
23
* for a thread to only "own" the XMM registers.
24
*/
25
26
struct
k_thread
*fpu_owner;
27
#elif defined(__cplusplus)
28
/* Ensure this struct does not have a size of 0 which is not allowed in C++. */
29
uint8_t
dummy;
30
#endif
31
};
32
33
#endif
/* ZEPHYR_INCLUDE_X86_STRUCTS_H_ */
stdint.h
uint8_t
__UINT8_TYPE__ uint8_t
Definition
stdint.h:88
k_thread
Thread Structure.
Definition
thread.h:261
zephyr
arch
x86
ia32
structs.h
Generated on Tue Mar 18 2025 00:07:10 for Zephyr API Documentation by
1.12.0