]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg: SmbiosVersionLib: add "plugin" for detecting SMBIOS version
authorLaszlo Ersek <lersek@redhat.com>
Thu, 6 Aug 2015 10:13:37 +0000 (10:13 +0000)
committerlersek <lersek@Edk2>
Thu, 6 Aug 2015 10:13:37 +0000 (10:13 +0000)
commitb265ed9284ffbd83e38599a6168e57113fd85b98
tree5cef293971b6706800a727eb3da92f1cb333c43c
parent3d8ac52a5d8df67555dc1bdba42d09c682cd71a9
OvmfPkg: SmbiosVersionLib: add "plugin" for detecting SMBIOS version

Introduce a minimal library instance for fetching and validating the
SMBIOS entry point structure exposed by QEMU over fw_cfg. This library is
meant to be hooked into MdeModulePkg/Universal/SmbiosDxe by platform DSC
files, so that the library can set the PCD(s) that SmbiosDxe consumes at
the right moment.

At the moment only SMBIOS 2.x entry points are recognized.

Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Wei Huang <wei@redhat.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Gabriel L. Somlo <somlo@cmu.edu>
Suggested-by: Jordan Justen <jordan.l.justen@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18174 6f19259b-4bc3-4df7-8a09-765794883524
OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.c [new file with mode: 0644]
OvmfPkg/Library/SmbiosVersionLib/DetectSmbiosVersionLib.inf [new file with mode: 0644]