summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
a753ec9)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1786
6f19259b-4bc3-4df7-8a09-
765794883524
-.global GetEsalEntryPoint\r
+.globl GetEsalEntryPoint\r
\r
\r
//-----------------------------------------------------------------------------\r
\r
\r
//-----------------------------------------------------------------------------\r
#*
#******************************************************************************
#*
#******************************************************************************
-.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 # ?
_AppEsp: .long 0x11111111 # ?
_DebugEsp: .long 0x22222222 # ?
_OrigVector: .long 0x66666666 # ?
_StubSize: .long _InterruptEntryStubEnd - _InterruptEntryStub
_OrigVector: .long 0x66666666 # ?
_StubSize: .long _InterruptEntryStubEnd - _InterruptEntryStub
_FxStorSupport:
push %ebx
mov $0x1,%eax
_FxStorSupport:
push %ebx
mov $0x1,%eax
_GetIdtr:
push %ebp
mov %esp,%ebp
_GetIdtr:
push %ebp
mov %esp,%ebp
-.global _WriteInterruptFlag
+.globl _WriteInterruptFlag
_WriteInterruptFlag:
push %ebp
mov %esp,%ebp
_WriteInterruptFlag:
push %ebp
mov %esp,%ebp
_Vect2Desc:
push %ebp
mov %esp,%ebp
_Vect2Desc:
push %ebp
mov %esp,%ebp
-.global _InterruptEntryStub
+.globl _InterruptEntryStub
_InterruptEntryStub:
mov %esp,0x0
mov $0x0,%esp
push $0x0
jmp _CommonIdtEntry
_InterruptEntryStub:
mov %esp,0x0
mov $0x0,%esp
push $0x0
jmp _CommonIdtEntry
-.global _InterruptEntryStubEnd
+.globl _InterruptEntryStubEnd
_CommonIdtEntry:
pusha
pushf
_CommonIdtEntry:
pusha
pushf
#include "common.i"\r
#include "Ds64Macros.i"\r
\r
#include "common.i"\r
#include "Ds64Macros.i"\r
\r
-.global PatchSaveBuffer\r
-.global IpfContextBuf\r
-.global CommonHandler\r
-.global ExternalInterruptCount\r
+.globl PatchSaveBuffer\r
+.globl IpfContextBuf\r
+.globl CommonHandler\r
+.globl ExternalInterruptCount\r
\r
\r
/////////////////////////////////////////////\r
\r
\r
/////////////////////////////////////////////\r
// Description:\r
// Flushes instruction cache for specified number of bytes\r
//\r
// Description:\r
// Flushes instruction cache for specified number of bytes\r
//\r
- .global InstructionCacheFlush\r
+ .globl InstructionCacheFlush\r
.proc InstructionCacheFlush\r
.align 32\r
InstructionCacheFlush::\r
.proc InstructionCacheFlush\r
.align 32\r
InstructionCacheFlush::\r
.proc ChainHandler\r
ChainHandler:\r
\r
.proc ChainHandler\r
ChainHandler:\r
\r
- .global UnchainHandler\r
+ .globl UnchainHandler\r
.proc UnchainHandler\r
\r
UnchainHandler:\r
.proc UnchainHandler\r
\r
UnchainHandler:\r
// Returns:\r
// Current value if IVA\r
\r
// Returns:\r
// Current value if IVA\r
\r
.proc GetIva\r
GetIva:\r
mov r8=cr2;;\r
.proc GetIva\r
GetIva:\r
mov r8=cr2;;\r
// Returns:\r
// Previous state of psr.ic\r
//\r
// Returns:\r
// Previous state of psr.ic\r
//\r
- .global ProgramInterruptFlags\r
+ .globl ProgramInterruptFlags\r
.proc ProgramInterruptFlags\r
ProgramInterruptFlags:\r
alloc loc0=1,2,0,0;;\r
.proc ProgramInterruptFlags\r
ProgramInterruptFlags:\r
alloc loc0=1,2,0,0;;\r
// Saves IVT index to SCRATCH_REG1 (immediate value is fixed up when code is copied\r
// to the IVT entry.\r
\r
// Saves IVT index to SCRATCH_REG1 (immediate value is fixed up when code is copied\r
// to the IVT entry.\r
\r
.proc HookStub\r
HookStub:\r
\r
.proc HookStub\r
HookStub:\r
\r
#* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#*
#****************************************************************************
#* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#*
#****************************************************************************
-.global _EbcLLCALLEXNative
+.globl _EbcLLCALLEXNative
_EbcLLCALLEXNative:
push %ebp
mov %esp,%ebp
_EbcLLCALLEXNative:
push %ebp
mov %esp,%ebp
-.global _EbcLLGetEbcEntryPoint
+.globl _EbcLLGetEbcEntryPoint
_EbcLLGetEbcEntryPoint:
ret
_EbcLLGetEbcEntryPoint:
ret
-.global _EbcLLGetStackPointer
+.globl _EbcLLGetStackPointer
_EbcLLGetStackPointer:
mov %esp,%eax
add $0x4,%eax
ret
_EbcLLGetStackPointer:
mov %esp,%eax
add $0x4,%eax
ret
-.global _EbcLLGetReturnValue
+.globl _EbcLLGetReturnValue
_EbcLLGetReturnValue:
ret
_EbcLLGetReturnValue:
ret
# Generic math routines for EBC interpreter running on IA32 processor
#
#------------------------------------------------------------------------------
# Generic math routines for EBC interpreter running on IA32 processor
#
#------------------------------------------------------------------------------
_LeftShiftU64:
push %ebp
mov %esp,%ebp
_LeftShiftU64:
push %ebp
mov %esp,%ebp
_RightShiftU64:
push %ebp
mov %esp,%ebp
_RightShiftU64:
push %ebp
mov %esp,%ebp
_ARightShift64:
push %ebp
mov %esp,%ebp
_ARightShift64:
push %ebp
mov %esp,%ebp
_MulU64x64:
push %ebp
mov %esp,%ebp
_MulU64x64:
push %ebp
mov %esp,%ebp
_MulS64x64:
push %ebp
mov %esp,%ebp
_MulS64x64:
push %ebp
mov %esp,%ebp
_DivU64x64:
push %ebp
mov %esp,%ebp
_DivU64x64:
push %ebp
mov %esp,%ebp
_DivS64x64:
push %ebp
mov %esp,%ebp
_DivS64x64:
push %ebp
mov %esp,%ebp
\r
.proc MulS64x64#\r
.align 32\r
\r
.proc MulS64x64#\r
.align 32\r
\r
.proc MulU64x64#\r
.align 32\r
\r
.proc MulU64x64#\r
.align 32\r