diff options
author | Laszlo Ersek <lersek@redhat.com> | 2021-05-26 22:14:41 +0200 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-06-04 16:01:50 +0000 |
commit | 4db374562fad924e58c423701662402b3659f1f2 (patch) | |
tree | b5100d7698b3aff5733f7de5a1afc39adec19ea8 /OvmfPkg/CompatImageLoaderDxe | |
parent | 507259373828ca160dea08fff8ffc44572e8be14 (diff) | |
download | edk2-4db374562fad924e58c423701662402b3659f1f2.zip edk2-4db374562fad924e58c423701662402b3659f1f2.tar.gz edk2-4db374562fad924e58c423701662402b3659f1f2.tar.bz2 |
OvmfPkg/SmbiosPlatformDxe: locate SMBIOS protocol in InstallAllStructures()
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 two versions.
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2122
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20210526201446.12554-39-lersek@redhat.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'OvmfPkg/CompatImageLoaderDxe')
0 files changed, 0 insertions, 0 deletions