]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPkg/Library/CompilerIntrinsicsLib/Arm/uread.asm
ArmPkg: update RVCT assembly functions to use new RVCT_ASM_EXPORT macro
[mirror_edk2.git] / ArmPkg / Library / CompilerIntrinsicsLib / Arm / uread.asm
index 3d589654f040e28f7602af15e09bb79176a5e12c..f369e4d2516c23f7294393572e693b66fb7457fa 100644 (file)
 \r
 \r
 \r
 \r
 \r
 \r
-    EXPORT  __aeabi_uread4\r
-    EXPORT  __aeabi_uread8\r
 \r
 \r
-    AREA  Uread4, CODE, READONLY\r
+    INCLUDE AsmMacroExport.inc\r
 \r
 ;\r
 ;UINT32\r
 \r
 ;\r
 ;UINT32\r
@@ -26,7 +24,7 @@
 ;  IN VOID   *Pointer\r
 ;  );\r
 ;\r
 ;  IN VOID   *Pointer\r
 ;  );\r
 ;\r
-__aeabi_uread4\r
+ RVCT_ASM_EXPORT __aeabi_uread4\r
     ldrb    r1, [r0]\r
     ldrb    r2, [r0, #1]\r
     ldrb    r3, [r0, #2]\r
     ldrb    r1, [r0]\r
     ldrb    r2, [r0, #1]\r
     ldrb    r3, [r0, #2]\r
@@ -43,7 +41,7 @@ __aeabi_uread4
 ;  IN VOID   *Pointer\r
 ;  );\r
 ;\r
 ;  IN VOID   *Pointer\r
 ;  );\r
 ;\r
-__aeabi_uread8\r
+ RVCT_ASM_EXPORT __aeabi_uread8\r
     mov     r3, r0\r
 \r
     ldrb    r1, [r3]\r
     mov     r3, r0\r
 \r
     ldrb    r1, [r3]\r