Files
test/arch/include/armv7-r/fpu.h
2025-11-07 20:19:23 +08:00

45 lines
588 B
C

/*
* fpu.h
*
* Copyright (c) 2020 Semidrive Semiconductor.
* All rights reserved.
*
* Description: ARM fpu interface.
*
* Revision History:
* -----------------
*/
#ifndef INCLUDE_ARCH_FPU_H
#define INCLUDE_ARCH_FPU_H
#ifndef ASSEMBLY
#include <compiler.h>
__BEGIN_CDECLS
/*
* fpu enable.
*/
#if CONFIG_ARCH_WITH_FPU
void arm_fpu_enable(void);
#else
#define arm_fpu_enable()
#endif
/*
* fpu disable.
*/
#if CONFIG_ARCH_WITH_FPU
void arm_fpu_disable(void);
#else
#define arm_fpu_disable()
#endif
__END_CDECLS
#endif
#endif