PI specification vol.4 gives the prototype of SmmInstallConfigurationTable as:
Prototype
typedef
EFI_STATUS (EFIAPI *EFI_SMM_INSTALL_CONFIGURATION_TABLE2) (
IN CONST EFI_SMM_SYSTEM_TABLE2 *SystemTable,
IN CONST EFI_GUID *Guid,
IN VOID *Table,
IN UINTN TableSize
)
Is there anyone know why the TableSize is required for this SMST service if
only the EFI_CONFIGURATION_TABLE (GUID, Table Pointer) pair is manipulated by
this function.
At least, current EDK2 implement does not take this parameter into account for
specific operation or validation.
Unless there is a requirement to copy the Table caller pass in to another
allocated secure memory space, I cannot tell any reasons it is needed.
And, Is it caller's responsibility to free original Table if it has been
updated to new one or removed?
Thanks,
-Mars
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel