Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Apr 2015 12:08:08 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r281020 - head/sys/boot/efi/loader
Message-ID:  <201504031208.t33C88aP021535@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 };



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504031208.t33C88aP021535>