]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/SMBIOS: Provide default Type 0 (BIOS Information) structure
authorGabriel Somlo <somlo@cmu.edu>
Fri, 13 Feb 2015 19:50:05 +0000 (19:50 +0000)
committerjljusten <jljusten@Edk2>
Fri, 13 Feb 2015 19:50:05 +0000 (19:50 +0000)
commit24256744383fec68af3da859fc4152c3cba06c2d
tree7ff84dee1108cff28932dc6d100a61cc507fcfb9
parentc0a8cf34f6f83fd6bf90652a1a3f1123ed5796cd
OvmfPkg/SMBIOS: Provide default Type 0 (BIOS Information) structure

Insert a default, OVMF-specific Type 0 (BIOS Information) structure
into the SMBIOS table, unless the underlying guest VM supplies its
own, overriding instance.

As an example, QEMU, while allowing the user to specifically force
generation of a Type 0 structure, will not generate one by default,
considering that task to be the responsibility of the BIOS itself.

Based on an earlier out-of-tree patch by Laszlo Ersek <lersek@redhat.com>

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gabriel Somlo <somlo@cmu.edu>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16868 6f19259b-4bc3-4df7-8a09-765794883524
OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.c