Zephyr API Documentation
4.0.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
struct
fpu_ctx_full
{
11
uint32_t
caller_saved
[16];
12
uint32_t
callee_saved
[16];
13
uint32_t
fpscr
;
14
bool
ctx_saved
;
15
};
16
17
void
z_arm_save_fp_context(
struct
fpu_ctx_full
*buffer);
18
void
z_arm_restore_fp_context(
const
struct
fpu_ctx_full
*buffer);
19
20
#endif
/* ZEPHYR_INCLUDE_ARCH_ARM_CORTEX_M_FPU_H_ */
uint32_t
__UINT32_TYPE__ uint32_t
Definition
stdint.h:90
fpu_ctx_full
Definition
fpu.h:10
fpu_ctx_full::fpscr
uint32_t fpscr
Definition
fpu.h:13
fpu_ctx_full::ctx_saved
bool ctx_saved
Definition
fpu.h:14
fpu_ctx_full::callee_saved
uint32_t callee_saved[16]
Definition
fpu.h:12
fpu_ctx_full::caller_saved
uint32_t caller_saved[16]
Definition
fpu.h:11
zephyr
arch
arm
cortex_m
fpu.h
Generated on Sun Dec 22 2024 18:02:20 for Zephyr API Documentation by
1.12.0