xref: /illumos-gate/usr/src/boot/libsa/abort.c (revision 22028508)
128de4f3cSToomas Soome /*
228de4f3cSToomas Soome  * Copyright (c) 2018 Netflix, Inc.
328de4f3cSToomas Soome  *
428de4f3cSToomas Soome  * Redistribution and use in source and binary forms, with or without
528de4f3cSToomas Soome  * modification, are permitted provided that the following conditions
628de4f3cSToomas Soome  * are met:
728de4f3cSToomas Soome  * 1. Redistributions of source code must retain the above copyright
828de4f3cSToomas Soome  *    notice, this list of conditions and the following disclaimer.
928de4f3cSToomas Soome  * 2. Redistributions in binary form must reproduce the above copyright
1028de4f3cSToomas Soome  *    notice, this list of conditions and the following disclaimer in the
1128de4f3cSToomas Soome  *    documentation and/or other materials provided with the distribution.
1228de4f3cSToomas Soome  *
1328de4f3cSToomas Soome  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1428de4f3cSToomas Soome  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1528de4f3cSToomas Soome  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1628de4f3cSToomas Soome  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
1728de4f3cSToomas Soome  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1828de4f3cSToomas Soome  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
1928de4f3cSToomas Soome  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2028de4f3cSToomas Soome  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2128de4f3cSToomas Soome  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2228de4f3cSToomas Soome  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2328de4f3cSToomas Soome  * SUCH DAMAGE.
2428de4f3cSToomas Soome  */
2528de4f3cSToomas Soome 
2628de4f3cSToomas Soome #include <sys/cdefs.h>
2728de4f3cSToomas Soome 
2828de4f3cSToomas Soome #include <stand.h>
2928de4f3cSToomas Soome 
3028de4f3cSToomas Soome void
abort(void)3128de4f3cSToomas Soome abort(void)
3228de4f3cSToomas Soome {
3328de4f3cSToomas Soome 	panic("Bootloader aborted by abort");
3428de4f3cSToomas Soome }
35