From dea6bf66ea19110e2a4517a231fc0d4527152d30 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Fri, 10 Apr 2015 18:08:09 +0000 Subject: [PATCH] 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. --- sys/boot/efi/loader/bootinfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/boot/efi/loader/bootinfo.c b/sys/boot/efi/loader/bootinfo.c index 988bdf25dda..6ef83a84e45 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 #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) {