summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Universal/DebugSupportDxe/Ia32
diff options
context:
space:
mode:
authorxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2009-05-20 10:22:09 +0000
committerxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2009-05-20 10:22:09 +0000
commit132f41f0a92082775d931067089a63ca50367225 (patch)
treee6905780bf1ed9ea99b37a3e3e4868fae2c7a64b /MdeModulePkg/Universal/DebugSupportDxe/Ia32
parentb20d41df13fc3f25678c34c0eb6902e2faebb032 (diff)
downloadedk2-132f41f0a92082775d931067089a63ca50367225.tar.gz
edk2-132f41f0a92082775d931067089a63ca50367225.tar.bz2
edk2-132f41f0a92082775d931067089a63ca50367225.zip
Replace .globl with ASM_GLOBAL
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8346 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/DebugSupportDxe/Ia32')
-rw-r--r--MdeModulePkg/Universal/DebugSupportDxe/Ia32/AsmFuncs.S20
1 files changed, 10 insertions, 10 deletions
diff --git a/MdeModulePkg/Universal/DebugSupportDxe/Ia32/AsmFuncs.S b/MdeModulePkg/Universal/DebugSupportDxe/Ia32/AsmFuncs.S
index 03fc6c98ba..671c8dbdf3 100644
--- a/MdeModulePkg/Universal/DebugSupportDxe/Ia32/AsmFuncs.S
+++ b/MdeModulePkg/Universal/DebugSupportDxe/Ia32/AsmFuncs.S
@@ -12,11 +12,11 @@
#
#**/
-.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)
ASM_PFX(StubSize): .long ASM_PFX(InterruptEntryStubEnd) - ASM_PFX(InterruptEntryStub)
ASM_PFX(AppEsp): .long 0x11111111 # ?
@@ -34,7 +34,7 @@ ASM_PFX(OrigVector): .long 0x66666666 # ?
#
# Abstract: Returns TRUE if FxStor instructions are supported
#
-.globl ASM_PFX(FxStorSupport)
+ASM_GLOBAL ASM_PFX(FxStorSupport)
ASM_PFX(FxStorSupport):
#
# cpuid corrupts ebx which must be preserved per the C calling convention
@@ -57,7 +57,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):
push %ebp
mov %esp,%ebp
@@ -71,13 +71,13 @@ ASM_PFX(Vect2Desc):
leave
ret
-.globl ASM_PFX(InterruptEntryStub)
+ASM_GLOBAL ASM_PFX(InterruptEntryStub)
ASM_PFX(InterruptEntryStub):
mov %esp,0x0 # save stack top
mov $0x0,%esp # switch to debugger stack
push $0x0 # push vector number - will be modified before installed
jmp ASM_PFX(CommonIdtEntry) # jump CommonIdtEntry
-.globl ASM_PFX(InterruptEntryStubEnd)
+ASM_GLOBAL ASM_PFX(InterruptEntryStubEnd)
ASM_PFX(InterruptEntryStubEnd):
#------------------------------------------------------------------------------
@@ -86,7 +86,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)
ASM_PFX(CommonIdtEntry):
##
## At this point, the stub has saved the current application stack esp into AppEsp