Re: svn commit: r307326 - head/sys/boot/efi/loader

2017-06-26 Thread Alexey Dokuchaev
On Fri, Oct 14, 2016 at 05:10:53PM +, Doug Ambrisko wrote: > New Revision: 307326 > URL: https://svnweb.freebsd.org/changeset/base/307326 > > Log: > In UEFI mode expose the SMBIOS anchor base address via kenv so the kernel > etc. can find out where the SMBIOS entry point is located. In pu

Re: svn commit: r307326 - head/sys/boot/efi/loader

2016-10-19 Thread Slawa Olhovchenkov
On Wed, Oct 19, 2016 at 04:33:39PM -0600, Warner Losh wrote: > On Wed, Oct 19, 2016 at 11:34 AM, John Baldwin wrote: > > On Wednesday, October 19, 2016 02:01:18 AM Warner Losh wrote: > >> One of my systems would export these as sysctls: > >> > >> smbios.bios.reldate="07/05/2013" > >> smbios.bios.

Re: svn commit: r307326 - head/sys/boot/efi/loader

2016-10-19 Thread Warner Losh
On Wed, Oct 19, 2016 at 11:34 AM, John Baldwin wrote: > On Wednesday, October 19, 2016 02:01:18 AM Warner Losh wrote: >> One of my systems would export these as sysctls: >> >> smbios.bios.reldate="07/05/2013" >> smbios.bios.vendor="American Megatrends Inc." >> smbios.bios.version="3.00" >> smbios.

Re: svn commit: r307326 - head/sys/boot/efi/loader

2016-10-19 Thread John Baldwin
On Wednesday, October 19, 2016 02:01:18 AM Warner Losh wrote: > One of my systems would export these as sysctls: > > smbios.bios.reldate="07/05/2013" > smbios.bios.vendor="American Megatrends Inc." > smbios.bios.version="3.00" > smbios.chassis.maker="Supermicro" > smbios.chassis.serial="0123456789

Re: svn commit: r307326 - head/sys/boot/efi/loader

2016-10-19 Thread Warner Losh
;> >> ambri...@ambrisko.com> >> >> > | > Date: 2016-10-14, Friday at 10:27 >> >> > | > To: Warner Losh >> >> > | > Cc: Doug Ambrisko , src-committers < >> >> src-committ...@freebsd.org>, "svn-src-...@freebsd.org"

Re: svn commit: r307326 - head/sys/boot/efi/loader

2016-10-18 Thread John Baldwin
> > | > To: Warner Losh > >> > | > Cc: Doug Ambrisko , src-committers < > >> src-committ...@freebsd.org>, "svn-src-...@freebsd.org" < > >> svn-src-...@freebsd.org>, "svn-src-head@freebsd.org" < > >> svn-src-head@freebsd.org&

Re: svn commit: r307326 - head/sys/boot/efi/loader

2016-10-18 Thread Warner Losh
freebsd.org>, "svn-src-...@freebsd.org" < >> svn-src-...@freebsd.org>, "svn-src-head@freebsd.org" < >> svn-src-head@freebsd.org> >> > | > Subject: Re: svn commit: r307326 - head/sys/boot/efi/loader >> > | > >> > | >

Re: svn commit: r307326 - head/sys/boot/efi/loader

2016-10-17 Thread Bruce Simpson
On 17/10/16 21:23, Bruce Simpson wrote: On 17/10/16 18:40, John Baldwin wrote: I'm a bit hesitant to do all the type parsing in the kernel vs userland. However, I think having smbios(4) export a /dev/smbios that you can either read() or mmap() to access the table would be very convenient and let

Re: svn commit: r307326 - head/sys/boot/efi/loader

2016-10-17 Thread Bruce Simpson
On 17/10/16 18:40, John Baldwin wrote: I'm a bit hesitant to do all the type parsing in the kernel vs userland. However, I think having smbios(4) export a /dev/smbios that you can either read() or mmap() to access the table would be very convenient and let you keep the bits to parse the table in

