public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Michael Brown" <mcb30@ipxe.org>
To: Sean Rhodes <sean@starlabs.systems>, devel@edk2.groups.io
Subject: Re: [edk2-devel] [PATCH] MdeModulePkg/Frontpage: Get SMBIOS Data from table directly
Date: Wed, 2 Feb 2022 14:18:22 +0000	[thread overview]
Message-ID: <92f01a8f-5ef3-2002-c2a7-c32c2a5132f9@ipxe.org> (raw)
In-Reply-To: <16423.1643792532398151864@groups.io>

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

  reply	other threads:[~2022-02-02 14:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-01  9:34 [PATCH] MdeModulePkg/Frontpage: Get SMBIOS Data from table directly Sean Rhodes
2022-02-01 11:31 ` [edk2-devel] " Michael Brown
2022-02-02  9:02   ` Sean Rhodes
2022-02-02 14:18     ` Michael Brown [this message]
2022-02-07  1:57       ` 回复: " gaoliming
2022-02-10 21:36         ` [edk2-devel] " Sean Rhodes
2022-02-10 22:12         ` Sean Rhodes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=92f01a8f-5ef3-2002-c2a7-c32c2a5132f9@ipxe.org \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox