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

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

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." >>

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" >

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

2016-10-19 Thread Warner Losh
t;> > | > Cc: Doug Ambrisko <ambri...@freebsd.org>, src-committers < >> >> src-committ...@freebsd.org>, "svn-src-...@freebsd.org" < >> >> svn-src-...@freebsd.org>, "svn-src-head@freebsd.org" < >> >> svn-src-head@fre

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

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

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

2016-10-18 Thread Warner Losh
Warner Losh <i...@bsdimp.com> >> > | > Cc: Doug Ambrisko <ambri...@freebsd.org>, src-committers < >> src-committ...@freebsd.org>, "svn-src-...@freebsd.org" < >> svn-src-...@freebsd.org>, "svn-src-head@freebsd.org" < >>

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

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
t; > 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 - head/sys/boot/efi/loader > > | > > > | > On Fr

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
isko.com> > | > Date: 2016-10-14, Friday at 10:27 > | > To: Warner Losh <i...@bsdimp.com> > | > Cc: Doug Ambrisko <ambri...@freebsd.org>, src-committers < src-committ...@freebsd.org>, "svn-src-...@freebsd.org" < svn-src-...@freebsd.org>, "

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

2016-10-14 Thread Doug Ambrisko
> Cc: Doug Ambrisko <ambri...@freebsd.org>, 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 - head/sys/boot/ef

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

2016-10-14 Thread Ravi Pokala
gt; <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 - head/sys/boot/efi/loader > > On Fri, Oct 14, 2016 at 11:16:02AM

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

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

2016-10-14 Thread Ravi Pokala
, "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 > > Love the functionality, Ditto! Thank you Doug! :-) > but don't like using the

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

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