Line data Source code
1 0 : /* 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 0 : struct fpu_ctx_full { 11 0 : uint32_t caller_saved[16]; 12 0 : uint32_t callee_saved[16]; 13 0 : uint32_t fpscr; 14 0 : 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_ */