diff options
author | andrew <andrew@FreeBSD.org> | 2015-04-03 12:08:08 +0000 |
---|---|---|
committer | andrew <andrew@FreeBSD.org> | 2015-04-03 12:08:08 +0000 |
commit | e4e59fd737335f90351f1394cc35355c54eb94d9 (patch) | |
tree | f8d64e37f95b5a5b4c142e1bcf2df61711f848aa /sys/boot | |
parent | f2d115ccaa9f3b1f338c77c4fd94363c7dad4ed1 (diff) | |
download | FreeBSD-src-e4e59fd737335f90351f1394cc35355c54eb94d9.zip FreeBSD-src-e4e59fd737335f90351f1394cc35355c54eb94d9.tar.gz |
Only enable comconsole and nullconsole on x86.
Diffstat (limited to 'sys/boot')
-rw-r--r-- | sys/boot/efi/loader/conf.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/boot/efi/loader/conf.c b/sys/boot/efi/loader/conf.c index 8c063fd..8bb9d5f 100644 --- a/sys/boot/efi/loader/conf.c +++ b/sys/boot/efi/loader/conf.c @@ -54,12 +54,16 @@ struct netif_driver *netif_drivers[] = { }; extern struct console efi_console; +#if defined(__amd64__) || defined(__i386__) extern struct console comconsole; extern struct console nullconsole; +#endif struct console *consoles[] = { &efi_console, +#if defined(__amd64__) || defined(__i386__) &comconsole, &nullconsole, +#endif NULL }; |