On 5/26/21 10:14 PM, Laszlo Ersek wrote:
> Remove the SmbiosTablePublishEntry() function from "SmbiosPlatformDxe.c".
> "SmbiosPlatformDxe.c" becomes hypervisor-agnostic.
> 
> Add SmbiosTablePublishEntry() back, simplified for QEMU, to the existent
> file "Qemu.c". The GetQemuSmbiosTables() function no longer needs to be
> declared in "SmbiosPlatformDxe.h"; "SmbiosPlatformDxe.h" becomes
> hypervisor-agnostic.
> 
> Add SmbiosTablePublishEntry() back, renamed and simplified for Xen, to the
> new, arch-independent file "Xen.c". (The existent Xen-specific C files are
> arch-dependent.)

:)

Reviewed-by: Philippe Mathieu-Daude <phi...@redhat.com>

> Update both INF files; remove the dependencies that are now superfluous in
> each.
> 
> Cc: Anthony Perard <anthony.per...@citrix.com>
> Cc: Ard Biesheuvel <ardb+tianoc...@kernel.org>
> Cc: Jordan Justen <jordan.l.jus...@intel.com>
> Cc: Julien Grall <jul...@xen.org>
> Cc: Philippe Mathieu-Daudé <phi...@redhat.com>
> Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2122
> Signed-off-by: Laszlo Ersek <ler...@redhat.com>
> ---
>  OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf    | 14 ------
>  OvmfPkg/SmbiosPlatformDxe/XenSmbiosPlatformDxe.inf | 12 ++---
>  OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.h      | 11 -----
>  OvmfPkg/SmbiosPlatformDxe/Qemu.c                   | 33 +++++++++++++
>  OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.c      | 49 --------------------
>  OvmfPkg/SmbiosPlatformDxe/Xen.c                    | 49 ++++++++++++++++++++
>  6 files changed, 86 insertions(+), 82 deletions(-)



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#75876): https://edk2.groups.io/g/devel/message/75876
Mute This Topic: https://groups.io/mt/83111228/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to