Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: f211292711e53501c713fc38658522b695fb53de
      
https://github.com/tianocore/edk2/commit/f211292711e53501c713fc38658522b695fb53de
  Author: Corvin Köhne <corv...@freebsd.org>
  Date:   2023-06-06 (Tue, 06 Jun 2023)

  Changed paths:
    A OvmfPkg/Include/Library/AcpiPlatformLib.h
    A OvmfPkg/Library/AcpiPlatformLib/DxeAcpiPlatformLib.c
    A OvmfPkg/Library/AcpiPlatformLib/DxeAcpiPlatformLib.inf
    M OvmfPkg/OvmfPkg.dec
    M OvmfPkg/OvmfXen.dsc
    M OvmfPkg/XenAcpiPlatformDxe/Xen.c
    M OvmfPkg/XenAcpiPlatformDxe/XenAcpiPlatformDxe.inf

  Log Message:
  -----------
  OvmfPkg/Xen: export search of RSDP into a library function

Xen and bhyve are placing ACPI tables into system memory. So, they can
share the same code. Therefore, create a new library which searches and
installs ACPI tables from system memory.

Signed-off-by: Corvin Köhne <corv...@freebsd.org>
Reviewed-by: Anthony PERARD <anthony.per...@citrix.com>
Acked-by: Gerd Hoffmann <kra...@redhat.com>


  Commit: 1288c5415c81af7b184567c7cb02b59aeb662be9
      
https://github.com/tianocore/edk2/commit/1288c5415c81af7b184567c7cb02b59aeb662be9
  Author: Corvin Köhne <corv...@freebsd.org>
  Date:   2023-06-06 (Tue, 06 Jun 2023)

  Changed paths:
    M OvmfPkg/Include/Library/AcpiPlatformLib.h
    M OvmfPkg/Library/AcpiPlatformLib/DxeAcpiPlatformLib.c
    M OvmfPkg/XenAcpiPlatformDxe/AcpiPlatform.c
    R OvmfPkg/XenAcpiPlatformDxe/Xen.c
    M OvmfPkg/XenAcpiPlatformDxe/XenAcpiPlatformDxe.inf

  Log Message:
  -----------
  OvmfPkg/Xen: export AcpiTable installation into AcpiPlatformLib

This makes the function reuseable by bhyve.

Signed-off-by: Corvin Köhne <corv...@freebsd.org>
Reviewed-by: Anthony PERARD <anthony.per...@citrix.com>
Acked-by: Gerd Hoffmann <kra...@redhat.com>


  Commit: 4bd0849d81b48233196092868081315ec4d9233d
      
https://github.com/tianocore/edk2/commit/4bd0849d81b48233196092868081315ec4d9233d
  Author: Corvin Köhne <corv...@freebsd.org>
  Date:   2023-06-06 (Tue, 06 Jun 2023)

  Changed paths:
    M OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.c
    M OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatformDxe.inf
    M OvmfPkg/Bhyve/BhyveX64.dsc

  Log Message:
  -----------
  OvmfPkg/Bhyve: install ACPI tables from memory

It's much easier to create configuration dependent ACPI tables for bhyve
than for OVMF. For this reason, don't use the statically created ACPI
tables provided by OVMF. Instead, prefer the dynamically created ACPI
tables of bhyve. If bhyve provides no ACPI tables or we are unable to
detect those, fall back to OVMF tables.

Ideally, we use the qemu fwcfg interface to pass the ACPI tables from
bhyve to OVMF. bhyve will support this in the future. However, current
bhyve executables don't support passing ACPI tables by the qemu fwcfg
interface. They just copy the ACPI into main memory. For that reason,
pick up the ACPI tables from main memory.

Signed-off-by: Corvin Köhne <corv...@freebsd.org>
Reviewed-by: Rebecca Cran <rebe...@bsdio.com>
Acked-by: Peter Grehan <gre...@freebsd.org>
Acked-by: Gerd Hoffmann <kra...@redhat.com>


Compare: https://github.com/tianocore/edk2/compare/c1dd400a13d1...4bd0849d81b4


_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to