Re: svn commit: r307326 - head/sys/boot/efi/loader

2016-10-17 Thread John Baldwin
< > ambri...@ambrisko.com> > > | > Date: 2016-10-14, Friday at 10:27 > > | > To: Warner Losh > > | > Cc: Doug Ambrisko , src-committers < > src-committ...@freebsd.org>, "svn-src-...@freebsd.org" < > svn-src-...@freebsd.org>, "svn-src

Re: svn commit: r307326 - head/sys/boot/efi/loader

2016-10-14 Thread Doug Ambrisko
org>, src-committers |<[6]src-committ...@freebsd.org>, "[7]svn-src-...@freebsd.org" |<[8]svn-src-...@freebsd.org>, "[9]svn-src-head@freebsd.org" |<[10]svn-src-head@freebsd.org> |> | > Subject: Re: svn commit: r307326 - head/sys/boot/efi/loader |&

Re: svn commit: r307326 - head/sys/boot/efi/loader

2016-10-14 Thread Warner Losh
t; To: Warner Losh > | > Cc: Doug Ambrisko , src-committers < src-committ...@freebsd.org>, "svn-src-...@freebsd.org" < svn-src-...@freebsd.org>, "svn-src-head@freebsd.org" < svn-src-head@freebsd.org> > | > Subject: Re: svn commit: r307326 - hea

Re: svn commit: r307326 - head/sys/boot/efi/loader

2016-10-14 Thread Doug Ambrisko
ot;svn-src-head@freebsd.org" | > Subject: Re: svn commit: r307326 - head/sys/boot/efi/loader | > | > On Fri, Oct 14, 2016 at 11:16:02AM -0600, Warner Losh wrote: | > | Love the functionality, but don't like using the 'hint' namespace for | > | this. Can we change it now befor

Re: svn commit: r307326 - head/sys/boot/efi/loader

2016-10-14 Thread Ravi Pokala
-Original Message- > From: on behalf of Doug Ambrisko > > Date: 2016-10-14, Friday at 10:27 > To: Warner Losh > Cc: Doug Ambrisko , src-committers > , "svn-src-...@freebsd.org" > , "svn-src-head@freebsd.org" > > Subject: Re: svn com

Re: svn commit: r307326 - head/sys/boot/efi/loader

2016-10-14 Thread Doug Ambrisko
On Fri, Oct 14, 2016 at 11:16:02AM -0600, Warner Losh wrote: | Love the functionality, but don't like using the 'hint' namespace for | this. Can we change it now before too many things depend on it? We had | similar issues in ACPI and moved it to the 'acpi' space. Can we move | this to the 'smbios'

Re: svn commit: r307326 - head/sys/boot/efi/loader

2016-10-14 Thread Ravi Pokala
-Original Message- > From: on behalf of Warner Losh > > Date: 2016-10-14, Friday at 10:16 > To: Doug Ambrisko > Cc: src-committers , "svn-src-...@freebsd.org" > , "svn-src-head@freebsd.org" > > Subject: Re: svn commit: r307326 - head/sys

Re: svn commit: r307326 - head/sys/boot/efi/loader

2016-10-14 Thread Warner Losh
Love the functionality, but don't like using the 'hint' namespace for this. Can we change it now before too many things depend on it? We had similar issues in ACPI and moved it to the 'acpi' space. Can we move this to the 'smbios' space please? The reason is that 'hint' is special and sometimes fi

svn commit: r307326 - head/sys/boot/efi/loader

2016-10-14 Thread Doug Ambrisko
Author: ambrisko Date: Fri Oct 14 17:10:53 2016 New Revision: 307326 URL: https://svnweb.freebsd.org/changeset/base/307326 Log: In UEFI mode expose the SMBIOS anchor base address via kenv so the kernel etc. can find out where the SMBIOS entry point is located. In pure UEFI mode the BIOS is