\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
#\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
#\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
# 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
# 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