Deleted Added
full compact
conf.c (206376) conf.c (264095)
1/*-
2 * Copyright (c) 2006 Marcel Moolenaar
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *

--- 11 unchanged lines hidden (view full) ---

20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2006 Marcel Moolenaar
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *

--- 11 unchanged lines hidden (view full) ---

20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
28__FBSDID("$FreeBSD: head/sys/boot/i386/efi/conf.c 206376 2010-04-07 18:16:05Z rpaulo $");
28__FBSDID("$FreeBSD: head/sys/boot/amd64/efi/conf.c 264095 2014-04-04 00:16:46Z emaste $");
29
30#include <stand.h>
31#include <bootstrap.h>
32#include <efi.h>
33#include <efilib.h>
34
35struct devsw *devsw[] = {
36 &efipart_dev,

--- 10 unchanged lines hidden (view full) ---

47 NULL
48};
49
50struct netif_driver *netif_drivers[] = {
51 &efinetif,
52 NULL
53};
54
29
30#include <stand.h>
31#include <bootstrap.h>
32#include <efi.h>
33#include <efilib.h>
34
35struct devsw *devsw[] = {
36 &efipart_dev,

--- 10 unchanged lines hidden (view full) ---

47 NULL
48};
49
50struct netif_driver *netif_drivers[] = {
51 &efinetif,
52 NULL
53};
54
55#ifdef notyet
56extern struct file_format amd64_elf;
57extern struct file_format amd64_elf_obj;
55extern struct file_format amd64_elf;
56extern struct file_format amd64_elf_obj;
58#endif
59extern struct file_format i386_elf;
60extern struct file_format i386_elf_obj;
61
62struct file_format *file_formats[] = {
57
58struct file_format *file_formats[] = {
63#ifdef notyet
64 &amd64_elf,
65 &amd64_elf_obj,
59 &amd64_elf,
60 &amd64_elf_obj,
66#endif
67 &i386_elf,
68 &i386_elf_obj,
69 NULL
70};
71
72extern struct console efi_console;
73
74struct console *consoles[] = {
75 &efi_console,
76 NULL
77};
61 NULL
62};
63
64extern struct console efi_console;
65
66struct console *consoles[] = {
67 &efi_console,
68 NULL
69};