diff options
author | Zhiguang Liu <zhiguang.liu@intel.com> | 2021-04-30 13:36:54 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-06-16 05:20:19 +0000 |
commit | 70e8c9c3bc582066c87ddf99aa1b33428ce11554 (patch) | |
tree | 708fccc5ce38c87f904713b6ec0f8e799bd098fe /UefiPayloadPkg | |
parent | 9d53e01efeb175111a13d23afc9cee96f6cfc3f9 (diff) | |
download | edk2-70e8c9c3bc582066c87ddf99aa1b33428ce11554.zip edk2-70e8c9c3bc582066c87ddf99aa1b33428ce11554.tar.gz edk2-70e8c9c3bc582066c87ddf99aa1b33428ce11554.tar.bz2 |
MdeModulePkg/Universal/SmbiosDxe: Scan for existing tables
The default EfiSmbiosProtocol operates on an empty SMBIOS table.
The SMBIOS tables are provided by the bootloader on UefiPayloadPkg.
Scan for existing tables in SmbiosDxe and load them if they seem valid.
This fixes the settings menu not showing any hardware information, instead
only "0 MB RAM" was displayed.
Tests showed that the OS can still see the SMBIOS tables.
SmbiosDxe will get the SMBIOS from a guid Hob.
Also will keep the SmbiosHandle if it is available.
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Hao A Wu <hao.a.wu@intel.com>
Cc: Dandan Bi <dandan.bi@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Cc: Zhichao Gao <zhichao.gao@intel.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
Tested-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Signed-off-by: Zhiguang Liu <zhiguang.liu@intel.com>
Diffstat (limited to 'UefiPayloadPkg')
0 files changed, 0 insertions, 0 deletions