public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/3] MdePkg/Misc: fix Arm BaseMemoryLib
@ 2016-09-02 14:29 Leif Lindholm
  2016-09-02 14:29 ` [PATCH 1/3] MdePkg/Misc: Move ARM* BaseMemoryLibStm to MdePkg Leif Lindholm
                   ` (4 more replies)
  0 siblings, 5 replies; 19+ messages in thread
From: Leif Lindholm @ 2016-09-02 14:29 UTC (permalink / raw)
  To: edk2-devel; +Cc: Laszlo Ersek, Michael D Kinney, Liming Gao, Ard Biesheuvel

The recent addition, and use, of new functions IsZeroGuid/IsZeroBuffer
caused all ARM/AARCH64 platforms to stop building. The oversight was
helped by the ARM implementation residing in ArmPkg rather than in
MdePkg with all of the others.

Move BaseMemoryLibStm across to MdePkg to reduce risk of similar
accidents in future, and add the new functions.

This set resolves the build issue without affecting any non-ARM
platforms, in the interest of getting back to a working master
branch. It would be very nice if it could be approved quickly.

Ard Biesheuvel (2):
  MdePkg/BaseMemoryLibStm: implement new IsZeroGuid() API function
  MdePkg/BaseMemoryLibStm: implement new IsZeroBuffer() API function

Leif Lindholm (1):
  MdePkg/Misc: Move ARM* BaseMemoryLibStm to MdePkg

 ArmPkg/ArmPkg.dsc                                  |  1 -
 ArmVirtPkg/ArmVirt.dsc.inc                         |  2 +-
 BeagleBoardPkg/BeagleBoardPkg.dsc                  |  2 +-
 .../Library/BaseMemoryLibStm/AArch64/CopyMem.c     |  0
 .../Library/BaseMemoryLibStm/AArch64/SetMem.c      |  0
 .../Library/BaseMemoryLibStm/Arm/CopyMem.S         |  0
 .../Library/BaseMemoryLibStm/Arm/CopyMem.asm       |  0
 .../Library/BaseMemoryLibStm/Arm/SetMem.S          |  0
 .../Library/BaseMemoryLibStm/Arm/SetMem.asm        |  0
 .../Library/BaseMemoryLibStm/BaseMemoryLibStm.inf  |  1 +
 .../Library/BaseMemoryLibStm/CompareMemWrapper.c   |  0
 .../Library/BaseMemoryLibStm/CopyMem.c             |  0
 .../Library/BaseMemoryLibStm/CopyMemWrapper.c      |  0
 .../Library/BaseMemoryLibStm/IsZeroBufferWrapper.c | 54 ++++++++++++++++++++++
 .../Library/BaseMemoryLibStm/MemLibGeneric.c       | 29 ++++++++++++
 .../Library/BaseMemoryLibStm/MemLibGuid.c          | 29 ++++++++++++
 .../Library/BaseMemoryLibStm/MemLibInternals.h     | 17 +++++++
 .../Library/BaseMemoryLibStm/ScanMem16Wrapper.c    |  0
 .../Library/BaseMemoryLibStm/ScanMem32Wrapper.c    |  0
 .../Library/BaseMemoryLibStm/ScanMem64Wrapper.c    |  0
 .../Library/BaseMemoryLibStm/ScanMem8Wrapper.c     |  0
 .../Library/BaseMemoryLibStm/SetMem.c              |  0
 .../Library/BaseMemoryLibStm/SetMem16Wrapper.c     |  0
 .../Library/BaseMemoryLibStm/SetMem32Wrapper.c     |  0
 .../Library/BaseMemoryLibStm/SetMem64Wrapper.c     |  0
 .../Library/BaseMemoryLibStm/SetMemWrapper.c       |  0
 .../Library/BaseMemoryLibStm/ZeroMemWrapper.c      |  0
 MdePkg/MdePkg.dsc                                  |  1 +
 28 files changed, 133 insertions(+), 3 deletions(-)
 rename {ArmPkg => MdePkg}/Library/BaseMemoryLibStm/AArch64/CopyMem.c (100%)
 rename {ArmPkg => MdePkg}/Library/BaseMemoryLibStm/AArch64/SetMem.c (100%)
 rename {ArmPkg => MdePkg}/Library/BaseMemoryLibStm/Arm/CopyMem.S (100%)
 rename {ArmPkg => MdePkg}/Library/BaseMemoryLibStm/Arm/CopyMem.asm (100%)
 rename {ArmPkg => MdePkg}/Library/BaseMemoryLibStm/Arm/SetMem.S (100%)
 rename {ArmPkg => MdePkg}/Library/BaseMemoryLibStm/Arm/SetMem.asm (100%)
 rename {ArmPkg => MdePkg}/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf (94%)
 rename {ArmPkg => MdePkg}/Library/BaseMemoryLibStm/CompareMemWrapper.c (100%)
 rename {ArmPkg => MdePkg}/Library/BaseMemoryLibStm/CopyMem.c (100%)
 rename {ArmPkg => MdePkg}/Library/BaseMemoryLibStm/CopyMemWrapper.c (100%)
 create mode 100644 MdePkg/Library/BaseMemoryLibStm/IsZeroBufferWrapper.c
 rename {ArmPkg => MdePkg}/Library/BaseMemoryLibStm/MemLibGeneric.c (88%)
 rename {ArmPkg => MdePkg}/Library/BaseMemoryLibStm/MemLibGuid.c (81%)
 rename {ArmPkg => MdePkg}/Library/BaseMemoryLibStm/MemLibInternals.h (90%)
 rename {ArmPkg => MdePkg}/Library/BaseMemoryLibStm/ScanMem16Wrapper.c (100%)
 rename {ArmPkg => MdePkg}/Library/BaseMemoryLibStm/ScanMem32Wrapper.c (100%)
 rename {ArmPkg => MdePkg}/Library/BaseMemoryLibStm/ScanMem64Wrapper.c (100%)
 rename {ArmPkg => MdePkg}/Library/BaseMemoryLibStm/ScanMem8Wrapper.c (100%)
 rename {ArmPkg => MdePkg}/Library/BaseMemoryLibStm/SetMem.c (100%)
 rename {ArmPkg => MdePkg}/Library/BaseMemoryLibStm/SetMem16Wrapper.c (100%)
 rename {ArmPkg => MdePkg}/Library/BaseMemoryLibStm/SetMem32Wrapper.c (100%)
 rename {ArmPkg => MdePkg}/Library/BaseMemoryLibStm/SetMem64Wrapper.c (100%)
 rename {ArmPkg => MdePkg}/Library/BaseMemoryLibStm/SetMemWrapper.c (100%)
 rename {ArmPkg => MdePkg}/Library/BaseMemoryLibStm/ZeroMemWrapper.c (100%)

