Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 8f8e4fa3f32e993b7f6feee259d8bd3281c0f067
      
https://github.com/tianocore/edk2/commit/8f8e4fa3f32e993b7f6feee259d8bd3281c0f067
  Author: Rebecca Cran <rebe...@bsdio.com>
  Date:   2023-03-29 (Wed, 29 Mar 2023)

  Changed paths:
    M OvmfPkg/Library/PlatformInitLib/MemDetect.c

  Log Message:
  -----------
  OvmfPkg: Replace static struct initialization with ZeroMem call

Replace the static struct initialization with a call to ZeroMem to avoid
generating a call to memset in certain build configurations.

Signed-off-by: Rebecca Cran <rebe...@bsdio.com>
Reviewed-by: Gerd Hoffmann <kra...@redhat.com>
Reviewed-by: Oliver Smith-Denny <o...@smith-denny.com>
Reviewed-by: Jiewen Yao <jiewen....@intel.com>
Reviewed-by: Michael D Kinney <michael.d.kin...@intel.com>


  Commit: b697a31a8db5f23ed1030f0fea1b56c107ca85a3
      
https://github.com/tianocore/edk2/commit/b697a31a8db5f23ed1030f0fea1b56c107ca85a3
  Author: Rebecca Cran <rebe...@bsdio.com>
  Date:   2023-03-29 (Wed, 29 Mar 2023)

  Changed paths:
    M OvmfPkg/OvmfPkgX64.dsc

  Log Message:
  -----------
  OvmfPkg: Use Xcode5 version of CpuExceptionHandlerLib for CLANGDWARF

The CLANGDWARF toolchain has the same problem as XCODE5 linking
CpuExceptionHandlerLib. So, use the
Xcode5SecPeiCpuExceptionHandlerLib.inf when building with the CLANGDWARF
toolchain.

Since the difference is that the non-Xcode5 version uses `mov` while the
Xcode5 version uses `lea`, they can be merged in future with the single
version using `lea`.

[ardb: the main difference is that the 'mov' instructions result in
       absolute symbol references, which are necessary because the code
       in question is copied in memory independently from the code that
       carries the symbols it refers to. The Xcode5 version has
       additional runtime handling to fix up the copied code with the
       correct absolute references.]

Signed-off-by: Rebecca Cran <rebe...@bsdio.com>
Acked-by: Ard Biesheuvel <a...@kernel.org>


Compare: https://github.com/tianocore/edk2/compare/e3aba976f6d5...b697a31a8db5


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

Reply via email to