[SeaBIOS] [PATCH 0/6] Fix reported version and date for Windows guests

Sam Eiderman posted 6 patches 4 years, 10 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/seabios tags/patchew/20190517205726.34703-1-shmuel.eiderman@oracle.com
There is a newer version of this series
scripts/checkrom.py | 45 +++++++++++++++++++++++++++++++++++++++++++++
src/config.h        | 11 +++++++++++
src/fw/biostables.c | 51 +++++++++++++++++++++++++++++++++++++++++++++++----
src/fw/pciinit.c    |  2 +-
src/fw/smbios.c     | 21 +++++++++++++++++++--
src/misc.c          |  2 +-
src/util.h          |  5 +++++
7 files changed, 129 insertions(+), 8 deletions(-)
[SeaBIOS] [PATCH 0/6] Fix reported version and date for Windows guests
Posted by Sam Eiderman 4 years, 10 months ago
Windows kernel extracts various BIOS information at boot-time.
The method it uses to extract SystemBiosDate & SystemBiosVersion which
are then stored in:
    * "HKLM\HARDWARE\DESCRIPTION\System" "SystemBiosDate"
    * "HKLM\HARDWARE\DESCRIPTION\System" "SystemBiosVersion"
is very hueristic and depends on data contained in the BIOS's data
section.
The implementation resides in:
    * nt!CmpGetBiosVersion()
    * nt!CmpGetBiosDate()
respectively.
For reference implementation, see ReactOS:
https://doxygen.reactos.org/d5/dd2/i386_2cmhardwr_8c.html

This patch series aims to make SeaBIOS's data section interact better
with the Windows OS and report correct date & version values.

Liran Alon (4):
  bios_date: Make all dates in BIOS consistent
  bios_date: Make bios date appear once in the ROM
  bios_date: Change BiosDate to SMBIOS bios date
  bios_version: Remove misinterpreted version string

Sam Eiderman (2):
  bios_date: Add bios date checks in checkrom.py
  bios_version: Add bios version checks in checkrom.py

 scripts/checkrom.py | 45 +++++++++++++++++++++++++++++++++++++++++++++
 src/config.h        | 11 +++++++++++
 src/fw/biostables.c | 51 +++++++++++++++++++++++++++++++++++++++++++++++----
 src/fw/pciinit.c    |  2 +-
 src/fw/smbios.c     | 21 +++++++++++++++++++--
 src/misc.c          |  2 +-
 src/util.h          |  5 +++++
 7 files changed, 129 insertions(+), 8 deletions(-)

-- 
2.13.3
_______________________________________________
SeaBIOS mailing list -- seabios@seabios.org
To unsubscribe send an email to seabios-leave@seabios.org
[SeaBIOS] Re: [PATCH 0/6] Fix reported version and date for Windows guests
Posted by Kevin O'Connor 4 years, 10 months ago
On Fri, May 17, 2019 at 11:57:20PM +0300, Sam Eiderman wrote:
> Windows kernel extracts various BIOS information at boot-time.
> The method it uses to extract SystemBiosDate & SystemBiosVersion which
> are then stored in:
>     * "HKLM\HARDWARE\DESCRIPTION\System" "SystemBiosDate"
>     * "HKLM\HARDWARE\DESCRIPTION\System" "SystemBiosVersion"
> is very hueristic and depends on data contained in the BIOS's data
> section.
> The implementation resides in:
>     * nt!CmpGetBiosVersion()
>     * nt!CmpGetBiosDate()
> respectively.
> For reference implementation, see ReactOS:
> https://doxygen.reactos.org/d5/dd2/i386_2cmhardwr_8c.html
> 
> This patch series aims to make SeaBIOS's data section interact better
> with the Windows OS and report correct date & version values.

Thanks.  What's the high-level implication of getting this support
correct?  (That is, from a user's perspective, what works better when
these patches are applied?)

-Kevin
_______________________________________________
SeaBIOS mailing list -- seabios@seabios.org
To unsubscribe send an email to seabios-leave@seabios.org