-- 
2.9.3



^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2016-09-02 19:24 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-02 14:29 [PATCH 0/3] MdePkg/Misc: fix Arm BaseMemoryLib Leif Lindholm
2016-09-02 14:29 ` [PATCH 1/3] MdePkg/Misc: Move ARM* BaseMemoryLibStm to MdePkg Leif Lindholm
2016-09-02 15:02   ` Ard Biesheuvel
2016-09-02 15:23     ` Leif Lindholm
2016-09-02 16:07       ` Ard Biesheuvel
2016-09-02 18:05         ` Leif Lindholm
2016-09-02 18:11           ` Ard Biesheuvel
2016-09-02 18:32             ` Leif Lindholm
2016-09-02 18:45               ` Ard Biesheuvel
2016-09-02 19:18                 ` Leif Lindholm
2016-09-02 19:24                   ` Laszlo Ersek
2016-09-02 14:29 ` [PATCH 2/3] MdePkg/BaseMemoryLibStm: implement new IsZeroGuid() API function Leif Lindholm
2016-09-02 14:29 ` [PATCH 3/3] MdePkg/BaseMemoryLibStm: implement new IsZeroBuffer() " Leif Lindholm
2016-09-02 14:48 ` [PATCH 0/3] MdePkg/Misc: fix Arm BaseMemoryLib Laszlo Ersek
2016-09-02 14:53   ` Laszlo Ersek
2016-09-02 16:02     ` Leif Lindholm
2016-09-02 15:49 ` Kinney, Michael D
2016-09-02 15:57   ` Leif Lindholm
2016-09-02 15:59     ` Andrew Fish

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox