summaryrefslogtreecommitdiff
path: root/EdkModulePkg/Universal/DebugSupport/Dxe
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2006-10-18 03:48:37 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2006-10-18 03:48:37 +0000
commit1cb5cfc1842c69f2104c7532d3be3a994343e7c6 (patch)
tree470f57ea27a4a77490ec729dd603d35d65e78798 /EdkModulePkg/Universal/DebugSupport/Dxe
parenta753ec90e8d8dbf8a78ac253fdcf627197e4f26f (diff)
downloadedk2-1cb5cfc1842c69f2104c7532d3be3a994343e7c6.zip
edk2-1cb5cfc1842c69f2104c7532d3be3a994343e7c6.tar.gz
edk2-1cb5cfc1842c69f2104c7532d3be3a994343e7c6.tar.bz2
Replace .global with .globl to solve compatibility issues.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1786 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkModulePkg/Universal/DebugSupport/Dxe')
-rw-r--r--EdkModulePkg/Universal/DebugSupport/Dxe/Ia32/AsmFuncs.S24
-rw-r--r--EdkModulePkg/Universal/DebugSupport/Dxe/ipf/AsmFuncs.s20
2 files changed, 22 insertions, 22 deletions
diff --git a/EdkModulePkg/Universal/DebugSupport/Dxe/Ia32/AsmFuncs.S b/EdkModulePkg/Universal/DebugSupport/Dxe/Ia32/AsmFuncs.S
index 131464a..728fdec 100644
--- a/EdkModulePkg/Universal/DebugSupport/Dxe/Ia32/AsmFuncs.S
+++ b/EdkModulePkg/Universal/DebugSupport/Dxe/Ia32/AsmFuncs.S
@@ -11,11 +11,11 @@
#*
#******************************************************************************
-.global _OrigVector
-.global _InterruptEntryStub
-.global _StubSize
-.global _CommonIdtEntry
-.global _FxStorSupport
+.globl _OrigVector
+.globl _InterruptEntryStub
+.globl _StubSize
+.globl _CommonIdtEntry
+.globl _FxStorSupport
_AppEsp: .long 0x11111111 # ?
_DebugEsp: .long 0x22222222 # ?
@@ -25,7 +25,7 @@ _Eflags: .long 0x55555555 # ?
_OrigVector: .long 0x66666666 # ?
_StubSize: .long _InterruptEntryStubEnd - _InterruptEntryStub
-.global _FxStorSupport
+.globl _FxStorSupport
_FxStorSupport:
push %ebx
mov $0x1,%eax
@@ -36,7 +36,7 @@ _FxStorSupport:
pop %ebx
ret
-.global _GetIdtr
+.globl _GetIdtr
_GetIdtr:
push %ebp
mov %esp,%ebp
@@ -46,7 +46,7 @@ _GetIdtr:
leave
ret
-.global _WriteInterruptFlag
+.globl _WriteInterruptFlag
_WriteInterruptFlag:
push %ebp
mov %esp,%ebp
@@ -63,7 +63,7 @@ _WriteInterruptFlag:
leave
ret
-.global _Vect2Desc
+.globl _Vect2Desc
_Vect2Desc:
push %ebp
mov %esp,%ebp
@@ -77,16 +77,16 @@ _Vect2Desc:
leave
ret
-.global _InterruptEntryStub
+.globl _InterruptEntryStub
_InterruptEntryStub:
mov %esp,0x0
mov $0x0,%esp
push $0x0
jmp _CommonIdtEntry
-.global _InterruptEntryStubEnd
+.globl _InterruptEntryStubEnd
_InterruptEntryStubEnd:
-.global _CommonIdtEntry
+.globl _CommonIdtEntry
_CommonIdtEntry:
pusha
pushf
diff --git a/EdkModulePkg/Universal/DebugSupport/Dxe/ipf/AsmFuncs.s b/EdkModulePkg/Universal/DebugSupport/Dxe/ipf/AsmFuncs.s
index 1ac4a7e..866e5db 100644
--- a/EdkModulePkg/Universal/DebugSupport/Dxe/ipf/AsmFuncs.s
+++ b/EdkModulePkg/Universal/DebugSupport/Dxe/ipf/AsmFuncs.s
@@ -24,10 +24,10 @@
#include "common.i"
#include "Ds64Macros.i"
-.global PatchSaveBuffer
-.global IpfContextBuf
-.global CommonHandler
-.global ExternalInterruptCount
+.globl PatchSaveBuffer
+.globl IpfContextBuf
+.globl CommonHandler
+.globl ExternalInterruptCount
/////////////////////////////////////////////
@@ -38,7 +38,7 @@
// Description:
// Flushes instruction cache for specified number of bytes
//
- .global InstructionCacheFlush
+ .globl InstructionCacheFlush
.proc InstructionCacheFlush
.align 32
InstructionCacheFlush::
@@ -166,7 +166,7 @@ LoopBack: // $L143:
// Notes:
//
//
- .global ChainHandler
+ .globl ChainHandler
.proc ChainHandler
ChainHandler:
@@ -240,7 +240,7 @@ ChainHandlerDone:
// Notes:
//
//
- .global UnchainHandler
+ .globl UnchainHandler
.proc UnchainHandler
UnchainHandler:
@@ -673,7 +673,7 @@ SetSlotDone:
// Returns:
// Current value if IVA
- .global GetIva
+ .globl GetIva
.proc GetIva
GetIva:
mov r8=cr2;;
@@ -693,7 +693,7 @@ GetIva:
// Returns:
// Previous state of psr.ic
//
- .global ProgramInterruptFlags
+ .globl ProgramInterruptFlags
.proc ProgramInterruptFlags
ProgramInterruptFlags:
alloc loc0=1,2,0,0;;
@@ -1279,7 +1279,7 @@ EndHookHandler:
// Saves IVT index to SCRATCH_REG1 (immediate value is fixed up when code is copied
// to the IVT entry.
- .global HookStub
+ .globl HookStub
.proc HookStub
HookStub: