svn commit: r292472 - in head/sys: amd64/amd64 sys

John Baldwin jhb at freebsd.org
Mon Dec 21 20:39:00 UTC 2015


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


More information about the svn-src-head mailing list