[edk2-devel] [PATCH 41/43] OvmfPkg/SmbiosPlatformDxe: create Xen-specific module INF file
Philippe Mathieu-Daudé
philmd at redhat.com
Mon May 31 14:56:17 UTC 2021
On 5/26/21 10:14 PM, Laszlo Ersek wrote:
> "OvmfPkg/SmbiosPlatformDxe" is structured somewhat differently from the
> drivers duplicated and trimmed thus far in this series. The final QEMU and
> Xen versions will share a relatively significant amount of code, therefore
> duplicating the whole driver is less useful, even temporarily. Instead,
> duplicate the INF file, in preparation for customizing the entry point
> function.
>
> Because ArmVirtXen doesn't actually include OvmfPkg/SmbiosPlatformDxe [*],
> there is only one platform that's supposed to consume the new driver:
> OvmfXen. Switch OvmfXen to the new driver at once.
>
> [*] See commit 164cf4038357 ("OvmfPkg: SmbiosPlatformDxe: restrict current
> Xen code to IA32/X64", 2015-07-26).
>
> This patch is best viewed with "git show --find-copies-harder".
>
> Cc: Anthony Perard <anthony.perard at citrix.com>
> Cc: Ard Biesheuvel <ardb+tianocore at kernel.org>
> Cc: Jordan Justen <jordan.l.justen at intel.com>
> Cc: Julien Grall <julien at xen.org>
> Cc: Philippe Mathieu-Daudé <philmd at redhat.com>
> Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2122
> Signed-off-by: Laszlo Ersek <lersek at redhat.com>
> ---
> OvmfPkg/OvmfXen.dsc | 2 +-
> OvmfPkg/OvmfXen.fdf | 2 +-
> OvmfPkg/SmbiosPlatformDxe/{SmbiosPlatformDxe.inf => XenSmbiosPlatformDxe.inf} | 7 ++++---
> 3 files changed, 6 insertions(+), 5 deletions(-)
Reviewed-by: Philippe Mathieu-Daude <philmd at redhat.com>
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#75873): https://edk2.groups.io/g/devel/message/75873
Mute This Topic: https://groups.io/mt/83111208/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list