xref: /netbsd-src/sys/arch/riscv/riscv/stubs.c (revision 70c2d72ac2cd17ae94049566814b73ce85ae4bf9)
1*70c2d72aSskrll /*	$NetBSD: stubs.c,v 1.2 2020/11/04 07:09:46 skrll Exp $	*/
2*70c2d72aSskrll 
39687a165Smatt /*-
49687a165Smatt  * Copyright (c) 2014 The NetBSD Foundation, Inc.
59687a165Smatt  * All rights reserved.
69687a165Smatt  *
79687a165Smatt  * This code is derived from software contributed to The NetBSD Foundation
89687a165Smatt  * by Matt Thomas of 3am Software Foundry.
99687a165Smatt  *
109687a165Smatt  * Redistribution and use in source and binary forms, with or without
119687a165Smatt  * modification, are permitted provided that the following conditions
129687a165Smatt  * are met:
139687a165Smatt  * 1. Redistributions of source code must retain the above copyright
149687a165Smatt  *    notice, this list of conditions and the following disclaimer.
159687a165Smatt  * 2. Redistributions in binary form must reproduce the above copyright
169687a165Smatt  *    notice, this list of conditions and the following disclaimer in the
179687a165Smatt  *    documentation and/or other materials provided with the distribution.
189687a165Smatt  *
199687a165Smatt  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
209687a165Smatt  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
219687a165Smatt  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
229687a165Smatt  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
239687a165Smatt  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
249687a165Smatt  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
259687a165Smatt  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
269687a165Smatt  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
279687a165Smatt  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
289687a165Smatt  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
299687a165Smatt  * POSSIBILITY OF SUCH DAMAGE.
309687a165Smatt  */
319687a165Smatt 
329687a165Smatt #include <sys/cdefs.h>
339687a165Smatt 
34*70c2d72aSskrll __RCSID("$NetBSD: stubs.c,v 1.2 2020/11/04 07:09:46 skrll Exp $");
359687a165Smatt 
369687a165Smatt #include <sys/param.h>
37