From 132f41f0a92082775d931067089a63ca50367225 Mon Sep 17 00:00:00 2001 From: xli24 Date: Wed, 20 May 2009 10:22:09 +0000 Subject: Replace .globl with ASM_GLOBAL git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8346 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Universal/DebugSupportDxe/X64/AsmFuncs.S | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'MdeModulePkg/Universal/DebugSupportDxe/X64') diff --git a/MdeModulePkg/Universal/DebugSupportDxe/X64/AsmFuncs.S b/MdeModulePkg/Universal/DebugSupportDxe/X64/AsmFuncs.S index 7c854c1c88..44efd231fb 100644 --- a/MdeModulePkg/Universal/DebugSupportDxe/X64/AsmFuncs.S +++ b/MdeModulePkg/Universal/DebugSupportDxe/X64/AsmFuncs.S @@ -14,11 +14,11 @@ .intel_syntax noprefix -.globl ASM_PFX(OrigVector) -.globl ASM_PFX(InterruptEntryStub) -.globl ASM_PFX(StubSize) -.globl ASM_PFX(CommonIdtEntry) -.globl ASM_PFX(FxStorSupport) +ASM_GLOBAL ASM_PFX(OrigVector) +ASM_GLOBAL ASM_PFX(InterruptEntryStub) +ASM_GLOBAL ASM_PFX(StubSize) +ASM_GLOBAL ASM_PFX(CommonIdtEntry) +ASM_GLOBAL ASM_PFX(FxStorSupport) .data @@ -94,7 +94,7 @@ DebugStackBegin : .ascii "<<<< DbgStkBegin" # initial debug ESP == DebugSta # # Abstract: Returns TRUE if FxStor instructions are supported # -.globl ASM_PFX(FxStorSupport) +ASM_GLOBAL ASM_PFX(FxStorSupport) ASM_PFX(FxStorSupport): # # cpuid corrupts rbx which must be preserved per the C calling convention @@ -116,7 +116,7 @@ ASM_PFX(FxStorSupport): # # Abstract: Encodes an IDT descriptor with the given physical address # -.globl ASM_PFX(Vect2Desc) +ASM_GLOBAL ASM_PFX(Vect2Desc) ASM_PFX(Vect2Desc): mov rax, rdx mov word ptr [rcx], ax # write bits 15..0 of offset @@ -136,13 +136,13 @@ ASM_PFX(Vect2Desc): # Abstract: This code is not a function, but is a small piece of code that is # copied and fixed up once for each IDT entry that is hooked. # -.globl ASM_PFX(InterruptEntryStub) +ASM_GLOBAL ASM_PFX(InterruptEntryStub) ASM_PFX(InterruptEntryStub): push 0 # push vector number - will be modified before installed jmp ASM_PFX(CommonIdtEntry) -.globl ASM_PFX(InterruptEntryStubEnd) +ASM_GLOBAL ASM_PFX(InterruptEntryStubEnd) ASM_PFX(InterruptEntryStubEnd): #------------------------------------------------------------------------------ @@ -151,7 +151,7 @@ ASM_PFX(InterruptEntryStubEnd): # Abstract: This code is not a function, but is the common part for all IDT # vectors. # -.globl ASM_PFX(CommonIdtEntry) +ASM_GLOBAL ASM_PFX(CommonIdtEntry) ## ## At this point, the stub has saved the current application stack esp into AppRsp ## and switched stacks to the debug stack, where it pushed the vector number -- cgit v1.2.3