svn commit: r281020 - head/sys/boot/efi/loader
Andrew Turner
andrew at FreeBSD.org
Fri Apr 3 12:08:09 UTC 2015
Author: andrew
Date: Fri Apr 3 12:08:08 2015
New Revision: 281020
URL: https://svnweb.freebsd.org/changeset/base/281020
Log:
Only enable comconsole and nullconsole on x86.
Modified:
head/sys/boot/efi/loader/conf.c
Modified: head/sys/boot/efi/loader/conf.c
==============================================================================
--- head/sys/boot/efi/loader/conf.c Fri Apr 3 11:37:23 2015 (r281019)
+++ head/sys/boot/efi/loader/conf.c Fri Apr 3 12:08:08 2015 (r281020)
@@ -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
};
More information about the svn-src-head
mailing list