From cf5d3022f9d8568cb27077e76defa743926a331d Mon Sep 17 00:00:00 2001 From: Andrew Turner Date: Fri, 3 Apr 2015 12:08:08 +0000 Subject: [PATCH] Only enable comconsole and nullconsole on x86. --- sys/boot/efi/loader/conf.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/boot/efi/loader/conf.c b/sys/boot/efi/loader/conf.c index 8c063fd370d0..8bb9d5f0cda7 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 };