Zephyr API 3.6.99
Loading...
Searching...
No Matches
thread.h File Reference

Per-arch thread definition. More...

#include <stdint.h>
#include <zephyr/arch/x86/mmustructs.h>

Go to the source code of this file.

Data Structures

struct  s_FpRegSet
 
struct  s_FpRegSetEx
 
struct  s_preempFloatReg
 

Macros

#define FP_REG_SET_ALIGN   1
 Floating point register set alignment.
 
#define X86_THREAD_FLAG_INT   0x01
 
#define X86_THREAD_FLAG_EXC   0x02
 
#define X86_THREAD_FLAG_ALL   (X86_THREAD_FLAG_INT | X86_THREAD_FLAG_EXC)
 

Typedefs

typedef struct s_FpRegSet tFpRegSet
 
typedef struct s_FpRegSetEx tFpRegSetEx
 
typedef struct s_preempFloatReg tPreempFloatReg
 

Detailed Description

Per-arch thread definition.

This file contains definitions for

struct _thread_arch struct _callee_saved

necessary to instantiate instances of struct k_thread.

Macro Definition Documentation

◆ FP_REG_SET_ALIGN

#define FP_REG_SET_ALIGN   1

Floating point register set alignment.

If support for SSEx extensions is enabled a 16 byte boundary is required, since the 'fxsave' and 'fxrstor' instructions require this. In all other cases a 4 byte boundary is sufficient.

◆ X86_THREAD_FLAG_ALL

#define X86_THREAD_FLAG_ALL   (X86_THREAD_FLAG_INT | X86_THREAD_FLAG_EXC)

◆ X86_THREAD_FLAG_EXC

#define X86_THREAD_FLAG_EXC   0x02

◆ X86_THREAD_FLAG_INT

#define X86_THREAD_FLAG_INT   0x01

Typedef Documentation

◆ tFpRegSet

typedef struct s_FpRegSet tFpRegSet

◆ tFpRegSetEx

typedef struct s_FpRegSetEx tFpRegSetEx

◆ tPreempFloatReg