public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-devel] SMBIOS BIOS ROM Size
@ 2024-05-30 10:06 Leif Lindholm
  2024-05-30 11:58 ` Rebecca Cran
  0 siblings, 1 reply; 3+ messages in thread
From: Leif Lindholm @ 2024-05-30 10:06 UTC (permalink / raw)
  To: rebecca@bsdio.com; +Cc: devel@edk2.groups.io, Ard Biesheuvel, Sami Mujawar

Hi Rebecca,

While reviewing https://github.com/tianocore/edk2/pull/5702, I found 
myself wondering "shouldn't this (doesn't apply to UEFI-based systems) 
be the case for the size field also?".

But the SMBIOS spec is quite clear that the size field refers to the 
size of the physical device the BIOS is stored on.

Currently, this field is hardwired to PcdFdSize in the smbios helper 
library. But that would only be accurate for platforms that use the edk2 
build system to generate the final flashable image to a fixed size.

This isn't really true for SbsaQemu, and I don't think it is for Mt. 
Jade. And those are the only two upstream platforms using this 
SmbiosMiscDxe.

Do we need to solve this by adding another function for OemMiscLib?

/
     Leif


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#119385): https://edk2.groups.io/g/devel/message/119385
Mute This Topic: https://groups.io/mt/106385738/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-05-30 16:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-30 10:06 [edk2-devel] SMBIOS BIOS ROM Size Leif Lindholm
2024-05-30 11:58 ` Rebecca Cran
2024-05-30 16:10   ` Leif Lindholm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox