]> git.ipfire.org Git - thirdparty/grub.git/commit
smbios: Add a module for retrieving SMBIOS information
authorDavid Michael <fedora.dm0@gmail.com>
Fri, 5 Jul 2019 12:47:09 +0000 (08:47 -0400)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 11 Jul 2019 19:06:12 +0000 (21:06 +0200)
commit688023cd0ac4c985fd0e2ec477fcf1ec33a0e49c
tree6febe2e849ec50f56042462c7883172271547593
parent261df54f170c6d87258eb37ef17d62690720696b
smbios: Add a module for retrieving SMBIOS information

The following are two use cases from Rajat Jain <rajatjain@juniper.net>:

  1) We have a board that boots Linux and this board itself can be plugged
     into one of different chassis types. We need to pass different
     parameters to the kernel based on the "CHASSIS_TYPE" information
     that is passed by the bios in the DMI/SMBIOS tables.

  2) We may have a USB stick that can go into multiple boards, and the
     exact kernel to be loaded depends on the machine information
     (PRODUCT_NAME etc) passed via the DMI.

Signed-off-by: David Michael <fedora.dm0@gmail.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
docs/grub.texi
grub-core/Makefile.core.def
grub-core/commands/efi/smbios.c [new file with mode: 0644]
grub-core/commands/i386/pc/smbios.c [new file with mode: 0644]
grub-core/commands/smbios.c [new file with mode: 0644]
grub-core/efiemu/i386/pc/cfgtables.c
include/grub/smbios.h [new file with mode: 0644]