Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: e41e728c1640d5f3c5c24c31e088bf34f2fde197
      
https://github.com/tianocore/edk2/commit/e41e728c1640d5f3c5c24c31e088bf34f2fde197
  Author: Ashraf Ali <[email protected]>
  Date:   2024-09-11 (Wed, 11 Sep 2024)

  Changed paths:
    M MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
    A MdePkg/Library/BaseMemoryLib/SetMemNWrapper.c
    M MdePkg/Library/BaseMemoryLib/SetMemWrapper.c
    M MdePkg/Library/BaseMemoryLibMmx/BaseMemoryLibMmx.inf
    A MdePkg/Library/BaseMemoryLibMmx/SetMemNWrapper.c
    M MdePkg/Library/BaseMemoryLibMmx/SetMemWrapper.c
    M MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf
    A MdePkg/Library/BaseMemoryLibOptDxe/SetMemNWrapper.c
    M MdePkg/Library/BaseMemoryLibOptDxe/SetMemWrapper.c
    M MdePkg/Library/BaseMemoryLibOptPei/BaseMemoryLibOptPei.inf
    A MdePkg/Library/BaseMemoryLibOptPei/SetMemNWrapper.c
    M MdePkg/Library/BaseMemoryLibOptPei/SetMemWrapper.c
    M MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf
    A MdePkg/Library/BaseMemoryLibRepStr/SetMemNWrapper.c
    M MdePkg/Library/BaseMemoryLibRepStr/SetMemWrapper.c
    M MdePkg/Library/BaseMemoryLibSse2/BaseMemoryLibSse2.inf
    A MdePkg/Library/BaseMemoryLibSse2/SetMemNWrapper.c
    M MdePkg/Library/BaseMemoryLibSse2/SetMemWrapper.c
    A MdePkg/Library/UefiMemoryLib/SetMemNWrapper.c
    M MdePkg/Library/UefiMemoryLib/SetMemWrapper.c
    M MdePkg/Library/UefiMemoryLib/UefiMemoryLib.inf

  Log Message:
  -----------
  Refactor SetMemWrapper to reduce binary size

Moved SetMemN API to a separate file to eliminate unnecessary inclusion
of InternalMemSetMem64 and InternalMemSetMem32 APIs in driver binary.

When the compiler linking the Object files it may not remove all the
unused from NASM OBJs. This change is to reorganize the C files to
minimize the impact of the NASM behavior resulting is code size
reduction.

Signed-off-by: Ashraf Ali <[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