Date: Thu, 14 Jul 2005 19:52:22 +0000 (UTC) From: Jung-uk Kim <jkim@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/boot/i386/libi386 Makefile libi386.h smbios.c src/sys/boot/i386/loader main.c Message-ID: <200507141952.j6EJqMVQ009846@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 Log: 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 hint.atkbd.0.flags="0x9" 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507141952.j6EJqMVQ009846>