Re: [edk2-devel] [PATCH 38/43] OvmfPkg/SmbiosPlatformDxe: locate SMBIOS protocol in InstallAllStructures()

2021-05-27 Thread Philippe Mathieu-Daudé
On 5/26/21 10:14 PM, Laszlo Ersek wrote: > Locate the SMBIOS protocol internally to the InstallAllStructures() > function. This has no performance impact (InstallAllStructures() is only > called once), but moving the code from the entry point function makes the > latter smaller. And that will be

[edk2-devel] [PATCH 38/43] OvmfPkg/SmbiosPlatformDxe: locate SMBIOS protocol in InstallAllStructures()

2021-05-26 Thread Laszlo Ersek
Locate the SMBIOS protocol internally to the InstallAllStructures() function. This has no performance impact (InstallAllStructures() is only called once), but moving the code from the entry point function makes the latter smaller. And that will be useful when we split the entry point function to