xref: /freebsd/sys/riscv/include/thead.h (revision dfe57951f0610c6de42190b32c7ed844a97ee593)
1*dfe57951SMitchell Horne /*-
2*dfe57951SMitchell Horne  * SPDX-License-Identifier: BSD-2-Clause
3*dfe57951SMitchell Horne  *
4*dfe57951SMitchell Horne  * Copyright (c) 2024 The FreeBSD Foundation
5*dfe57951SMitchell Horne  *
6*dfe57951SMitchell Horne  * This software was developed by Mitchell Horne <mhorne@FreeBSD.org> under
7*dfe57951SMitchell Horne  * sponsorship from the FreeBSD Foundation.
8*dfe57951SMitchell Horne  *
9*dfe57951SMitchell Horne  * Redistribution and use in source and binary forms, with or without
10*dfe57951SMitchell Horne  * modification, are permitted provided that the following conditions
11*dfe57951SMitchell Horne  * are met:
12*dfe57951SMitchell Horne  * 1. Redistributions of source code must retain the above copyright
13*dfe57951SMitchell Horne  *    notice, this list of conditions and the following disclaimer.
14*dfe57951SMitchell Horne  * 2. Redistributions in binary form must reproduce the above copyright
15*dfe57951SMitchell Horne  *    notice, this list of conditions and the following disclaimer in the
16*dfe57951SMitchell Horne  *    documentation and/or other materials provided with the distribution.
17*dfe57951SMitchell Horne  *
18*dfe57951SMitchell Horne  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
19*dfe57951SMitchell Horne  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20*dfe57951SMitchell Horne  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21*dfe57951SMitchell Horne  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
22*dfe57951SMitchell Horne  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23*dfe57951SMitchell Horne  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24*dfe57951SMitchell Horne  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25*dfe57951SMitchell Horne  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26*dfe57951SMitchell Horne  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27*dfe57951SMitchell Horne  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28*dfe57951SMitchell Horne  * SUCH DAMAGE.
29*dfe57951SMitchell Horne  */
30*dfe57951SMitchell Horne #ifndef _RISCV_THEAD_H_
31*dfe57951SMitchell Horne #define	_RISCV_THEAD_H_
32*dfe57951SMitchell Horne 
33*dfe57951SMitchell Horne void thead_setup_cache(void);
34*dfe57951SMitchell Horne 
35*dfe57951SMitchell Horne #endif /* _RISCV_THEAD_H_ */
36