]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/DebugSupportDxe/Ipf/AsmFuncs.s
Replace .globl with ASM_GLOBAL
[mirror_edk2.git] / MdeModulePkg / Universal / DebugSupportDxe / Ipf / AsmFuncs.s
index aa497707c413f999dd5190ac4e3f0d30f2149f95..fc744c9268a42e7493502c4843c915c90db0e2d4 100644 (file)
 #include "Common.i"\r
 #include "Ds64Macros.i"\r
 \r
-.globl PatchSaveBuffer\r
-.globl IpfContextBuf\r
-.globl CommonHandler\r
-.globl ExternalInterruptCount\r
+ASM_GLOBAL PatchSaveBuffer\r
+ASM_GLOBAL IpfContextBuf\r
+ASM_GLOBAL CommonHandler\r
+ASM_GLOBAL ExternalInterruptCount\r
 \r
 \r
 /////////////////////////////////////////////\r
@@ -30,7 +30,7 @@
 //  Description:\r
 //      Flushes instruction cache for specified number of bytes\r
 //\r
-        .globl InstructionCacheFlush\r
+        ASM_GLOBAL InstructionCacheFlush\r
         .proc   InstructionCacheFlush\r
         .align 32\r
 InstructionCacheFlush::\r
@@ -158,7 +158,7 @@ LoopBack:   // $L143:
 //       Notes:\r
 //\r
 //\r
-        .globl ChainHandler\r
+        ASM_GLOBAL ChainHandler\r
         .proc ChainHandler\r
 ChainHandler:\r
 \r
@@ -233,7 +233,7 @@ ChainHandlerDone:
 //  Notes:\r
 //\r
 //\r
-        .globl UnchainHandler\r
+        ASM_GLOBAL UnchainHandler\r
         .proc UnchainHandler\r
 \r
 UnchainHandler:\r
@@ -666,7 +666,7 @@ SetSlotDone:
 //  Returns:\r
 //      Current value if IVA\r
 \r
-        .globl     GetIva\r
+        ASM_GLOBAL     GetIva\r
         .proc       GetIva\r
 GetIva:\r
         mov         r8=cr2;;\r
@@ -686,7 +686,7 @@ GetIva:
 //  Returns:\r
 //      Previous state of psr.ic\r
 //\r
-        .globl     ProgramInterruptFlags\r
+        ASM_GLOBAL     ProgramInterruptFlags\r
         .proc       ProgramInterruptFlags\r
 ProgramInterruptFlags:\r
         alloc       loc0=1,2,0,0;;\r
@@ -1272,7 +1272,7 @@ EndHookHandler:
 //      Saves IVT index to SCRATCH_REG1 (immediate value is fixed up when code is copied\r
 //          to the IVT entry.\r
 \r
-        .globl HookStub\r
+        ASM_GLOBAL HookStub\r
         .proc   HookStub\r
 HookStub:\r
 \r