Zephyr Project API
4.2.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
fpu.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2021, Nordic Semiconductor ASA
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_CORTEX_M_FPU_H_
8
#define ZEPHYR_INCLUDE_ARCH_ARM_CORTEX_M_FPU_H_
9
10
#include <
stdint.h
>
11
#include <
stdbool.h
>
12
13
struct
fpu_ctx_full
{
14
uint32_t
caller_saved
[16];
15
uint32_t
callee_saved
[16];
16
uint32_t
fpscr
;
17
bool
ctx_saved
;
18
};
19
20
void
z_arm_save_fp_context(
struct
fpu_ctx_full
*buffer);
21
void
z_arm_restore_fp_context(
const
struct
fpu_ctx_full
*buffer);
22
23
#endif
/* ZEPHYR_INCLUDE_ARCH_ARM_CORTEX_M_FPU_H_ */
stdbool.h
stdint.h
uint32_t
__UINT32_TYPE__ uint32_t
Definition
stdint.h:90
fpu_ctx_full
Definition
fpu.h:13
fpu_ctx_full::fpscr
uint32_t fpscr
Definition
fpu.h:16
fpu_ctx_full::ctx_saved
bool ctx_saved
Definition
fpu.h:17
fpu_ctx_full::callee_saved
uint32_t callee_saved[16]
Definition
fpu.h:15
fpu_ctx_full::caller_saved
uint32_t caller_saved[16]
Definition
fpu.h:14
include
zephyr
arch
arm
cortex_m
fpu.h
Generated on Sun Aug 24 2025 06:52:30 for Zephyr Project API by
1.9.8