]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseMemoryLibOptDxe/Arm/CompareMem.S
MdePkg/BaseMemoryLibOptDxe ARM: add missing function annotations
[mirror_edk2.git] / MdePkg / Library / BaseMemoryLibOptDxe / Arm / CompareMem.S
index 3aadebace30f1b18ea1dd982d546c3f826b0d019..25a9a09945241dad16edc050e37d0915fa6cd275 100644 (file)
@@ -46,6 +46,7 @@
     .thumb\r
     .syntax unified\r
     .align  5\r
+    .type   ASM_PFX(InternalMemCompareMem), %function\r
 ASM_GLOBAL ASM_PFX(InternalMemCompareMem)\r
 ASM_PFX(InternalMemCompareMem):\r
     push    {r4-r8, lr}\r
@@ -132,7 +133,7 @@ ASM_PFX(InternalMemCompareMem):
     ldrb    data2, [src2], #1\r
     subs    limit, limit, #1\r
     it      cs\r
-    cmpcs   data1, data2\r
+    cmpcs.n data1, data2\r
     beq     1b\r
     sub     result, data1, data2\r
     pop     {r4-r8, pc}\r