Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Dec 2015 12:38:15 -0800
From:      John Baldwin <jhb@freebsd.org>
To:        Warner Losh <imp@freebsd.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r292472 - in head/sys: amd64/amd64 sys
Message-ID:  <1777356.pH0Cpe84Od@ralph.baldwin.cx>
In-Reply-To: <201512191901.tBJJ1hEP013786@repo.freebsd.org>
References:  <201512191901.tBJJ1hEP013786@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday, December 19, 2015 07:01:43 PM Warner Losh wrote:
> Author: imp
> Date: Sat Dec 19 19:01:43 2015
> New Revision: 292472
> URL: https://svnweb.freebsd.org/changeset/base/292472
> 
> Log:
>   Save the physical address passed into the kernel of the UEFI system
>   table.
> 
> Modified:
>   head/sys/amd64/amd64/machdep.c
>   head/sys/sys/efi.h
> 
> Modified: head/sys/amd64/amd64/machdep.c
> ==============================================================================
> --- head/sys/amd64/amd64/machdep.c	Sat Dec 19 19:01:42 2015	(r292471)
> +++ head/sys/amd64/amd64/machdep.c	Sat Dec 19 19:01:43 2015	(r292472)
> @@ -1615,6 +1622,8 @@ hammer_time(u_int64_t modulep, u_int64_t
>  	/*
>  	 * Use vt(4) by default for UEFI boot (during the sc(4)/vt(4)
>  	 * transition).
> +	 * Once bootblocks have updated, we can test directly for
> +	 * efi_systbl != NULL here...
>  	 */
>  	if (preload_search_info(kmdp, MODINFO_METADATA | MODINFOMD_EFI_MAP)
>  	    != NULL)

This part doesn't seem worth changing since the EFI map is always going to be
there and works for both old and new loaders?

-- 
John Baldwin



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