Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Apr 2015 18:08:10 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r281376 - head/sys/boot/efi/loader
Message-ID:  <201504101808.t3AI8AYC033277@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Fri Apr 10 18:08:09 2015
New Revision: 281376
URL: https://svnweb.freebsd.org/changeset/base/281376

Log:
  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.

Modified:
  head/sys/boot/efi/loader/bootinfo.c

Modified: head/sys/boot/efi/loader/bootinfo.c
==============================================================================
--- head/sys/boot/efi/loader/bootinfo.c	Fri Apr 10 17:55:45 2015	(r281375)
+++ head/sys/boot/efi/loader/bootinfo.c	Fri Apr 10 18:08:09 2015	(r281376)
@@ -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 *
 	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) {



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