]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/DebugSupportDxe/X64/AsmFuncs.S
Replace .globl with ASM_GLOBAL
[mirror_edk2.git] / MdeModulePkg / Universal / DebugSupportDxe / X64 / AsmFuncs.S
index 7c854c1c888ba9ea710836b02084f127f2d72a48..44efd231fb6adf69b0c19599c3f4455c23dc0f5f 100644 (file)
 \r
 .intel_syntax noprefix\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
 .data \r
 \r
@@ -94,7 +94,7 @@ DebugStackBegin : .ascii    "<<<< DbgStkBegin"   # initial debug ESP == DebugSta
 #\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 rbx which must be preserved per the C calling convention\r
@@ -116,7 +116,7 @@ ASM_PFX(FxStorSupport):
 #\r
 # Abstract: Encodes an IDT descriptor with the given physical address\r
 #\r
-.globl ASM_PFX(Vect2Desc)\r
+ASM_GLOBAL ASM_PFX(Vect2Desc)\r
 ASM_PFX(Vect2Desc):\r
                 mov     rax, rdx\r
                 mov     word ptr [rcx], ax                  # write bits 15..0 of offset\r
@@ -136,13 +136,13 @@ ASM_PFX(Vect2Desc):
 # Abstract: This code is not a function, but is a small piece of code that is\r
 #               copied and fixed up once for each IDT entry that is hooked.\r
 #\r
-.globl ASM_PFX(InterruptEntryStub)\r
+ASM_GLOBAL ASM_PFX(InterruptEntryStub)\r
 ASM_PFX(InterruptEntryStub):\r
 \r
                 push    0                       # push vector number - will be modified before installed\r
                 jmp     ASM_PFX(CommonIdtEntry)\r
                 \r
-.globl ASM_PFX(InterruptEntryStubEnd)\r
+ASM_GLOBAL ASM_PFX(InterruptEntryStubEnd)\r
 ASM_PFX(InterruptEntryStubEnd):\r
 \r
 #------------------------------------------------------------------------------\r
@@ -151,7 +151,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
 ##\r
 ## At this point, the stub has saved the current application stack esp into AppRsp\r
 ## and switched stacks to the debug stack, where it pushed the vector number\r