Sean: Seemly, your case doesn't install SMBIOS protocol. Can you give the detail information about this usage that provides SMBIOS table without SMBIOS protocol?
Thanks Liming > -----邮件原件----- > 发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Michael > Brown > 发送时间: 2022年2月2日 22:18 > 收件人: Sean Rhodes <sean@starlabs.systems>; devel@edk2.groups.io > 主题: Re: [edk2-devel] [PATCH] MdeModulePkg/Frontpage: Get SMBIOS Data > from table directly > > On 02/02/2022 09:02, Sean Rhodes wrote: > > Not quite sure how to implement that, are there any existing use cases > > that I can look at? > > From the way that your patch uses SMBIOS data, I'm assuming that your > use case involves a pre-existing SMBIOS table structure that is > constructed by something (e.g. coreboot) before UEFI starts up, and that > you want to extract information from this table. > > If this assumption is correct, then the use case looks similar to the > way that OvmfPkg handles a pre-existing SMBIOS table constructed by the > hypervisor: the binary table is minimally parsed and all structures are > handed over to UEFI via EFI_SMBIOS_PROTOCOL.Add(). This means that all > structures from the pre-existing SMBIOS table are available to any UEFI > SMBIOS consumers. > > See, for example OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.c. > > HTH, > > Michael > > > > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#86402): https://edk2.groups.io/g/devel/message/86402 Mute This Topic: https://groups.io/mt/88963238/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-