cvs commit: src/sys/boot/i386/libi386 Makefile libi386.h smbios.c src/sys/boot/i386/loader main.c

Jung-uk Kim jkim at
Thu Jul 14 19:52:23 GMT 2005

jkim        2005-07-14 19:52:22 UTC

  FreeBSD src repository

  Modified files:
    sys/boot/i386/libi386 Makefile libi386.h 
    sys/boot/i386/loader main.c 
  Added files:
    sys/boot/i386/libi386 smbios.c 
  Scan static SMBIOS structures and export the following environment
  variables to loader:
  hint.smbios.0.enabled           "YES" when SMBIOS is detected
  hint.smbios.0.bios.vendor       BIOS vendor
  hint.smbios.0.bios.version      BIOS version
  hint.smbios.0.bios.reldate      BIOS release date
  hint.smbios.0.system.maker      System manufacturer
  hint.smbios.0.system.product    System product name
  hint.smbios.0.system.version    System version number
  hint.smbios.0.planar.maker      Base board manufacturer
  hint.smbios.0.planar.product    Base board product name
  hint.smbios.0.planar.version    Base board version number
  hint.smbios.0.chassis.maker     Enclosure manufacturer
  hint.smbios.0.chassis.version   Enclosure version
  These strings can be used to detect hardware quirks and to set appropriate
  flags.  For example, Compaq R3000 series and some HP laptops require
  to boot.  See amd64/67745 for more detail.
  Note: Please do not abuse this feature to resolve general problem when it
        can be fixed programmatically.  This must be used as a last resort.
  PR:             kern/81449
  Approved by:    anholt (mentor)
  Revision  Changes    Path
  1.38      +1 -1      src/sys/boot/i386/libi386/Makefile
  1.21      +2 -0      src/sys/boot/i386/libi386/libi386.h
  1.1       +176 -0    src/sys/boot/i386/libi386/smbios.c (new)
  1.32      +3 -0      src/sys/boot/i386/loader/main.c

More information about the cvs-src mailing list