commit b95eca126723442c4ab3859d4a8be0d40c401879 Author: Sascha Wildner <s...@online.de> Date: Sun Nov 11 12:30:20 2012 +0100
loader: Detect SMBIOS and export its information into the environment. Useful to check motherboard vendor/version, BIOS version and so forth. Use kenv(1) for viewing the information. This information can be accessed from the kernel but should only be as a last resort. Might also help in the future to better detect virtual machine types. Taken-from: FreeBSD Summary of changes: sys/boot/pc32/libi386/Makefile | 3 +- sys/boot/pc32/libi386/libi386.h | 3 +- sys/boot/pc32/libi386/smbios.c | 346 +++++++++++++++++++++++++++++++++++++++ sys/boot/pc32/loader/main.c | 3 + 4 files changed, 352 insertions(+), 3 deletions(-) create mode 100644 sys/boot/pc32/libi386/smbios.c http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b95eca126723442c4ab3859d4a8be0d40c401879 -- DragonFly BSD source repository