Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: fc428a1dab3555d539404b8618a9519fe6105f1b
      
https://github.com/tianocore/edk2/commit/fc428a1dab3555d539404b8618a9519fe6105f1b
  Author: Marc Chen <[email protected]>
  Date:   2026-09-11 (Fri, 11 Sep 2026)

  Changed paths:
    M MdePkg/Library/CompilerIntrinsicsLib/memcmp_ms.c
    M MdePkg/Library/CompilerIntrinsicsLib/memcpy_ms.c
    M MdePkg/Library/CompilerIntrinsicsLib/memmove_ms.c
    M MdePkg/Library/CompilerIntrinsicsLib/memset_ms.c
    M MdePkg/MdePkg.ci.yaml
    M MdePkg/MdePkg.dsc

  Log Message:
  -----------
  MdePkg/CompilerIntrinsicsLib: Fix IA32 with VS202x

CompilerIntrinsicsLib is causing a #UD when used in IA32 mode.

This was tracked back to memcpy using size_t, which locally
defined in the file as __int64. When compiling for IA32 target,
this results in the memcpy interpreting 64 bits from the
calling convention instead of the 32 bits that were passed.

Update the local size_t defines to use UINTN. This matches
the functionality from CryptoPkg's Intrinsic functions.

Add CompilerIntrinsics to IA32/X64 component so it is complied
as part of CI.

Add size_t as ECC check exclusion to MdePkg.ci.yaml.

Signed-off-by: Aaron Pop <[email protected]>



To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to