xref: /netbsd-src/sys/arch/arm/include/fpu.h (revision 9f4370e773c21dc6e960501b4544a1e7b1d146c2)
1*9f4370e7Sriastradh /*	$NetBSD: fpu.h,v 1.1 2020/06/29 23:53:12 riastradh Exp $	*/
2*9f4370e7Sriastradh 
3*9f4370e7Sriastradh /*
4*9f4370e7Sriastradh  * Copyright (c) 2020 The NetBSD Foundation, Inc.
5*9f4370e7Sriastradh  * All rights reserved.
6*9f4370e7Sriastradh  *
7*9f4370e7Sriastradh  * Redistribution and use in source and binary forms, with or without
8*9f4370e7Sriastradh  * modification, are permitted provided that the following conditions
9*9f4370e7Sriastradh  * are met:
10*9f4370e7Sriastradh  * 1. Redistributions of source code must retain the above copyright
11*9f4370e7Sriastradh  *    notice, this list of conditions and the following disclaimer.
12*9f4370e7Sriastradh  * 2. Redistributions in binary form must reproduce the above copyright
13*9f4370e7Sriastradh  *    notice, this list of conditions and the following disclaimer in the
14*9f4370e7Sriastradh  *    documentation and/or other materials provided with the distribution.
15*9f4370e7Sriastradh  *
16*9f4370e7Sriastradh  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
17*9f4370e7Sriastradh  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
18*9f4370e7Sriastradh  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
19*9f4370e7Sriastradh  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
20*9f4370e7Sriastradh  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
21*9f4370e7Sriastradh  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22*9f4370e7Sriastradh  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23*9f4370e7Sriastradh  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
24*9f4370e7Sriastradh  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25*9f4370e7Sriastradh  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26*9f4370e7Sriastradh  * POSSIBILITY OF SUCH DAMAGE.
27*9f4370e7Sriastradh  */
28*9f4370e7Sriastradh 
29*9f4370e7Sriastradh #ifndef	_SYS_ARCH_ARM_FPU_H
30*9f4370e7Sriastradh #define	_SYS_ARCH_ARM_FPU_H
31*9f4370e7Sriastradh 
32*9f4370e7Sriastradh void fpu_kern_enter(void);
33*9f4370e7Sriastradh void fpu_kern_leave(void);
34*9f4370e7Sriastradh 
35*9f4370e7Sriastradh #endif	/* _SYS_ARCH_ARM_FPU_H */
36