DragonFly BSD
DragonFly commits List (threaded) for 2012-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: loader: Detect SMBIOS and export its information into the environment.


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 11 Nov 2012 03:31:37 -0800 (PST)

commit b95eca126723442c4ab3859d4a8be0d40c401879
Author: Sascha Wildner <saw@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]