mirror of https://github.com/acidanthera/audk.git
Replace .globl with ASM_GLOBAL
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8346 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
b20d41df13
commit
132f41f0a9
|
@ -18,8 +18,8 @@
|
|||
|
||||
|
||||
.align 8
|
||||
.globl ASM_PFX(AsmGetVectorTemplatInfo)
|
||||
.globl ASM_PFX(AsmVectorFixup)
|
||||
ASM_GLOBAL ASM_PFX(AsmGetVectorTemplatInfo)
|
||||
ASM_GLOBAL ASM_PFX(AsmVectorFixup)
|
||||
/*
|
||||
;
|
||||
;-----------------------------------------------------------------------
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -16,10 +16,10 @@
|
|||
#include "Common.i"
|
||||
#include "Ds64Macros.i"
|
||||
|
||||
.globl PatchSaveBuffer
|
||||
.globl IpfContextBuf
|
||||
.globl CommonHandler
|
||||
.globl ExternalInterruptCount
|
||||
ASM_GLOBAL PatchSaveBuffer
|
||||
ASM_GLOBAL IpfContextBuf
|
||||
ASM_GLOBAL CommonHandler
|
||||
ASM_GLOBAL ExternalInterruptCount
|
||||
|
||||
|
||||
/////////////////////////////////////////////
|
||||
|
@ -30,7 +30,7 @@
|
|||
// Description:
|
||||
// Flushes instruction cache for specified number of bytes
|
||||
//
|
||||
.globl InstructionCacheFlush
|
||||
ASM_GLOBAL InstructionCacheFlush
|
||||
.proc InstructionCacheFlush
|
||||
.align 32
|
||||
InstructionCacheFlush::
|
||||
|
@ -158,7 +158,7 @@ LoopBack: // $L143:
|
|||
// Notes:
|
||||
//
|
||||
//
|
||||
.globl ChainHandler
|
||||
ASM_GLOBAL ChainHandler
|
||||
.proc ChainHandler
|
||||
ChainHandler:
|
||||
|
||||
|
@ -233,7 +233,7 @@ ChainHandlerDone:
|
|||
// Notes:
|
||||
//
|
||||
//
|
||||
.globl UnchainHandler
|
||||
ASM_GLOBAL UnchainHandler
|
||||
.proc UnchainHandler
|
||||
|
||||
UnchainHandler:
|
||||
|
@ -666,7 +666,7 @@ SetSlotDone:
|
|||
// Returns:
|
||||
// Current value if IVA
|
||||
|
||||
.globl GetIva
|
||||
ASM_GLOBAL GetIva
|
||||
.proc GetIva
|
||||
GetIva:
|
||||
mov r8=cr2;;
|
||||
|
@ -686,7 +686,7 @@ GetIva:
|
|||
// Returns:
|
||||
// Previous state of psr.ic
|
||||
//
|
||||
.globl ProgramInterruptFlags
|
||||
ASM_GLOBAL ProgramInterruptFlags
|
||||
.proc ProgramInterruptFlags
|
||||
ProgramInterruptFlags:
|
||||
alloc loc0=1,2,0,0;;
|
||||
|
@ -1272,7 +1272,7 @@ EndHookHandler:
|
|||
// Saves IVT index to SCRATCH_REG1 (immediate value is fixed up when code is copied
|
||||
// to the IVT entry.
|
||||
|
||||
.globl HookStub
|
||||
ASM_GLOBAL HookStub
|
||||
.proc HookStub
|
||||
HookStub:
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -13,9 +13,9 @@
|
|||
#
|
||||
#**/
|
||||
|
||||
.globl ASM_PFX(CopyMem)
|
||||
ASM_GLOBAL ASM_PFX(CopyMem)
|
||||
|
||||
.globl ASM_PFX(EbcLLCALLEXNative)
|
||||
ASM_GLOBAL ASM_PFX(EbcLLCALLEXNative)
|
||||
ASM_PFX(EbcLLCALLEXNative):
|
||||
push %ebp
|
||||
push %ebx
|
||||
|
@ -42,16 +42,16 @@ ASM_PFX(EbcLLCALLEXNative):
|
|||
pop %ebp
|
||||
ret
|
||||
|
||||
.globl ASM_PFX(EbcLLGetEbcEntryPoint)
|
||||
ASM_GLOBAL ASM_PFX(EbcLLGetEbcEntryPoint)
|
||||
ASM_PFX(EbcLLGetEbcEntryPoint):
|
||||
ret
|
||||
|
||||
.globl ASM_PFX(EbcLLGetStackPointer)
|
||||
ASM_GLOBAL ASM_PFX(EbcLLGetStackPointer)
|
||||
ASM_PFX(EbcLLGetStackPointer):
|
||||
mov %esp,%eax
|
||||
add $0x4,%eax
|
||||
ret
|
||||
|
||||
.globl ASM_PFX(EbcLLGetReturnValue)
|
||||
ASM_GLOBAL ASM_PFX(EbcLLGetReturnValue)
|
||||
ASM_PFX(EbcLLGetReturnValue):
|
||||
ret
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(CpuFlushTlb)
|
||||
ASM_GLOBAL ASM_PFX(CpuFlushTlb)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# VOID
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(CpuSleep)
|
||||
ASM_GLOBAL ASM_PFX(CpuSleep)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# VOID
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
.auto
|
||||
.text
|
||||
|
||||
.globl PalCall
|
||||
ASM_GLOBAL PalCall
|
||||
.type PalCall, @function
|
||||
|
||||
.proc CpuFlushTlb
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(InternalMathARShiftU64)
|
||||
ASM_GLOBAL ASM_PFX(InternalMathARShiftU64)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINT64
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(CpuBreakpoint)
|
||||
ASM_GLOBAL ASM_PFX(CpuBreakpoint)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# VOID
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(AsmCpuid)
|
||||
ASM_GLOBAL ASM_PFX(AsmCpuid)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# VOID
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
# OUT UINT32 *RegisterOutEdx OPTIONAL
|
||||
# )
|
||||
#------------------------------------------------------------------------------
|
||||
.globl ASM_PFX(AsmCpuidEx)
|
||||
ASM_GLOBAL ASM_PFX(AsmCpuidEx)
|
||||
ASM_PFX(AsmCpuidEx):
|
||||
push %ebx
|
||||
push %ebp
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(CpuPause)
|
||||
ASM_GLOBAL ASM_PFX(CpuPause)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# VOID
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
# VOID
|
||||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.globl ASM_PFX(AsmDisableCache)
|
||||
ASM_GLOBAL ASM_PFX(AsmDisableCache)
|
||||
ASM_PFX(AsmDisableCache):
|
||||
movl %cr0, %eax
|
||||
btsl $30, %eax
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(DisableInterrupts)
|
||||
ASM_GLOBAL ASM_PFX(DisableInterrupts)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# VOID
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(InternalX86DisablePaging32)
|
||||
ASM_GLOBAL ASM_PFX(InternalX86DisablePaging32)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# VOID
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(InternalMathDivU64x32)
|
||||
ASM_GLOBAL ASM_PFX(InternalMathDivU64x32)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINT64
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(InternalMathDivRemU64x32)
|
||||
ASM_GLOBAL ASM_PFX(InternalMathDivRemU64x32)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINT64
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(InternalMathDivRemU64x32), ASM_PFX(InternalMathDivRemU64x64)
|
||||
ASM_GLOBAL ASM_PFX(InternalMathDivRemU64x32), ASM_PFX(InternalMathDivRemU64x64)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINT64
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
# VOID
|
||||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.globl ASM_PFX(AsmEnableCache)
|
||||
ASM_GLOBAL ASM_PFX(AsmEnableCache)
|
||||
ASM_PFX(AsmEnableCache):
|
||||
wbinvd
|
||||
movl %cr0, %eax
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(EnableDisableInterrupts)
|
||||
ASM_GLOBAL ASM_PFX(EnableDisableInterrupts)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# VOID
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(EnableInterrupts)
|
||||
ASM_GLOBAL ASM_PFX(EnableInterrupts)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# VOID
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(InternalX86EnablePaging32)
|
||||
ASM_GLOBAL ASM_PFX(InternalX86EnablePaging32)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# VOID
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(InternalX86EnablePaging64)
|
||||
ASM_GLOBAL ASM_PFX(InternalX86EnablePaging64)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# VOID
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(AsmFlushCacheLine)
|
||||
ASM_GLOBAL ASM_PFX(AsmFlushCacheLine)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# VOID
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(InternalX86FxRestore)
|
||||
ASM_GLOBAL ASM_PFX(InternalX86FxRestore)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# VOID
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(InternalX86FxSave)
|
||||
ASM_GLOBAL ASM_PFX(InternalX86FxSave)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# VOID
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(AsmInvd)
|
||||
ASM_GLOBAL ASM_PFX(AsmInvd)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# VOID
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(InternalMathLRotU64)
|
||||
ASM_GLOBAL ASM_PFX(InternalMathLRotU64)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINT64
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(InternalMathLShiftU64)
|
||||
ASM_GLOBAL ASM_PFX(InternalMathLShiftU64)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINT64
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(InternalLongJump)
|
||||
ASM_GLOBAL ASM_PFX(InternalLongJump)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# VOID
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(InternalMathModU64x32)
|
||||
ASM_GLOBAL ASM_PFX(InternalMathModU64x32)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINT32
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(AsmMonitor)
|
||||
ASM_GLOBAL ASM_PFX(AsmMonitor)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINT64
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
.386:
|
||||
.code:
|
||||
|
||||
.globl ASM_PFX(InternalMathMultU64x32)
|
||||
ASM_GLOBAL ASM_PFX(InternalMathMultU64x32)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINT64
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(InternalMathMultU64x64)
|
||||
ASM_GLOBAL ASM_PFX(InternalMathMultU64x64)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINT64
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(AsmMwait)
|
||||
ASM_GLOBAL ASM_PFX(AsmMwait)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINT64
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(InternalMathRRotU64)
|
||||
ASM_GLOBAL ASM_PFX(InternalMathRRotU64)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINT64
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
.686:
|
||||
.code:
|
||||
|
||||
.globl ASM_PFX(InternalMathRShiftU64)
|
||||
ASM_GLOBAL ASM_PFX(InternalMathRShiftU64)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINT64
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(AsmReadCr0)
|
||||
ASM_GLOBAL ASM_PFX(AsmReadCr0)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINTN
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(AsmReadCr2)
|
||||
ASM_GLOBAL ASM_PFX(AsmReadCr2)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINTN
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(AsmReadCr3)
|
||||
ASM_GLOBAL ASM_PFX(AsmReadCr3)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINTN
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(AsmReadCr4)
|
||||
ASM_GLOBAL ASM_PFX(AsmReadCr4)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINTN
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(AsmReadCs)
|
||||
ASM_GLOBAL ASM_PFX(AsmReadCs)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINT16
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(AsmReadDr0)
|
||||
ASM_GLOBAL ASM_PFX(AsmReadDr0)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINTN
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(AsmReadDr1)
|
||||
ASM_GLOBAL ASM_PFX(AsmReadDr1)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINTN
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(AsmReadDr2)
|
||||
ASM_GLOBAL ASM_PFX(AsmReadDr2)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINTN
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(AsmReadDr3)
|
||||
ASM_GLOBAL ASM_PFX(AsmReadDr3)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINTN
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(AsmReadDr4)
|
||||
ASM_GLOBAL ASM_PFX(AsmReadDr4)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINTN
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(AsmReadDr5)
|
||||
ASM_GLOBAL ASM_PFX(AsmReadDr5)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINTN
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(AsmReadDr6)
|
||||
ASM_GLOBAL ASM_PFX(AsmReadDr6)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINTN
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(AsmReadDr7)
|
||||
ASM_GLOBAL ASM_PFX(AsmReadDr7)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINTN
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(AsmReadDs)
|
||||
ASM_GLOBAL ASM_PFX(AsmReadDs)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINT16
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(AsmReadEflags)
|
||||
ASM_GLOBAL ASM_PFX(AsmReadEflags)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINTN
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(AsmReadEs)
|
||||
ASM_GLOBAL ASM_PFX(AsmReadEs)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINT16
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(AsmReadFs)
|
||||
ASM_GLOBAL ASM_PFX(AsmReadFs)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINT16
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(InternalX86ReadGdtr)
|
||||
ASM_GLOBAL ASM_PFX(InternalX86ReadGdtr)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# VOID
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(AsmReadGs)
|
||||
ASM_GLOBAL ASM_PFX(AsmReadGs)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINT16
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(InternalX86ReadIdtr)
|
||||
ASM_GLOBAL ASM_PFX(InternalX86ReadIdtr)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# VOID
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(AsmReadLdtr)
|
||||
ASM_GLOBAL ASM_PFX(AsmReadLdtr)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINT16
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(AsmReadMm0)
|
||||
ASM_GLOBAL ASM_PFX(AsmReadMm0)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINTN
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(AsmReadMm1)
|
||||
ASM_GLOBAL ASM_PFX(AsmReadMm1)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINTN
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(AsmReadMm2)
|
||||
ASM_GLOBAL ASM_PFX(AsmReadMm2)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINTN
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(AsmReadMm3)
|
||||
ASM_GLOBAL ASM_PFX(AsmReadMm3)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINTN
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(AsmReadMm4)
|
||||
ASM_GLOBAL ASM_PFX(AsmReadMm4)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINTN
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(AsmReadMm5)
|
||||
ASM_GLOBAL ASM_PFX(AsmReadMm5)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINTN
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(AsmReadMm6)
|
||||
ASM_GLOBAL ASM_PFX(AsmReadMm6)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINTN
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(AsmReadMm7)
|
||||
ASM_GLOBAL ASM_PFX(AsmReadMm7)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINTN
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(AsmReadMsr64)
|
||||
ASM_GLOBAL ASM_PFX(AsmReadMsr64)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINT64
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(AsmReadPmc)
|
||||
ASM_GLOBAL ASM_PFX(AsmReadPmc)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINT64
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(AsmReadSs)
|
||||
ASM_GLOBAL ASM_PFX(AsmReadSs)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINT16
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(AsmReadTr)
|
||||
ASM_GLOBAL ASM_PFX(AsmReadTr)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINT16
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(AsmReadTsc)
|
||||
ASM_GLOBAL ASM_PFX(AsmReadTsc)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINT64
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
.globl ASM_PFX(SetJump), ASM_PFX(InternalAssertJumpBuffer)
|
||||
ASM_GLOBAL ASM_PFX(SetJump), ASM_PFX(InternalAssertJumpBuffer)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# UINTN
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
# IN UINT64 Operand
|
||||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.globl ASM_PFX(InternalMathSwapBytes64)
|
||||
ASM_GLOBAL ASM_PFX(InternalMathSwapBytes64)
|
||||
ASM_PFX(InternalMathSwapBytes64):
|
||||
movl 8(%esp), %eax # eax <- upper 32 bits
|
||||
movl 4(%esp), %edx # edx <- lower 32 bits
|
||||
|
|
|
@ -21,8 +21,8 @@
|
|||
|
||||
#include <Library/BaseLib.h>
|
||||
|
||||
.globl ASM_PFX(m16Start), ASM_PFX(m16Size), ASM_PFX(mThunk16Attr), ASM_PFX(m16Gdt), ASM_PFX(m16GdtrBase), ASM_PFX(mTransition)
|
||||
.globl ASM_PFX(InternalAsmThunk16)
|
||||
ASM_GLOBAL ASM_PFX(m16Start), ASM_PFX(m16Size), ASM_PFX(mThunk16Attr), ASM_PFX(m16Gdt), ASM_PFX(m16GdtrBase), ASM_PFX(mTransition)
|
||||
ASM_GLOBAL ASM_PFX(InternalAsmThunk16)
|
||||
|
||||
ASM_PFX(m16Start):
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
# VOID
|
||||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.globl ASM_PFX(AsmWbinvd)
|
||||
ASM_GLOBAL ASM_PFX(AsmWbinvd)
|
||||
ASM_PFX(AsmWbinvd):
|
||||
wbinvd
|
||||
ret
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
# IN UINTN Cr0
|
||||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.globl ASM_PFX(AsmWriteCr0)
|
||||
ASM_GLOBAL ASM_PFX(AsmWriteCr0)
|
||||
ASM_PFX(AsmWriteCr0):
|
||||
movl 4(%esp), %eax
|
||||
movl %eax, %cr0
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
# IN UINTN Cr2
|
||||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.globl ASM_PFX(AsmWriteCr2)
|
||||
ASM_GLOBAL ASM_PFX(AsmWriteCr2)
|
||||
ASM_PFX(AsmWriteCr2):
|
||||
movl 4(%esp), %eax
|
||||
movl %eax, %cr2
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
# IN UINTN Cr3
|
||||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.globl ASM_PFX(AsmWriteCr3)
|
||||
ASM_GLOBAL ASM_PFX(AsmWriteCr3)
|
||||
ASM_PFX(AsmWriteCr3):
|
||||
movl 4(%esp), %eax
|
||||
movl %eax, %cr3
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
# IN UINTN Cr4
|
||||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.globl ASM_PFX(AsmWriteCr4)
|
||||
ASM_GLOBAL ASM_PFX(AsmWriteCr4)
|
||||
ASM_PFX(AsmWriteCr4):
|
||||
movl 4(%esp), %eax
|
||||
movl %eax, %cr4
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
# IN UINTN Value
|
||||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.globl ASM_PFX(AsmWriteDr0)
|
||||
ASM_GLOBAL ASM_PFX(AsmWriteDr0)
|
||||
ASM_PFX(AsmWriteDr0):
|
||||
movl 4(%esp), %eax
|
||||
movl %eax, %dr0
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
# IN UINTN Value
|
||||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.globl ASM_PFX(AsmWriteDr1)
|
||||
ASM_GLOBAL ASM_PFX(AsmWriteDr1)
|
||||
ASM_PFX(AsmWriteDr1):
|
||||
movl 4(%esp), %eax
|
||||
movl %eax, %dr1
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
# IN UINTN Value
|
||||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.globl ASM_PFX(AsmWriteDr2)
|
||||
ASM_GLOBAL ASM_PFX(AsmWriteDr2)
|
||||
ASM_PFX(AsmWriteDr2):
|
||||
movl 4(%esp), %eax
|
||||
movl %eax, %dr2
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
# IN UINTN Value
|
||||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.globl ASM_PFX(AsmWriteDr3)
|
||||
ASM_GLOBAL ASM_PFX(AsmWriteDr3)
|
||||
ASM_PFX(AsmWriteDr3):
|
||||
movl 4(%esp), %eax
|
||||
movl %eax, %dr3
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
# IN UINTN Value
|
||||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.globl ASM_PFX(AsmWriteDr4)
|
||||
ASM_GLOBAL ASM_PFX(AsmWriteDr4)
|
||||
ASM_PFX(AsmWriteDr4):
|
||||
movl 4(%esp), %eax
|
||||
movl %eax, %dr4
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
# IN UINTN Value
|
||||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.globl ASM_PFX(AsmWriteDr5)
|
||||
ASM_GLOBAL ASM_PFX(AsmWriteDr5)
|
||||
ASM_PFX(AsmWriteDr5):
|
||||
movl 4(%esp), %eax
|
||||
movl %eax, %dr5
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
# IN UINTN Value
|
||||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.globl ASM_PFX(AsmWriteDr6)
|
||||
ASM_GLOBAL ASM_PFX(AsmWriteDr6)
|
||||
ASM_PFX(AsmWriteDr6):
|
||||
movl 4(%esp), %eax
|
||||
movl %eax, %dr6
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
# IN UINTN Value
|
||||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.globl ASM_PFX(AsmWriteDr7)
|
||||
ASM_GLOBAL ASM_PFX(AsmWriteDr7)
|
||||
ASM_PFX(AsmWriteDr7):
|
||||
movl 4(%esp), %eax
|
||||
movl %eax, %dr7
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
# OUT IA32_DESCRIPTOR *Gdtr
|
||||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.globl ASM_PFX(InternalX86WriteGdtr)
|
||||
ASM_GLOBAL ASM_PFX(InternalX86WriteGdtr)
|
||||
ASM_PFX(InternalX86WriteGdtr):
|
||||
movl 4(%esp), %eax
|
||||
lgdt (%eax)
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
# OUT IA32_DESCRIPTOR *Idtr
|
||||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.globl ASM_PFX(InternalX86WriteIdtr)
|
||||
ASM_GLOBAL ASM_PFX(InternalX86WriteIdtr)
|
||||
ASM_PFX(InternalX86WriteIdtr):
|
||||
movl 4(%esp), %eax
|
||||
lidt (%eax)
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
# IN UINT16 Ldtr
|
||||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.globl ASM_PFX(AsmWriteLdtr)
|
||||
ASM_GLOBAL ASM_PFX(AsmWriteLdtr)
|
||||
ASM_PFX(AsmWriteLdtr):
|
||||
movl 4(%esp), %eax
|
||||
lldtw %ax
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
# IN UINT64 Value
|
||||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.globl ASM_PFX(AsmWriteMm0)
|
||||
ASM_GLOBAL ASM_PFX(AsmWriteMm0)
|
||||
ASM_PFX(AsmWriteMm0):
|
||||
movq 4(%esp), %mm0
|
||||
ret
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
# IN UINT64 Value
|
||||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.globl ASM_PFX(AsmWriteMm1)
|
||||
ASM_GLOBAL ASM_PFX(AsmWriteMm1)
|
||||
ASM_PFX(AsmWriteMm1):
|
||||
movq 4(%esp), %mm1
|
||||
ret
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
# IN UINT64 Value
|
||||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.globl ASM_PFX(AsmWriteMm2)
|
||||
ASM_GLOBAL ASM_PFX(AsmWriteMm2)
|
||||
ASM_PFX(AsmWriteMm2):
|
||||
movq 4(%esp), %mm2
|
||||
ret
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
# IN UINT64 Value
|
||||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.globl ASM_PFX(AsmWriteMm3)
|
||||
ASM_GLOBAL ASM_PFX(AsmWriteMm3)
|
||||
ASM_PFX(AsmWriteMm3):
|
||||
movq 4(%esp), %mm3
|
||||
ret
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
# IN UINT64 Value
|
||||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.globl ASM_PFX(AsmWriteMm4)
|
||||
ASM_GLOBAL ASM_PFX(AsmWriteMm4)
|
||||
ASM_PFX(AsmWriteMm4):
|
||||
movq 4(%esp), %mm4
|
||||
ret
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
# IN UINT64 Value
|
||||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.globl ASM_PFX(AsmWriteMm5)
|
||||
ASM_GLOBAL ASM_PFX(AsmWriteMm5)
|
||||
ASM_PFX(AsmWriteMm5):
|
||||
movq 4(%esp), %mm5
|
||||
ret
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
# IN UINT64 Value
|
||||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.globl ASM_PFX(AsmWriteMm6)
|
||||
ASM_GLOBAL ASM_PFX(AsmWriteMm6)
|
||||
ASM_PFX(AsmWriteMm6):
|
||||
movq 4(%esp), %mm6
|
||||
ret
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
# IN UINT64 Value
|
||||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.globl ASM_PFX(AsmWriteMm7)
|
||||
ASM_GLOBAL ASM_PFX(AsmWriteMm7)
|
||||
ASM_PFX(AsmWriteMm7):
|
||||
movq 4(%esp), %mm7
|
||||
ret
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
# IN UINT64 Value
|
||||
# );
|
||||
#------------------------------------------------------------------------------
|
||||
.globl ASM_PFX(AsmWriteMsr64)
|
||||
ASM_GLOBAL ASM_PFX(AsmWriteMsr64)
|
||||
ASM_PFX(AsmWriteMsr64):
|
||||
movl 12(%esp), %edx
|
||||
movl 8(%esp), %eax
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue