On 08/13/13 22:21, David F. wrote:
> Hi,
> I searched the UEFI specs for SMBIOS I found it's available through
> the ConfigurationTable in the SystemTable.  Once I do find it, is it
> going to have the same Entry Point as defined in the SMBIOS specs?
> The question comes up because the TableAddress is a 32bit value -
> Which means the table is limited to being within the first 4G (fine
> with me, just want to ensure that the data being given through UEFI
> matches what is expected).   The entry point with the AnchorSig,
> CheckSum, etc.. which also gives the total TableLength I presume will
> be there when pointed to by the configuration table?

You can verify it starting with SmbiosTableConstruction() in
"MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.c".

This file/driver is the reference implementation of EFI_SMBIOS_PROTOCOL,
and the SmbiosTableConstruction() function is its workhorse. When
platforms install SMBIOS tables, they (most likely) go through it: see
Chapter 6, "SMBIOS Protocol" in Volume 5 ("Standards") of the Platform
Initialization spec.

SMBIOS_TABLE_ENTRY_POINT, which is what SmbiosTableConstruction() links
into the system table, using the corresponding GUID, is defined in
"MdePkg/Include/IndustryStandard/SmBios.h", and I think it looks as
you're expecting it to.


TL;DR: the answer is yes, but you should check out the code implementing it.

Laszlo


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to