xref: /freebsd/stand/libsa/abort.c (revision 3e15b01d)
12b0268cfSWarner Losh /*
252467047SWarner Losh  * Copyright (c) 2018 Netflix, Inc.
32b0268cfSWarner Losh  *
42b0268cfSWarner Losh  * Redistribution and use in source and binary forms, with or without
52b0268cfSWarner Losh  * modification, are permitted provided that the following conditions
62b0268cfSWarner Losh  * are met:
72b0268cfSWarner Losh  * 1. Redistributions of source code must retain the above copyright
82b0268cfSWarner Losh  *    notice, this list of conditions and the following disclaimer.
92b0268cfSWarner Losh  * 2. Redistributions in binary form must reproduce the above copyright
102b0268cfSWarner Losh  *    notice, this list of conditions and the following disclaimer in the
112b0268cfSWarner Losh  *    documentation and/or other materials provided with the distribution.
122b0268cfSWarner Losh  *
132b0268cfSWarner Losh  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
142b0268cfSWarner Losh  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
152b0268cfSWarner Losh  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
162b0268cfSWarner Losh  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
172b0268cfSWarner Losh  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
182b0268cfSWarner Losh  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
192b0268cfSWarner Losh  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
202b0268cfSWarner Losh  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
212b0268cfSWarner Losh  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
222b0268cfSWarner Losh  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
232b0268cfSWarner Losh  * SUCH DAMAGE.
242b0268cfSWarner Losh  */
252b0268cfSWarner Losh 
262b0268cfSWarner Losh #include <stand.h>
272b0268cfSWarner Losh 
282b0268cfSWarner Losh void
abort(void)292b0268cfSWarner Losh abort(void)
302b0268cfSWarner Losh {
312b0268cfSWarner Losh 	panic("Bootloader aborted by abort");
322b0268cfSWarner Losh }
33