]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPkg/Library/BaseMemoryLibStm/Arm/CopyMem.S
BeagleBoardPkg: remove dependency on ArmPkg/BaseMemoryLibStm
[mirror_edk2.git] / ArmPkg / Library / BaseMemoryLibStm / Arm / CopyMem.S
old mode 100755 (executable)
new mode 100644 (file)
index 7985b59..f90589c
@@ -17,6 +17,8 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
+#include <AsmMacroIoLib.h>\r
+\r
 /**\r
   Copy Length bytes from Source to Destination. Overlap is OK.\r
 \r
@@ -37,11 +39,7 @@ InternalMemCopyMem (
   IN      UINTN                     Length\r
   )\r
 **/\r
-.text\r
-.align 2\r
-GCC_ASM_EXPORT(InternalMemCopyMem)\r
-\r
-ASM_PFX(InternalMemCopyMem):\r
+ASM_FUNC(InternalMemCopyMem)\r
   stmfd  sp!, {r4-r11, lr}\r
   // Save the input parameters in extra registers (r11 = destination, r14 = source, r12 = length)\r
   mov  r11, r0\r