1*479ab7f0SSascha Wildner /*-
2*479ab7f0SSascha Wildner * Copyright (c) 2010 Rui Paulo <rpaulo@FreeBSD.org>
3*479ab7f0SSascha Wildner * All rights reserved.
4*479ab7f0SSascha Wildner *
5*479ab7f0SSascha Wildner * Redistribution and use in source and binary forms, with or without
6*479ab7f0SSascha Wildner * modification, are permitted provided that the following conditions
7*479ab7f0SSascha Wildner * are met:
8*479ab7f0SSascha Wildner *
9*479ab7f0SSascha Wildner * 1. Redistributions of source code must retain the above copyright
10*479ab7f0SSascha Wildner * notice, this list of conditions and the following disclaimer.
11*479ab7f0SSascha Wildner * 2. Redistributions in binary form must reproduce the above copyright
12*479ab7f0SSascha Wildner * notice, this list of conditions and the following disclaimer in the
13*479ab7f0SSascha Wildner * documentation and/or other materials provided with the distribution.
14*479ab7f0SSascha Wildner *
15*479ab7f0SSascha Wildner * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
16*479ab7f0SSascha Wildner * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
17*479ab7f0SSascha Wildner * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
18*479ab7f0SSascha Wildner * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19*479ab7f0SSascha Wildner * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20*479ab7f0SSascha Wildner * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21*479ab7f0SSascha Wildner * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22*479ab7f0SSascha Wildner * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23*479ab7f0SSascha Wildner * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24*479ab7f0SSascha Wildner * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25*479ab7f0SSascha Wildner *
26*479ab7f0SSascha Wildner * $FreeBSD: head/sys/boot/efi/loader/autoload.c 293724 2016-01-12 02:17:39Z smh $
27*479ab7f0SSascha Wildner */
28*479ab7f0SSascha Wildner
29*479ab7f0SSascha Wildner #include "loader_efi.h"
30*479ab7f0SSascha Wildner
31*479ab7f0SSascha Wildner extern int i386_autoload(void);
32*479ab7f0SSascha Wildner
33*479ab7f0SSascha Wildner int
efi_autoload(void)34*479ab7f0SSascha Wildner efi_autoload(void)
35*479ab7f0SSascha Wildner {
36*479ab7f0SSascha Wildner return i386_autoload();
37*479ab7f0SSascha Wildner }
38