xref: /freebsd/stand/libofw/ofw_reboot.c (revision 3e15b01d6914c927e37d1699645783acf286655c)
1*475008d6SBrandon Bergren /*-
2*475008d6SBrandon Bergren  * Copyright (c) 2000 Benno Rice
3*475008d6SBrandon Bergren  * All rights reserved.
4*475008d6SBrandon Bergren  *
5*475008d6SBrandon Bergren  * Redistribution and use in source and binary forms, with or without
6*475008d6SBrandon Bergren  * modification, are permitted provided that the following conditions
7*475008d6SBrandon Bergren  * are met:
8*475008d6SBrandon Bergren  * 1. Redistributions of source code must retain the above copyright
9*475008d6SBrandon Bergren  *    notice, this list of conditions and the following disclaimer.
10*475008d6SBrandon Bergren  * 2. Redistributions in binary form must reproduce the above copyright
11*475008d6SBrandon Bergren  *    notice, this list of conditions and the following disclaimer in the
12*475008d6SBrandon Bergren  *    documentation and/or other materials provided with the distribution.
13*475008d6SBrandon Bergren  *
14*475008d6SBrandon Bergren  * THIS SOFTWARE IS PROVIDED BY Benno Rice ``AS IS'' AND
15*475008d6SBrandon Bergren  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16*475008d6SBrandon Bergren  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17*475008d6SBrandon Bergren  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
18*475008d6SBrandon Bergren  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19*475008d6SBrandon Bergren  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20*475008d6SBrandon Bergren  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21*475008d6SBrandon Bergren  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22*475008d6SBrandon Bergren  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23*475008d6SBrandon Bergren  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24*475008d6SBrandon Bergren  * SUCH DAMAGE.
25*475008d6SBrandon Bergren  */
26*475008d6SBrandon Bergren 
27*475008d6SBrandon Bergren #include <stand.h>
28*475008d6SBrandon Bergren #include "openfirm.h"
29*475008d6SBrandon Bergren 
30*475008d6SBrandon Bergren void
exit(int code)31*475008d6SBrandon Bergren exit(int code)
32*475008d6SBrandon Bergren {
33*475008d6SBrandon Bergren 	OF_exit();
34*475008d6SBrandon Bergren }
35