]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/DebugSupportDxe/Ia32/AsmFuncs.S
Replace .globl with ASM_GLOBAL
[mirror_edk2.git] / MdeModulePkg / Universal / DebugSupportDxe / Ia32 / AsmFuncs.S
index 03fc6c98baa680fc8dbe061817591a12f4f4ffbf..671c8dbdf34603d59a000e0159e4b177259a4367 100644 (file)
 #\r
 #**/\r
 \r
-.globl ASM_PFX(OrigVector)\r
-.globl ASM_PFX(InterruptEntryStub)\r
-.globl ASM_PFX(StubSize)\r
-.globl ASM_PFX(CommonIdtEntry)\r
-.globl ASM_PFX(FxStorSupport)\r
+ASM_GLOBAL ASM_PFX(OrigVector)\r
+ASM_GLOBAL ASM_PFX(InterruptEntryStub)\r
+ASM_GLOBAL ASM_PFX(StubSize)\r
+ASM_GLOBAL ASM_PFX(CommonIdtEntry)\r
+ASM_GLOBAL ASM_PFX(FxStorSupport)\r
 \r
 ASM_PFX(StubSize):       .long   ASM_PFX(InterruptEntryStubEnd) - ASM_PFX(InterruptEntryStub)\r
 ASM_PFX(AppEsp):         .long   0x11111111 # ?\r
@@ -34,7 +34,7 @@ ASM_PFX(OrigVector):     .long   0x66666666 # ?
 #\r
 # Abstract: Returns TRUE if FxStor instructions are supported\r
 #\r
-.globl ASM_PFX(FxStorSupport)\r
+ASM_GLOBAL ASM_PFX(FxStorSupport)\r
 ASM_PFX(FxStorSupport):\r
 #\r
 # cpuid corrupts ebx which must be preserved per the C calling convention\r
@@ -57,7 +57,7 @@ ASM_PFX(FxStorSupport):
 # Abstract: Encodes an IDT descriptor with the given physical address\r
 #\r
 \r
-.globl ASM_PFX(Vect2Desc)\r
+ASM_GLOBAL ASM_PFX(Vect2Desc)\r
 ASM_PFX(Vect2Desc):\r
         push   %ebp\r
         mov    %esp,%ebp\r
@@ -71,13 +71,13 @@ ASM_PFX(Vect2Desc):
         leave\r
         ret\r
 \r
-.globl ASM_PFX(InterruptEntryStub)\r
+ASM_GLOBAL ASM_PFX(InterruptEntryStub)\r
 ASM_PFX(InterruptEntryStub):\r
         mov    %esp,0x0                    # save stack top\r
         mov    $0x0,%esp                   # switch to debugger stack\r
         push   $0x0                        # push vector number - will be modified before installed\r
         jmp    ASM_PFX(CommonIdtEntry)     # jump CommonIdtEntry\r
-.globl ASM_PFX(InterruptEntryStubEnd)\r
+ASM_GLOBAL ASM_PFX(InterruptEntryStubEnd)\r
 ASM_PFX(InterruptEntryStubEnd):\r
 \r
 #------------------------------------------------------------------------------\r
@@ -86,7 +86,7 @@ ASM_PFX(InterruptEntryStubEnd):
 # Abstract: This code is not a function, but is the common part for all IDT\r
 #               vectors.\r
 #\r
-.globl ASM_PFX(CommonIdtEntry)\r
+ASM_GLOBAL ASM_PFX(CommonIdtEntry)\r
 ASM_PFX(CommonIdtEntry):\r
 ##\r
 ## At this point, the stub has saved the current application stack esp into AppEsp\r