]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseMemoryLibOptDxe/Arm/CompareGuid.S
MdePkg/BaseMemoryLibOptDxe ARM: add missing function annotations
[mirror_edk2.git] / MdePkg / Library / BaseMemoryLibOptDxe / Arm / CompareGuid.S
index d729994e8cc62327e376fceed5726a6ebde6141b..b74056fa1f5ff4e72e27a3acba20c50f929ff349 100644 (file)
@@ -30,6 +30,7 @@
     .thumb\r
     .syntax unified\r
     .align  5\r
+    .type   ASM_PFX(InternalMemCompareGuid), %function\r
 ASM_GLOBAL ASM_PFX(InternalMemCompareGuid)\r
 ASM_PFX(InternalMemCompareGuid):\r
     push    {r4, lr}\r
@@ -42,7 +43,7 @@ ASM_PFX(InternalMemCompareGuid):
     ldr     lr, [r1, #4]\r
     cmp     r2, ip\r
     it      eq\r
-    cmpeq   r3, lr\r
+    cmpeq.n r3, lr\r
     beq     0f\r
     movs    r0, #0\r
     pop     {r4, pc}\r
@@ -51,7 +52,7 @@ ASM_PFX(InternalMemCompareGuid):
     ldr     r3, [r1, #12]\r
     cmp     r4, r2\r
     it      eq\r
-    cmpeq   r0, r3\r
+    cmpeq.n r0, r3\r
     bne     2f\r
     movs    r0, #1\r
     pop     {r4, pc}\r
@@ -61,5 +62,5 @@ ASM_PFX(InternalMemCompareGuid):
     movs    r0, #1\r
     orrs    r2, r2, r4\r
 2:  it      ne\r
-    movne   r0, #0\r
+    movne.n r0, #0\r
     pop     {r4, pc}\r