summaryrefslogtreecommitdiffstats
path: root/sys/boot/efi/loader
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2015-04-10 18:08:09 +0000
committeremaste <emaste@FreeBSD.org>2015-04-10 18:08:09 +0000
commitee55ee8e46b4f41aa1c642d0acf32a4acacbcb5f (patch)
treed68fb2cc7fed58d046013a97db26e7ab1a9e1e15 /sys/boot/efi/loader
parentc7f08411e0a7093fd65b33ad890811466257df99 (diff)
downloadFreeBSD-src-ee55ee8e46b4f41aa1c642d0acf32a4acacbcb5f.zip
FreeBSD-src-ee55ee8e46b4f41aa1c642d0acf32a4acacbcb5f.tar.gz
Limit EFI framebuffer metadata to amd64 for now
The i386 loader.efi does not yet exist. Avoid dealing with vt and framebuffer issues there until the initial bootstrapping is done.
Diffstat (limited to 'sys/boot/efi/loader')
-rw-r--r--sys/boot/efi/loader/bootinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/efi/loader/bootinfo.c b/sys/boot/efi/loader/bootinfo.c
index 988bdf2..6ef83a8 100644
--- a/sys/boot/efi/loader/bootinfo.c
+++ b/sys/boot/efi/loader/bootinfo.c
@@ -46,7 +46,7 @@ __FBSDID("$FreeBSD$");
#include "bootstrap.h"
#include "loader_efi.h"
-#if defined(__amd64__) || defined(__i386__)
+#if defined(__amd64__)
#include <machine/specialreg.h>
#include "framebuffer.h"
#endif
@@ -244,7 +244,7 @@ bi_load_efi_data(struct preloaded_file *kfp)
UINT32 mmver;
struct efi_map_header *efihdr;
-#if defined(__amd64__) || defined(__i386__)
+#if defined(__amd64__)
struct efi_fb efifb;
if (efi_find_framebuffer(&efifb) == 0) {
OpenPOWER on IntegriCloud