]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Replace .globl with ASM_GLOBAL
authorxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 20 May 2009 10:22:09 +0000 (10:22 +0000)
committerxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 20 May 2009 10:22:09 +0000 (10:22 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8346 6f19259b-4bc3-4df7-8a09-765794883524

219 files changed:
MdeModulePkg/Core/DxeIplPeim/Ia32/IdtVectorAsm.S
MdeModulePkg/Universal/DebugSupportDxe/Ia32/AsmFuncs.S
MdeModulePkg/Universal/DebugSupportDxe/Ipf/AsmFuncs.s
MdeModulePkg/Universal/DebugSupportDxe/X64/AsmFuncs.S
MdeModulePkg/Universal/EbcDxe/Ia32/EbcLowLevel.S
MdePkg/Library/BaseCpuLib/Ia32/CpuFlushTlb.S
MdePkg/Library/BaseCpuLib/Ia32/CpuSleep.S
MdePkg/Library/BaseCpuLib/Ipf/CpuFlushTlb.s
MdePkg/Library/BaseLib/Ia32/ARShiftU64.S
MdePkg/Library/BaseLib/Ia32/CpuBreakpoint.S
MdePkg/Library/BaseLib/Ia32/CpuId.S
MdePkg/Library/BaseLib/Ia32/CpuIdEx.S
MdePkg/Library/BaseLib/Ia32/CpuPause.S
MdePkg/Library/BaseLib/Ia32/DisableCache.S
MdePkg/Library/BaseLib/Ia32/DisableInterrupts.S
MdePkg/Library/BaseLib/Ia32/DisablePaging32.S
MdePkg/Library/BaseLib/Ia32/DivU64x32.S
MdePkg/Library/BaseLib/Ia32/DivU64x32Remainder.S
MdePkg/Library/BaseLib/Ia32/DivU64x64Remainder.S
MdePkg/Library/BaseLib/Ia32/EnableCache.S
MdePkg/Library/BaseLib/Ia32/EnableDisableInterrupts.S
MdePkg/Library/BaseLib/Ia32/EnableInterrupts.S
MdePkg/Library/BaseLib/Ia32/EnablePaging32.S
MdePkg/Library/BaseLib/Ia32/EnablePaging64.S
MdePkg/Library/BaseLib/Ia32/FlushCacheLine.S
MdePkg/Library/BaseLib/Ia32/FxRestore.S
MdePkg/Library/BaseLib/Ia32/FxSave.S
MdePkg/Library/BaseLib/Ia32/Invd.S
MdePkg/Library/BaseLib/Ia32/LRotU64.S
MdePkg/Library/BaseLib/Ia32/LShiftU64.S
MdePkg/Library/BaseLib/Ia32/LongJump.S
MdePkg/Library/BaseLib/Ia32/ModU64x32.S
MdePkg/Library/BaseLib/Ia32/Monitor.S
MdePkg/Library/BaseLib/Ia32/MultU64x32.S
MdePkg/Library/BaseLib/Ia32/MultU64x64.S
MdePkg/Library/BaseLib/Ia32/Mwait.S
MdePkg/Library/BaseLib/Ia32/RRotU64.S
MdePkg/Library/BaseLib/Ia32/RShiftU64.S
MdePkg/Library/BaseLib/Ia32/ReadCr0.S
MdePkg/Library/BaseLib/Ia32/ReadCr2.S
MdePkg/Library/BaseLib/Ia32/ReadCr3.S
MdePkg/Library/BaseLib/Ia32/ReadCr4.S
MdePkg/Library/BaseLib/Ia32/ReadCs.S
MdePkg/Library/BaseLib/Ia32/ReadDr0.S
MdePkg/Library/BaseLib/Ia32/ReadDr1.S
MdePkg/Library/BaseLib/Ia32/ReadDr2.S
MdePkg/Library/BaseLib/Ia32/ReadDr3.S
MdePkg/Library/BaseLib/Ia32/ReadDr4.S
MdePkg/Library/BaseLib/Ia32/ReadDr5.S
MdePkg/Library/BaseLib/Ia32/ReadDr6.S
MdePkg/Library/BaseLib/Ia32/ReadDr7.S
MdePkg/Library/BaseLib/Ia32/ReadDs.S
MdePkg/Library/BaseLib/Ia32/ReadEflags.S
MdePkg/Library/BaseLib/Ia32/ReadEs.S
MdePkg/Library/BaseLib/Ia32/ReadFs.S
MdePkg/Library/BaseLib/Ia32/ReadGdtr.S
MdePkg/Library/BaseLib/Ia32/ReadGs.S
MdePkg/Library/BaseLib/Ia32/ReadIdtr.S
MdePkg/Library/BaseLib/Ia32/ReadLdtr.S
MdePkg/Library/BaseLib/Ia32/ReadMm0.S
MdePkg/Library/BaseLib/Ia32/ReadMm1.S
MdePkg/Library/BaseLib/Ia32/ReadMm2.S
MdePkg/Library/BaseLib/Ia32/ReadMm3.S
MdePkg/Library/BaseLib/Ia32/ReadMm4.S
MdePkg/Library/BaseLib/Ia32/ReadMm5.S
MdePkg/Library/BaseLib/Ia32/ReadMm6.S
MdePkg/Library/BaseLib/Ia32/ReadMm7.S
MdePkg/Library/BaseLib/Ia32/ReadMsr64.S
MdePkg/Library/BaseLib/Ia32/ReadPmc.S
MdePkg/Library/BaseLib/Ia32/ReadSs.S
MdePkg/Library/BaseLib/Ia32/ReadTr.S
MdePkg/Library/BaseLib/Ia32/ReadTsc.S
MdePkg/Library/BaseLib/Ia32/SetJump.S
MdePkg/Library/BaseLib/Ia32/SwapBytes64.S
MdePkg/Library/BaseLib/Ia32/Thunk16.S
MdePkg/Library/BaseLib/Ia32/Wbinvd.S
MdePkg/Library/BaseLib/Ia32/WriteCr0.S
MdePkg/Library/BaseLib/Ia32/WriteCr2.S
MdePkg/Library/BaseLib/Ia32/WriteCr3.S
MdePkg/Library/BaseLib/Ia32/WriteCr4.S
MdePkg/Library/BaseLib/Ia32/WriteDr0.S
MdePkg/Library/BaseLib/Ia32/WriteDr1.S
MdePkg/Library/BaseLib/Ia32/WriteDr2.S
MdePkg/Library/BaseLib/Ia32/WriteDr3.S
MdePkg/Library/BaseLib/Ia32/WriteDr4.S
MdePkg/Library/BaseLib/Ia32/WriteDr5.S
MdePkg/Library/BaseLib/Ia32/WriteDr6.S
MdePkg/Library/BaseLib/Ia32/WriteDr7.S
MdePkg/Library/BaseLib/Ia32/WriteGdtr.S
MdePkg/Library/BaseLib/Ia32/WriteIdtr.S
MdePkg/Library/BaseLib/Ia32/WriteLdtr.S
MdePkg/Library/BaseLib/Ia32/WriteMm0.S
MdePkg/Library/BaseLib/Ia32/WriteMm1.S
MdePkg/Library/BaseLib/Ia32/WriteMm2.S
MdePkg/Library/BaseLib/Ia32/WriteMm3.S
MdePkg/Library/BaseLib/Ia32/WriteMm4.S
MdePkg/Library/BaseLib/Ia32/WriteMm5.S
MdePkg/Library/BaseLib/Ia32/WriteMm6.S
MdePkg/Library/BaseLib/Ia32/WriteMm7.S
MdePkg/Library/BaseLib/Ia32/WriteMsr64.S
MdePkg/Library/BaseLib/Ipf/SetJmp.s
MdePkg/Library/BaseLib/X64/DisableCache.S
MdePkg/Library/BaseLib/X64/EnableCache.S
MdePkg/Library/BaseLib/X64/Thunk16.S
MdePkg/Library/BaseMemoryLibMmx/Ia32/CompareMem.S
MdePkg/Library/BaseMemoryLibMmx/Ia32/CopyMem.S
MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem16.S
MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem32.S
MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem64.S
MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem8.S
MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem.S
MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem16.S
MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem32.S
MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem64.S
MdePkg/Library/BaseMemoryLibMmx/Ia32/ZeroMem.S
MdePkg/Library/BaseMemoryLibMmx/X64/CompareMem.S
MdePkg/Library/BaseMemoryLibMmx/X64/CopyMem.S
MdePkg/Library/BaseMemoryLibMmx/X64/ScanMem16.S
MdePkg/Library/BaseMemoryLibMmx/X64/ScanMem32.S
MdePkg/Library/BaseMemoryLibMmx/X64/ScanMem64.S
MdePkg/Library/BaseMemoryLibMmx/X64/ScanMem8.S
MdePkg/Library/BaseMemoryLibMmx/X64/SetMem.S
MdePkg/Library/BaseMemoryLibMmx/X64/SetMem16.S
MdePkg/Library/BaseMemoryLibMmx/X64/SetMem32.S
MdePkg/Library/BaseMemoryLibMmx/X64/SetMem64.S
MdePkg/Library/BaseMemoryLibMmx/X64/ZeroMem.S
MdePkg/Library/BaseMemoryLibOptDxe/Ia32/CompareMem.S
MdePkg/Library/BaseMemoryLibOptDxe/Ia32/CopyMem.S
MdePkg/Library/BaseMemoryLibOptDxe/Ia32/ScanMem16.S
MdePkg/Library/BaseMemoryLibOptDxe/Ia32/ScanMem32.S
MdePkg/Library/BaseMemoryLibOptDxe/Ia32/ScanMem64.S
MdePkg/Library/BaseMemoryLibOptDxe/Ia32/ScanMem8.S
MdePkg/Library/BaseMemoryLibOptDxe/Ia32/SetMem.S
MdePkg/Library/BaseMemoryLibOptDxe/Ia32/SetMem16.S
MdePkg/Library/BaseMemoryLibOptDxe/Ia32/SetMem32.S
MdePkg/Library/BaseMemoryLibOptDxe/Ia32/SetMem64.S
MdePkg/Library/BaseMemoryLibOptDxe/Ia32/ZeroMem.S
MdePkg/Library/BaseMemoryLibOptDxe/X64/CompareMem.S
MdePkg/Library/BaseMemoryLibOptDxe/X64/CopyMem.S
MdePkg/Library/BaseMemoryLibOptDxe/X64/ScanMem16.S
MdePkg/Library/BaseMemoryLibOptDxe/X64/ScanMem32.S
MdePkg/Library/BaseMemoryLibOptDxe/X64/ScanMem64.S
MdePkg/Library/BaseMemoryLibOptDxe/X64/ScanMem8.S
MdePkg/Library/BaseMemoryLibOptDxe/X64/SetMem.S
MdePkg/Library/BaseMemoryLibOptDxe/X64/SetMem16.S
MdePkg/Library/BaseMemoryLibOptDxe/X64/SetMem32.S
MdePkg/Library/BaseMemoryLibOptDxe/X64/SetMem64.S
MdePkg/Library/BaseMemoryLibOptDxe/X64/ZeroMem.S
MdePkg/Library/BaseMemoryLibOptPei/Ia32/CompareMem.S
MdePkg/Library/BaseMemoryLibOptPei/Ia32/CopyMem.S
MdePkg/Library/BaseMemoryLibOptPei/Ia32/ScanMem16.S
MdePkg/Library/BaseMemoryLibOptPei/Ia32/ScanMem32.S
MdePkg/Library/BaseMemoryLibOptPei/Ia32/ScanMem64.S
MdePkg/Library/BaseMemoryLibOptPei/Ia32/ScanMem8.S
MdePkg/Library/BaseMemoryLibOptPei/Ia32/SetMem.S
MdePkg/Library/BaseMemoryLibOptPei/Ia32/SetMem16.S
MdePkg/Library/BaseMemoryLibOptPei/Ia32/SetMem32.S
MdePkg/Library/BaseMemoryLibOptPei/Ia32/SetMem64.S
MdePkg/Library/BaseMemoryLibOptPei/Ia32/ZeroMem.S
MdePkg/Library/BaseMemoryLibOptPei/X64/CompareMem.S
MdePkg/Library/BaseMemoryLibOptPei/X64/CopyMem.S
MdePkg/Library/BaseMemoryLibOptPei/X64/ScanMem16.S
MdePkg/Library/BaseMemoryLibOptPei/X64/ScanMem32.S
MdePkg/Library/BaseMemoryLibOptPei/X64/ScanMem64.S
MdePkg/Library/BaseMemoryLibOptPei/X64/ScanMem8.S
MdePkg/Library/BaseMemoryLibOptPei/X64/SetMem.S
MdePkg/Library/BaseMemoryLibOptPei/X64/SetMem16.S
MdePkg/Library/BaseMemoryLibOptPei/X64/SetMem32.S
MdePkg/Library/BaseMemoryLibOptPei/X64/SetMem64.S
MdePkg/Library/BaseMemoryLibOptPei/X64/ZeroMem.S
MdePkg/Library/BaseMemoryLibRepStr/Ia32/CompareMem.S
MdePkg/Library/BaseMemoryLibRepStr/Ia32/CopyMem.S
MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem16.S
MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem32.S
MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem64.S
MdePkg/Library/BaseMemoryLibRepStr/Ia32/ScanMem8.S
MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem.S
MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem16.S
MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem32.S
MdePkg/Library/BaseMemoryLibRepStr/Ia32/SetMem64.S
MdePkg/Library/BaseMemoryLibRepStr/Ia32/ZeroMem.S
MdePkg/Library/BaseMemoryLibRepStr/X64/CompareMem.S
MdePkg/Library/BaseMemoryLibRepStr/X64/CopyMem.S
MdePkg/Library/BaseMemoryLibRepStr/X64/ScanMem16.S
MdePkg/Library/BaseMemoryLibRepStr/X64/ScanMem32.S
MdePkg/Library/BaseMemoryLibRepStr/X64/ScanMem64.S
MdePkg/Library/BaseMemoryLibRepStr/X64/ScanMem8.S
MdePkg/Library/BaseMemoryLibRepStr/X64/SetMem.S
MdePkg/Library/BaseMemoryLibRepStr/X64/SetMem16.S
MdePkg/Library/BaseMemoryLibRepStr/X64/SetMem32.S
MdePkg/Library/BaseMemoryLibRepStr/X64/SetMem64.S
MdePkg/Library/BaseMemoryLibRepStr/X64/ZeroMem.S
MdePkg/Library/BaseMemoryLibSse2/Ia32/CompareMem.S
MdePkg/Library/BaseMemoryLibSse2/Ia32/CopyMem.S
MdePkg/Library/BaseMemoryLibSse2/Ia32/ScanMem16.S
MdePkg/Library/BaseMemoryLibSse2/Ia32/ScanMem32.S
MdePkg/Library/BaseMemoryLibSse2/Ia32/ScanMem64.S
MdePkg/Library/BaseMemoryLibSse2/Ia32/ScanMem8.S
MdePkg/Library/BaseMemoryLibSse2/Ia32/SetMem.S
MdePkg/Library/BaseMemoryLibSse2/Ia32/SetMem16.S
MdePkg/Library/BaseMemoryLibSse2/Ia32/SetMem32.S
MdePkg/Library/BaseMemoryLibSse2/Ia32/SetMem64.S
MdePkg/Library/BaseMemoryLibSse2/Ia32/ZeroMem.S
MdePkg/Library/BaseMemoryLibSse2/X64/CompareMem.S
MdePkg/Library/BaseMemoryLibSse2/X64/CopyMem.S
MdePkg/Library/BaseMemoryLibSse2/X64/ScanMem16.S
MdePkg/Library/BaseMemoryLibSse2/X64/ScanMem32.S
MdePkg/Library/BaseMemoryLibSse2/X64/ScanMem64.S
MdePkg/Library/BaseMemoryLibSse2/X64/ScanMem8.S
MdePkg/Library/BaseMemoryLibSse2/X64/SetMem.S
MdePkg/Library/BaseMemoryLibSse2/X64/SetMem16.S
MdePkg/Library/BaseMemoryLibSse2/X64/SetMem32.S
MdePkg/Library/BaseMemoryLibSse2/X64/SetMem64.S
MdePkg/Library/BaseMemoryLibSse2/X64/ZeroMem.S
MdePkg/Library/BaseSynchronizationLib/Ia32/InterlockedCompareExchange32.S
MdePkg/Library/BaseSynchronizationLib/Ia32/InterlockedCompareExchange64.S
MdePkg/Library/BaseSynchronizationLib/Ia32/InterlockedDecrement.S
MdePkg/Library/BaseSynchronizationLib/Ia32/InterlockedIncrement.S
UnixPkg/Sec/Stack.S

index a152b5033ce604e9d3dfb60e9be8cfe6911a2f49..cf39bd6eb2a707630b889ddbda49d10250dbceac 100644 (file)
@@ -18,8 +18,8 @@
 \r
 \r
     .align  8\r
-    .globl  ASM_PFX(AsmGetVectorTemplatInfo)\r
-    .globl     ASM_PFX(AsmVectorFixup)\r
+    ASM_GLOBAL  ASM_PFX(AsmGetVectorTemplatInfo)\r
+    ASM_GLOBAL         ASM_PFX(AsmVectorFixup)\r
 /*\r
 ;\r
 ;-----------------------------------------------------------------------\r
index 03fc6c98baa680fc8dbe061817591a12f4f4ffbf..671c8dbdf34603d59a000e0159e4b177259a4367 100644 (file)
 #\r
 #**/\r
 \r
-.globl ASM_PFX(OrigVector)\r
-.globl ASM_PFX(InterruptEntryStub)\r
-.globl ASM_PFX(StubSize)\r
-.globl ASM_PFX(CommonIdtEntry)\r
-.globl ASM_PFX(FxStorSupport)\r
+ASM_GLOBAL ASM_PFX(OrigVector)\r
+ASM_GLOBAL ASM_PFX(InterruptEntryStub)\r
+ASM_GLOBAL ASM_PFX(StubSize)\r
+ASM_GLOBAL ASM_PFX(CommonIdtEntry)\r
+ASM_GLOBAL ASM_PFX(FxStorSupport)\r
 \r
 ASM_PFX(StubSize):       .long   ASM_PFX(InterruptEntryStubEnd) - ASM_PFX(InterruptEntryStub)\r
 ASM_PFX(AppEsp):         .long   0x11111111 # ?\r
@@ -34,7 +34,7 @@ ASM_PFX(OrigVector):     .long   0x66666666 # ?
 #\r
 # Abstract: Returns TRUE if FxStor instructions are supported\r
 #\r
-.globl ASM_PFX(FxStorSupport)\r
+ASM_GLOBAL ASM_PFX(FxStorSupport)\r
 ASM_PFX(FxStorSupport):\r
 #\r
 # cpuid corrupts ebx which must be preserved per the C calling convention\r
@@ -57,7 +57,7 @@ ASM_PFX(FxStorSupport):
 # Abstract: Encodes an IDT descriptor with the given physical address\r
 #\r
 \r
-.globl ASM_PFX(Vect2Desc)\r
+ASM_GLOBAL ASM_PFX(Vect2Desc)\r
 ASM_PFX(Vect2Desc):\r
         push   %ebp\r
         mov    %esp,%ebp\r
@@ -71,13 +71,13 @@ ASM_PFX(Vect2Desc):
         leave\r
         ret\r
 \r
-.globl ASM_PFX(InterruptEntryStub)\r
+ASM_GLOBAL ASM_PFX(InterruptEntryStub)\r
 ASM_PFX(InterruptEntryStub):\r
         mov    %esp,0x0                    # save stack top\r
         mov    $0x0,%esp                   # switch to debugger stack\r
         push   $0x0                        # push vector number - will be modified before installed\r
         jmp    ASM_PFX(CommonIdtEntry)     # jump CommonIdtEntry\r
-.globl ASM_PFX(InterruptEntryStubEnd)\r
+ASM_GLOBAL ASM_PFX(InterruptEntryStubEnd)\r
 ASM_PFX(InterruptEntryStubEnd):\r
 \r
 #------------------------------------------------------------------------------\r
@@ -86,7 +86,7 @@ ASM_PFX(InterruptEntryStubEnd):
 # Abstract: This code is not a function, but is the common part for all IDT\r
 #               vectors.\r
 #\r
-.globl ASM_PFX(CommonIdtEntry)\r
+ASM_GLOBAL ASM_PFX(CommonIdtEntry)\r
 ASM_PFX(CommonIdtEntry):\r
 ##\r
 ## At this point, the stub has saved the current application stack esp into AppEsp\r
index aa497707c413f999dd5190ac4e3f0d30f2149f95..fc744c9268a42e7493502c4843c915c90db0e2d4 100644 (file)
 #include "Common.i"\r
 #include "Ds64Macros.i"\r
 \r
-.globl PatchSaveBuffer\r
-.globl IpfContextBuf\r
-.globl CommonHandler\r
-.globl ExternalInterruptCount\r
+ASM_GLOBAL PatchSaveBuffer\r
+ASM_GLOBAL IpfContextBuf\r
+ASM_GLOBAL CommonHandler\r
+ASM_GLOBAL ExternalInterruptCount\r
 \r
 \r
 /////////////////////////////////////////////\r
@@ -30,7 +30,7 @@
 //  Description:\r
 //      Flushes instruction cache for specified number of bytes\r
 //\r
-        .globl InstructionCacheFlush\r
+        ASM_GLOBAL InstructionCacheFlush\r
         .proc   InstructionCacheFlush\r
         .align 32\r
 InstructionCacheFlush::\r
@@ -158,7 +158,7 @@ LoopBack:   // $L143:
 //       Notes:\r
 //\r
 //\r
-        .globl ChainHandler\r
+        ASM_GLOBAL ChainHandler\r
         .proc ChainHandler\r
 ChainHandler:\r
 \r
@@ -233,7 +233,7 @@ ChainHandlerDone:
 //  Notes:\r
 //\r
 //\r
-        .globl UnchainHandler\r
+        ASM_GLOBAL UnchainHandler\r
         .proc UnchainHandler\r
 \r
 UnchainHandler:\r
@@ -666,7 +666,7 @@ SetSlotDone:
 //  Returns:\r
 //      Current value if IVA\r
 \r
-        .globl     GetIva\r
+        ASM_GLOBAL     GetIva\r
         .proc       GetIva\r
 GetIva:\r
         mov         r8=cr2;;\r
@@ -686,7 +686,7 @@ GetIva:
 //  Returns:\r
 //      Previous state of psr.ic\r
 //\r
-        .globl     ProgramInterruptFlags\r
+        ASM_GLOBAL     ProgramInterruptFlags\r
         .proc       ProgramInterruptFlags\r
 ProgramInterruptFlags:\r
         alloc       loc0=1,2,0,0;;\r
@@ -1272,7 +1272,7 @@ EndHookHandler:
 //      Saves IVT index to SCRATCH_REG1 (immediate value is fixed up when code is copied\r
 //          to the IVT entry.\r
 \r
-        .globl HookStub\r
+        ASM_GLOBAL HookStub\r
         .proc   HookStub\r
 HookStub:\r
 \r
index 7c854c1c888ba9ea710836b02084f127f2d72a48..44efd231fb6adf69b0c19599c3f4455c23dc0f5f 100644 (file)
 \r
 .intel_syntax noprefix\r
 \r
-.globl ASM_PFX(OrigVector)\r
-.globl ASM_PFX(InterruptEntryStub)\r
-.globl ASM_PFX(StubSize)\r
-.globl ASM_PFX(CommonIdtEntry)\r
-.globl ASM_PFX(FxStorSupport)\r
+ASM_GLOBAL ASM_PFX(OrigVector)\r
+ASM_GLOBAL ASM_PFX(InterruptEntryStub)\r
+ASM_GLOBAL ASM_PFX(StubSize)\r
+ASM_GLOBAL ASM_PFX(CommonIdtEntry)\r
+ASM_GLOBAL ASM_PFX(FxStorSupport)\r
      \r
 .data \r
 \r
@@ -94,7 +94,7 @@ DebugStackBegin : .ascii    "<<<< DbgStkBegin"   # initial debug ESP == DebugSta
 #\r
 # Abstract: Returns TRUE if FxStor instructions are supported\r
 #\r
-.globl ASM_PFX(FxStorSupport)\r
+ASM_GLOBAL ASM_PFX(FxStorSupport)\r
 ASM_PFX(FxStorSupport):  \r
 #\r
 # cpuid corrupts rbx which must be preserved per the C calling convention\r
@@ -116,7 +116,7 @@ ASM_PFX(FxStorSupport):
 #\r
 # Abstract: Encodes an IDT descriptor with the given physical address\r
 #\r
-.globl ASM_PFX(Vect2Desc)\r
+ASM_GLOBAL ASM_PFX(Vect2Desc)\r
 ASM_PFX(Vect2Desc):\r
                 mov     rax, rdx\r
                 mov     word ptr [rcx], ax                  # write bits 15..0 of offset\r
@@ -136,13 +136,13 @@ ASM_PFX(Vect2Desc):
 # Abstract: This code is not a function, but is a small piece of code that is\r
 #               copied and fixed up once for each IDT entry that is hooked.\r
 #\r
-.globl ASM_PFX(InterruptEntryStub)\r
+ASM_GLOBAL ASM_PFX(InterruptEntryStub)\r
 ASM_PFX(InterruptEntryStub):\r
 \r
                 push    0                       # push vector number - will be modified before installed\r
                 jmp     ASM_PFX(CommonIdtEntry)\r
                 \r
-.globl ASM_PFX(InterruptEntryStubEnd)\r
+ASM_GLOBAL ASM_PFX(InterruptEntryStubEnd)\r
 ASM_PFX(InterruptEntryStubEnd):\r
 \r
 #------------------------------------------------------------------------------\r
@@ -151,7 +151,7 @@ ASM_PFX(InterruptEntryStubEnd):
 # Abstract: This code is not a function, but is the common part for all IDT\r
 #               vectors.\r
 #\r
-.globl ASM_PFX(CommonIdtEntry)\r
+ASM_GLOBAL ASM_PFX(CommonIdtEntry)\r
 ##\r
 ## At this point, the stub has saved the current application stack esp into AppRsp\r
 ## and switched stacks to the debug stack, where it pushed the vector number\r
index add2f4967070565369d6208318174d54d7e940d3..8b787143b5e3354bb3eafda9a61c2f61b13866da 100644 (file)
@@ -13,9 +13,9 @@
 #  \r
 #**/\r
 \r
-.globl ASM_PFX(CopyMem)\r
+ASM_GLOBAL ASM_PFX(CopyMem)\r
 \r
-.globl ASM_PFX(EbcLLCALLEXNative)\r
+ASM_GLOBAL ASM_PFX(EbcLLCALLEXNative)\r
 ASM_PFX(EbcLLCALLEXNative):\r
          push   %ebp\r
          push   %ebx\r
@@ -42,16 +42,16 @@ ASM_PFX(EbcLLCALLEXNative):
          pop    %ebp\r
          ret\r
 \r
-.globl ASM_PFX(EbcLLGetEbcEntryPoint)\r
+ASM_GLOBAL ASM_PFX(EbcLLGetEbcEntryPoint)\r
 ASM_PFX(EbcLLGetEbcEntryPoint):\r
         ret\r
 \r
-.globl ASM_PFX(EbcLLGetStackPointer)\r
+ASM_GLOBAL ASM_PFX(EbcLLGetStackPointer)\r
 ASM_PFX(EbcLLGetStackPointer):\r
         mov    %esp,%eax\r
         add    $0x4,%eax\r
         ret\r
 \r
-.globl ASM_PFX(EbcLLGetReturnValue)\r
+ASM_GLOBAL ASM_PFX(EbcLLGetReturnValue)\r
 ASM_PFX(EbcLLGetReturnValue):\r
         ret\r
index f8b1cdc7eef0cc01ee099a6676f1d5e5a39f0515..9db5786728b72f70119352282329d25c2396a39c 100644 (file)
@@ -20,7 +20,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(CpuFlushTlb)\r
+ASM_GLOBAL ASM_PFX(CpuFlushTlb)\r
 \r
 #------------------------------------------------------------------------------\r
 # VOID\r
index ac39e8fcba395eb8bd9ebf9e50ed72a956ad278f..c38195a3a8be9578034e0941fb740b9fdb29489b 100644 (file)
@@ -20,7 +20,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(CpuSleep)\r
+ASM_GLOBAL ASM_PFX(CpuSleep)\r
 \r
 #------------------------------------------------------------------------------\r
 # VOID\r
index 5546990992edb3c00defd452f931827aada534c0..bc918e1a3496d945b2686851827d3a7a71613a5b 100644 (file)
@@ -17,7 +17,7 @@
 .auto\r
 .text\r
 \r
-.globl PalCall\r
+ASM_GLOBAL PalCall\r
 .type   PalCall, @function\r
 \r
 .proc   CpuFlushTlb\r
index 042ebd4cad2774b871346b2fee6407070863196f..03c45ba0114a94454bfe6c83e8c2a8f6e9f119bf 100644 (file)
@@ -19,7 +19,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMathARShiftU64)\r
+ASM_GLOBAL ASM_PFX(InternalMathARShiftU64)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINT64\r
index 693045c6fa06b167bd014b4dd52b2ddde120739b..9530ccb9d6da5df14ecf6634a3f0c7696bd92732 100644 (file)
@@ -20,7 +20,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(CpuBreakpoint)\r
+ASM_GLOBAL ASM_PFX(CpuBreakpoint)\r
 \r
 #------------------------------------------------------------------------------\r
 # VOID\r
index 86f001c22dd0dbf3be62eb9c939b6c99b2320b50..2865ec5142c6b27b3f4f925ea4811347c6121b5e 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl  ASM_PFX(AsmCpuid)\r
+ASM_GLOBAL  ASM_PFX(AsmCpuid)\r
 \r
 #------------------------------------------------------------------------------\r
 #  VOID\r
index 62ee83c4aced9692fe077b1e6a1e3386503ef992..2e1f9869b101a020a0d049cd617e89d5bb89abc9 100644 (file)
@@ -36,7 +36,7 @@
 #    OUT  UINT32  *RegisterOutEdx  OPTIONAL\r
 #    )\r
 #------------------------------------------------------------------------------\r
-.globl ASM_PFX(AsmCpuidEx)\r
+ASM_GLOBAL ASM_PFX(AsmCpuidEx)\r
 ASM_PFX(AsmCpuidEx):\r
     push    %ebx\r
     push    %ebp\r
index c29dcf34cb73b9ad6114ed4726e1663b52cd991e..60aa79c233f7ae14eeafda53baff944c9832bc4d 100644 (file)
@@ -20,7 +20,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(CpuPause)\r
+ASM_GLOBAL ASM_PFX(CpuPause)\r
 \r
 #------------------------------------------------------------------------------\r
 # VOID\r
index b11245e519755d360e2f6847c6ac3a4e699d4a4c..215d8887d2fd2c1d4b0e3741ee93fec3a2cbb8c6 100644 (file)
@@ -29,7 +29,7 @@
 #   VOID\r
 #   );\r
 #------------------------------------------------------------------------------\r
-.globl ASM_PFX(AsmDisableCache)\r
+ASM_GLOBAL ASM_PFX(AsmDisableCache)\r
 ASM_PFX(AsmDisableCache):\r
     movl    %cr0, %eax\r
     btsl    $30, %eax\r
index 137177961668fa80c13f9ab0e5904f9435d22b3e..560185cd0e33c1bf993a414524ac051f989da28f 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(DisableInterrupts)\r
+ASM_GLOBAL ASM_PFX(DisableInterrupts)\r
 \r
 #------------------------------------------------------------------------------\r
 # VOID\r
index d7aeec50cf83bde7da8afdc8ea29e88372757c47..9fd1251575a9129ab7c5187065deaa99e7144165 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalX86DisablePaging32)\r
+ASM_GLOBAL ASM_PFX(InternalX86DisablePaging32)\r
 \r
 #------------------------------------------------------------------------------\r
 # VOID\r
index d679eafe700c0eef99da9bc484f2a186c523d53c..3b3ec044f596a8473087454f4176fd24b3192436 100644 (file)
@@ -19,7 +19,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMathDivU64x32)\r
+ASM_GLOBAL ASM_PFX(InternalMathDivU64x32)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINT64\r
index 87ca05357ab14959c4365116ecafddebfbd58068..4dcc3f0d0a2c559892f9381cf4d1d2311026e606 100644 (file)
@@ -19,7 +19,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMathDivRemU64x32)\r
+ASM_GLOBAL ASM_PFX(InternalMathDivRemU64x32)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINT64\r
index b78697c73e41545819b528154535809dd79c9241..e87bb77fbc066d794bc7bd6470396f3234fbf983 100644 (file)
@@ -20,7 +20,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMathDivRemU64x32), ASM_PFX(InternalMathDivRemU64x64)\r
+ASM_GLOBAL ASM_PFX(InternalMathDivRemU64x32), ASM_PFX(InternalMathDivRemU64x64)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINT64\r
index bdb4bdbdb38e6f6bec79251e6ed7bd49cd5759c1..c6f5ff8338c617fb5cbd359213f3047604dba74d 100644 (file)
@@ -29,7 +29,7 @@
 #   VOID\r
 #   );\r
 #------------------------------------------------------------------------------\r
-.globl ASM_PFX(AsmEnableCache)\r
+ASM_GLOBAL ASM_PFX(AsmEnableCache)\r
 ASM_PFX(AsmEnableCache):\r
     wbinvd\r
     movl    %cr0, %eax\r
index 13307597a07214f3bced848e45b73f3a8bc0b348..10a471f09b1a353bb6435c2ad466c74dc23a748e 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(EnableDisableInterrupts)\r
+ASM_GLOBAL ASM_PFX(EnableDisableInterrupts)\r
 \r
 #------------------------------------------------------------------------------\r
 # VOID\r
index d4b8f59db8640a7c99b88d6bb5ed4af00d55eb36..db062d973edd0ed1e2ecff783dfd602f009aed37 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(EnableInterrupts)\r
+ASM_GLOBAL ASM_PFX(EnableInterrupts)\r
 \r
 #------------------------------------------------------------------------------\r
 # VOID\r
index caecf8b0df694db02eaf7fe75fa93cb89cdc0ac9..2afc12f86f07f248eff3eeee28b95288eaca1273 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalX86EnablePaging32)\r
+ASM_GLOBAL ASM_PFX(InternalX86EnablePaging32)\r
 \r
 #------------------------------------------------------------------------------\r
 # VOID\r
index ce9d3eb2d95aee001fb2e40e40df0962f19bf274..06753afd13938cbc0ba4595b54c4e75858c68ebe 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalX86EnablePaging64)\r
+ASM_GLOBAL ASM_PFX(InternalX86EnablePaging64)\r
 \r
 #------------------------------------------------------------------------------\r
 # VOID\r
index b6bdb64a666b3a3d4f6cddc9920baa14675476db..95eb0a62f771d13be3e62a2ac8498b0fbb9c508d 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(AsmFlushCacheLine)\r
+ASM_GLOBAL ASM_PFX(AsmFlushCacheLine)\r
 \r
 #------------------------------------------------------------------------------\r
 # VOID\r
index bda14dd15eb43235259c794a30d1b48722c74fea..73960c7cfdd36f3a2cda7a9563bed36400425aba 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalX86FxRestore)\r
+ASM_GLOBAL ASM_PFX(InternalX86FxRestore)\r
 \r
 #------------------------------------------------------------------------------\r
 # VOID\r
index b5c107f3bafcd338dd1e6ded75c8e553e3d75f37..7d6b379b6d3c401e701479fd39f01d9979150e65 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalX86FxSave)\r
+ASM_GLOBAL ASM_PFX(InternalX86FxSave)\r
 \r
 #------------------------------------------------------------------------------\r
 # VOID\r
index e124fe84aa02132d81bf5cd6df4d7c7fc55397cc..25c59bcb1b7675b7092bf2a2adfb954cbab21f28 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(AsmInvd)\r
+ASM_GLOBAL ASM_PFX(AsmInvd)\r
 \r
 #------------------------------------------------------------------------------\r
 # VOID\r
index 615ff8146afa02140835ddf61339c9f9f13a6691..246115dce693145a5c79eb5063a67813db362702 100644 (file)
@@ -19,7 +19,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMathLRotU64)\r
+ASM_GLOBAL ASM_PFX(InternalMathLRotU64)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINT64\r
index dc99c8bb618649e2969a6341ab330cdcaba72d3d..f36b4fb775e280b18cc742ac253c813f530549a6 100644 (file)
@@ -19,7 +19,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMathLShiftU64)\r
+ASM_GLOBAL ASM_PFX(InternalMathLShiftU64)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINT64\r
index ba224565128b0d1f416fe5fe598056ada3992890..d04e1fdcd10c54f5e9661ed32a9b470784fb09c3 100644 (file)
@@ -19,7 +19,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalLongJump)\r
+ASM_GLOBAL ASM_PFX(InternalLongJump)\r
 \r
 #------------------------------------------------------------------------------\r
 # VOID\r
index 00dc6a08ab79b8b95c63c5117145b85d5a3dcd90..40787c912b418d974a85bafcc3a157c536ad5e19 100644 (file)
@@ -19,7 +19,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMathModU64x32)\r
+ASM_GLOBAL ASM_PFX(InternalMathModU64x32)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINT32\r
index 48a87a1985d9edfe6a6a35d33229afc80b2f885f..94f1f98f440c62682c15a240c1e5f62131a21db9 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(AsmMonitor)\r
+ASM_GLOBAL ASM_PFX(AsmMonitor)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINT64\r
index 857eeb27d7ac256aeb38e5c4b5a2e78278d9c687..9dbeae36beb21ab08bd9c1a6631ce094a858b404 100644 (file)
@@ -22,7 +22,7 @@
     .386:\r
     .code:\r
 \r
-.globl ASM_PFX(InternalMathMultU64x32)\r
+ASM_GLOBAL ASM_PFX(InternalMathMultU64x32)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINT64\r
index 8dbae8b1a9be2fb9eef477e0f0d4a7dc875298a1..d984f0e02297a3bef69e54289236215aa95affde 100644 (file)
@@ -19,7 +19,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMathMultU64x64)\r
+ASM_GLOBAL ASM_PFX(InternalMathMultU64x64)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINT64\r
index 9fd1efd0c9b58ddbc0a580618c12bec6884774ad..fc776166ea5177e22182f4a9ed6869d760ff6f24 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(AsmMwait)\r
+ASM_GLOBAL ASM_PFX(AsmMwait)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINT64\r
index cc5807648aa3e9164a2b9c5cd324ea63052a2e07..4b7225b0e33cc61d67060e1f58618aa01d7a0552 100644 (file)
@@ -19,7 +19,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMathRRotU64)\r
+ASM_GLOBAL ASM_PFX(InternalMathRRotU64)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINT64\r
index 1e747d43a0666626c44b31e3fa39f564027c67da..e97f7f47bbef6f0b9440a1292dafb052b6266b25 100644 (file)
@@ -22,7 +22,7 @@
     .686:\r
     .code:\r
 \r
-.globl ASM_PFX(InternalMathRShiftU64)\r
+ASM_GLOBAL ASM_PFX(InternalMathRShiftU64)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINT64\r
index 60b1294046f81ef1688309fa8337b6471b46aa6c..7a3f1d4d838acf1ca857ce8683e96ff4c5156881 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(AsmReadCr0)\r
+ASM_GLOBAL ASM_PFX(AsmReadCr0)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINTN\r
index bf691dc5d0659bd333078eb28d8328558b041172..faf576b4ee22003496ea2c9469264a9909e56515 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(AsmReadCr2)\r
+ASM_GLOBAL ASM_PFX(AsmReadCr2)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINTN\r
index 33503c7dd769a55fe1f62f41e59be62db0bcc0d6..49a9b8325acc9b2438d9b45123842debe5dd1337 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(AsmReadCr3)\r
+ASM_GLOBAL ASM_PFX(AsmReadCr3)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINTN\r
index 1ca95953520439f14607d73667dbe92d80f7cdc0..77dd05b17941e60c8bcee634fc784b20206b8b4f 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(AsmReadCr4)\r
+ASM_GLOBAL ASM_PFX(AsmReadCr4)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINTN\r
index 6a56c25106bc63deaf1b882f15e22395904de522..c706cacaabb41bda032ff9837a55efe2def243ce 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(AsmReadCs)\r
+ASM_GLOBAL ASM_PFX(AsmReadCs)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINT16\r
index 1713a73b6c2dc9e3ce60b78761ffcc1d36c50019..4db6d0fd34b7b484138556a6c33307c331f07022 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(AsmReadDr0)\r
+ASM_GLOBAL ASM_PFX(AsmReadDr0)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINTN\r
index c57ab052f77f2195e2229fdcf526e0eb42e7b0ce..f4f8aa8b77fbd2bc518dba0e017393963aad72ff 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(AsmReadDr1)\r
+ASM_GLOBAL ASM_PFX(AsmReadDr1)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINTN\r
index e5e825d5c1a187eb59170c61437bbeba025cc036..610e9e12efa2be9cc3617fea88eb74bb55b3d677 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(AsmReadDr2)\r
+ASM_GLOBAL ASM_PFX(AsmReadDr2)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINTN\r
index b63deae8a5bd88d65b637951c0a05e958435764f..5789ef1a7a22b5efde37cbe8d940007c8f98463d 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(AsmReadDr3)\r
+ASM_GLOBAL ASM_PFX(AsmReadDr3)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINTN\r
index 764e02f9237ea2f4326a2a7b77de0a8b42197f69..fd5b797976e206b2a73ccf22b337db97039c5b3a 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(AsmReadDr4)\r
+ASM_GLOBAL ASM_PFX(AsmReadDr4)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINTN\r
index e9a08b5f6176aeb694f9573042135b821859f0d1..d58d1c5fe258800a9fe386119fc9cbf8738afba2 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(AsmReadDr5)\r
+ASM_GLOBAL ASM_PFX(AsmReadDr5)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINTN\r
index da5dacad47346f4e7e6dc1042e5485992b1165ee..9d6630434a42b2a446166a923abc076f2b9eaa30 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(AsmReadDr6)\r
+ASM_GLOBAL ASM_PFX(AsmReadDr6)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINTN\r
index 4c95887370a9eb8c490f03529af728c978dbaa2d..0cec08d701382eb7e8739f7661f4d8f84cdcde4a 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(AsmReadDr7)\r
+ASM_GLOBAL ASM_PFX(AsmReadDr7)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINTN\r
index 29388b0df5aad822f13ac3e01b830ff05c11d4ad..f24961637a0e613bd57503bbb70a9df8a5b37580 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(AsmReadDs)\r
+ASM_GLOBAL ASM_PFX(AsmReadDs)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINT16\r
index 3fde96e61ddee37a3a271daef4791cc08d011af2..005d87eaf28787a44aafbe0294de22ee4888176f 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(AsmReadEflags)\r
+ASM_GLOBAL ASM_PFX(AsmReadEflags)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINTN\r
index 827d0df932cd4c5cf9dd0e9579941a605d9bee5c..33fded18cc21414ec1b3abaedd8f04501ccf448e 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(AsmReadEs)\r
+ASM_GLOBAL ASM_PFX(AsmReadEs)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINT16\r
index 7cb7db6f0246cbb4b5df2d8530154a8e8584009e..36d6b334d5d21ef7f0984f42c974f7a18bbd8cc1 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(AsmReadFs)\r
+ASM_GLOBAL ASM_PFX(AsmReadFs)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINT16\r
index 771f3378ceefc740ff8e85a8cbace1289b747ed7..0ab045e70fefc627d1b278e39b39e290ac3cd111 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalX86ReadGdtr)\r
+ASM_GLOBAL ASM_PFX(InternalX86ReadGdtr)\r
 \r
 #------------------------------------------------------------------------------\r
 # VOID\r
index 6169b9aa3c1eb3f48597a6d942d1fb6fdaddcd24..92eda1022826096331586053f55ff0d23665f853 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(AsmReadGs)\r
+ASM_GLOBAL ASM_PFX(AsmReadGs)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINT16\r
index fb8e61b031f7c29f1db627bb0199488233c59ddb..85fe9c1ae19c17c722b0a86a4be01b00e4fd27e8 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalX86ReadIdtr)\r
+ASM_GLOBAL ASM_PFX(InternalX86ReadIdtr)\r
 \r
 #------------------------------------------------------------------------------\r
 # VOID\r
index 2e534f79d358e53c130096aaabb907ceada6a9c9..cffdbde34e79f12e2007a51d5c24ab9b8133bc5d 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(AsmReadLdtr)\r
+ASM_GLOBAL ASM_PFX(AsmReadLdtr)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINT16\r
index 5c9ac8a4fa352f37132ed245d17620028a27d37f..5c4853336268055b122445167def4a7ad6e2bf02 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(AsmReadMm0)\r
+ASM_GLOBAL ASM_PFX(AsmReadMm0)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINTN\r
index 4dc3f402a07de0c263cdd02b6861cbf9c6d456d9..66387d1622d5b7f9ab84afddf3243b4d90755cc2 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(AsmReadMm1)\r
+ASM_GLOBAL ASM_PFX(AsmReadMm1)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINTN\r
index 15faee2fd0635cd9e15253323c14a1a60aecc71a..a72761fe455da668f2c9dc18912eb6fbc3b963c0 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(AsmReadMm2)\r
+ASM_GLOBAL ASM_PFX(AsmReadMm2)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINTN\r
index 753f1f11b172f7f526e5d5e53036a64e42e96d08..19c6161343a8a7f3ab2b5939c5295e8da6a37c5b 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(AsmReadMm3)\r
+ASM_GLOBAL ASM_PFX(AsmReadMm3)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINTN\r
index 9e63b3b7147398bd5875f7ec2ed6200c14a26b0d..db3be1ad88b9627903d4fd727ce78c20ed2bfa3e 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(AsmReadMm4)\r
+ASM_GLOBAL ASM_PFX(AsmReadMm4)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINTN\r
index 39a22b832a2e225559dcb5fc3281fe1102cdb65f..2f2e640f9ceb45496b500e383d6b0bab5bf1cdd8 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(AsmReadMm5)\r
+ASM_GLOBAL ASM_PFX(AsmReadMm5)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINTN\r
index f58b0fc7352a350f69ca98e64e2c78f48d7127c4..2fd514ebc61db38e4fe911bac09ba543380d01ac 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(AsmReadMm6)\r
+ASM_GLOBAL ASM_PFX(AsmReadMm6)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINTN\r
index da4e06a497560dcf0638ae7cc15c139bbc7d46dd..7fad933c795bad1299e0acc8cace6e367a580997 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(AsmReadMm7)\r
+ASM_GLOBAL ASM_PFX(AsmReadMm7)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINTN\r
index 28c53959888faf483c02a04304f2f1c3c0e2bcf0..4f650312ee7a2361202483b49b042cec23da7320 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(AsmReadMsr64)\r
+ASM_GLOBAL ASM_PFX(AsmReadMsr64)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINT64\r
index f26ff25450e57411d2e7d7b3a2d60f3b7d3d832d..42e958a40d4f5382a20bf641b4a7d31dbbf05ab8 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(AsmReadPmc)\r
+ASM_GLOBAL ASM_PFX(AsmReadPmc)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINT64\r
index 9645c0c9f101deb7a9efec0a5ca6c1fbbb3198c8..94304160e9f29304ae3096e3000f2f2fe5025ce2 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(AsmReadSs)\r
+ASM_GLOBAL ASM_PFX(AsmReadSs)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINT16\r
index 250f95d5e54b1703d4677d664c5ebe998bfa5eba..679036f2942065b11084302a8b07dd07b62864ca 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(AsmReadTr)\r
+ASM_GLOBAL ASM_PFX(AsmReadTr)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINT16\r
index e124274cdb9f9bf88c595e036c9e0ddba872f104..9b5b707939738e515d4cd1216c4a812726301ddf 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(AsmReadTsc)\r
+ASM_GLOBAL ASM_PFX(AsmReadTsc)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINT64\r
index dc7f04800360ec7fc4d8fdf8b62f7d75cfc39a5f..c8eaccb89ad2d208c4ffa1a55e4db7f36b06a587 100644 (file)
@@ -19,7 +19,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(SetJump), ASM_PFX(InternalAssertJumpBuffer)\r
+ASM_GLOBAL ASM_PFX(SetJump), ASM_PFX(InternalAssertJumpBuffer)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINTN\r
index 31ff35f56d486a936c64a5e43f2cfb23ec899a18..bfccd8dc2a08796333edc2165f0419a9c8badbeb 100644 (file)
@@ -29,7 +29,7 @@
 #   IN      UINT64                    Operand\r
 #   );\r
 #------------------------------------------------------------------------------\r
-.globl ASM_PFX(InternalMathSwapBytes64)\r
+ASM_GLOBAL ASM_PFX(InternalMathSwapBytes64)\r
 ASM_PFX(InternalMathSwapBytes64):\r
     movl    8(%esp), %eax               # eax <- upper 32 bits\r
     movl    4(%esp), %edx               # edx <- lower 32 bits\r
index 6d6bb175e256fd4f638bb32e2f0c08a6ef67f7b3..c4b8aa363906b1bea61cbac8477d7d6eaacb2962 100644 (file)
@@ -21,8 +21,8 @@
 \r
 #include <Library/BaseLib.h>\r
 \r
-.globl ASM_PFX(m16Start), ASM_PFX(m16Size), ASM_PFX(mThunk16Attr), ASM_PFX(m16Gdt), ASM_PFX(m16GdtrBase), ASM_PFX(mTransition)\r
-.globl ASM_PFX(InternalAsmThunk16)\r
+ASM_GLOBAL ASM_PFX(m16Start), ASM_PFX(m16Size), ASM_PFX(mThunk16Attr), ASM_PFX(m16Gdt), ASM_PFX(m16GdtrBase), ASM_PFX(mTransition)\r
+ASM_GLOBAL ASM_PFX(InternalAsmThunk16)\r
 \r
 ASM_PFX(m16Start):\r
 \r
index 17b36bbdc5df4b4e140430d451f24b4253628e77..d2d4c4b2f9fe23176e7bbfe8e8253b808ef67396 100644 (file)
@@ -28,7 +28,7 @@
 #   VOID\r
 #   );\r
 #------------------------------------------------------------------------------\r
-.globl ASM_PFX(AsmWbinvd)\r
+ASM_GLOBAL ASM_PFX(AsmWbinvd)\r
 ASM_PFX(AsmWbinvd):\r
     wbinvd\r
     ret\r
index 44994ef1c228506fccc30882ab54a66bf758f73e..27da3013c8d505e50f21b2591d5666243ac5d890 100644 (file)
@@ -28,7 +28,7 @@
 #   IN      UINTN                     Cr0\r
 #   );\r
 #------------------------------------------------------------------------------\r
-.globl ASM_PFX(AsmWriteCr0)\r
+ASM_GLOBAL ASM_PFX(AsmWriteCr0)\r
 ASM_PFX(AsmWriteCr0):\r
     movl    4(%esp), %eax\r
     movl    %eax, %cr0\r
index 12d68b1acedf6bc92ef799c8af05cb6ea8fd87f2..9a29faac7e1591b68cdd6a55ae9bcaec343a2a21 100644 (file)
@@ -28,7 +28,7 @@
 #   IN      UINTN                     Cr2\r
 #   );\r
 #------------------------------------------------------------------------------\r
-.globl ASM_PFX(AsmWriteCr2)\r
+ASM_GLOBAL ASM_PFX(AsmWriteCr2)\r
 ASM_PFX(AsmWriteCr2):\r
     movl    4(%esp), %eax\r
     movl    %eax, %cr2\r
index bd6b2029ff3b500c2e8c33109092b6e64be2f5c8..86e2c63d138fbeb90e274068b64d84c5fd4597da 100644 (file)
@@ -28,7 +28,7 @@
 #   IN      UINTN                     Cr3\r
 #   );\r
 #------------------------------------------------------------------------------\r
-.globl ASM_PFX(AsmWriteCr3)\r
+ASM_GLOBAL ASM_PFX(AsmWriteCr3)\r
 ASM_PFX(AsmWriteCr3):\r
     movl    4(%esp), %eax\r
     movl    %eax, %cr3\r
index ddf9486bc9ec21d5e990d6e3acb3a0c70f2e4a7d..6527b3e29e7281918229b91aad2478dd8b3267de 100644 (file)
@@ -28,7 +28,7 @@
 #   IN      UINTN                     Cr4\r
 #   );\r
 #------------------------------------------------------------------------------\r
-.globl ASM_PFX(AsmWriteCr4)\r
+ASM_GLOBAL ASM_PFX(AsmWriteCr4)\r
 ASM_PFX(AsmWriteCr4):\r
     movl    4(%esp), %eax\r
     movl    %eax, %cr4\r
index 41b414f90109b9a3274396719b59400c23c00d09..ae555f4ae88828c0adb4dc5851af0b493ba04435 100644 (file)
@@ -28,7 +28,7 @@
 #   IN UINTN Value\r
 #   );\r
 #------------------------------------------------------------------------------\r
-.globl ASM_PFX(AsmWriteDr0)\r
+ASM_GLOBAL ASM_PFX(AsmWriteDr0)\r
 ASM_PFX(AsmWriteDr0):\r
     movl    4(%esp), %eax\r
     movl    %eax, %dr0\r
index b496b17b6a2901bf750642f9f5fc699ece863814..d143bd69656357929d93511435b4584674f5321c 100644 (file)
@@ -28,7 +28,7 @@
 #   IN UINTN Value\r
 #   );\r
 #------------------------------------------------------------------------------\r
-.globl ASM_PFX(AsmWriteDr1)\r
+ASM_GLOBAL ASM_PFX(AsmWriteDr1)\r
 ASM_PFX(AsmWriteDr1):\r
     movl    4(%esp), %eax\r
     movl    %eax, %dr1\r
index eef837e84c14cbd772c60f27cb87cb20e97e5ffc..c6f89c7071a47448b49dcd28a769263e83da6021 100644 (file)
@@ -28,7 +28,7 @@
 #   IN UINTN Value\r
 #   );\r
 #------------------------------------------------------------------------------\r
-.globl ASM_PFX(AsmWriteDr2)\r
+ASM_GLOBAL ASM_PFX(AsmWriteDr2)\r
 ASM_PFX(AsmWriteDr2):\r
     movl    4(%esp), %eax\r
     movl    %eax, %dr2\r
index 5f75e20788be9a9d8588c919883ce16278506257..08c809b23b375c77be30cf4cc4c0899590b66b33 100644 (file)
@@ -28,7 +28,7 @@
 #   IN UINTN Value\r
 #   );\r
 #------------------------------------------------------------------------------\r
-.globl ASM_PFX(AsmWriteDr3)\r
+ASM_GLOBAL ASM_PFX(AsmWriteDr3)\r
 ASM_PFX(AsmWriteDr3):\r
     movl    4(%esp), %eax\r
     movl    %eax, %dr3\r
index 74106b38292c2c3bacb76a1285140a12128134d4..f38ecfadaabf186adaa95b66e5ec42f1f17243a2 100644 (file)
@@ -28,7 +28,7 @@
 #   IN UINTN Value\r
 #   );\r
 #------------------------------------------------------------------------------\r
-.globl ASM_PFX(AsmWriteDr4)\r
+ASM_GLOBAL ASM_PFX(AsmWriteDr4)\r
 ASM_PFX(AsmWriteDr4):\r
     movl    4(%esp), %eax\r
     movl    %eax, %dr4\r
index 927ef7c9d6f065031ee7af3d0fb1bcfda03ae583..5417b20e90aa5578da9cbc178f30056dadb1e1da 100644 (file)
@@ -28,7 +28,7 @@
 #   IN UINTN Value\r
 #   );\r
 #------------------------------------------------------------------------------\r
-.globl ASM_PFX(AsmWriteDr5)\r
+ASM_GLOBAL ASM_PFX(AsmWriteDr5)\r
 ASM_PFX(AsmWriteDr5):\r
     movl    4(%esp), %eax\r
     movl    %eax, %dr5\r
index ef63c2a89104749ed2e876b0d4e6dbb776468c6e..26d09798ef7955c7c9ca32fac1d378e94f39e6a0 100644 (file)
@@ -28,7 +28,7 @@
 #   IN UINTN Value\r
 #   );\r
 #------------------------------------------------------------------------------\r
-.globl ASM_PFX(AsmWriteDr6)\r
+ASM_GLOBAL ASM_PFX(AsmWriteDr6)\r
 ASM_PFX(AsmWriteDr6):\r
     movl    4(%esp), %eax\r
     movl    %eax, %dr6\r
index b85e1b5d8acd09dcfbe166f046223eea3183abb0..6f6be94981a88edf565b9e1276c363f313b65baa 100644 (file)
@@ -28,7 +28,7 @@
 #   IN UINTN Value\r
 #   );\r
 #------------------------------------------------------------------------------\r
-.globl ASM_PFX(AsmWriteDr7)\r
+ASM_GLOBAL ASM_PFX(AsmWriteDr7)\r
 ASM_PFX(AsmWriteDr7):\r
     movl    4(%esp), %eax\r
     movl    %eax, %dr7\r
index 6e84b3ecce85b32dac471b2c86dbbdea6e460186..7bb07a807b123750edb9d0da93be41ad3d4f00a4 100644 (file)
@@ -28,7 +28,7 @@
 #   OUT IA32_DESCRIPTOR  *Gdtr\r
 #   );\r
 #------------------------------------------------------------------------------\r
-.globl ASM_PFX(InternalX86WriteGdtr)\r
+ASM_GLOBAL ASM_PFX(InternalX86WriteGdtr)\r
 ASM_PFX(InternalX86WriteGdtr):\r
     movl    4(%esp), %eax\r
     lgdt    (%eax)\r
index c32f77cce6cc5d1812f10269a1e5c766dc3bcbe4..1f4857e0c45f6749cba0c487166150af89a08513 100644 (file)
@@ -28,7 +28,7 @@
 #   OUT IA32_DESCRIPTOR  *Idtr\r
 #   );\r
 #------------------------------------------------------------------------------\r
-.globl ASM_PFX(InternalX86WriteIdtr)\r
+ASM_GLOBAL ASM_PFX(InternalX86WriteIdtr)\r
 ASM_PFX(InternalX86WriteIdtr):\r
     movl    4(%esp), %eax\r
     lidt    (%eax)\r
index a36826968048d355ba6f6234f6093b4b742fa087..133f6255eb9e11ad566ba5c5f65a1a3077ec3dcb 100644 (file)
@@ -28,7 +28,7 @@
 #   IN UINT16 Ldtr\r
 #   );\r
 #------------------------------------------------------------------------------\r
-.globl ASM_PFX(AsmWriteLdtr)\r
+ASM_GLOBAL ASM_PFX(AsmWriteLdtr)\r
 ASM_PFX(AsmWriteLdtr):\r
     movl    4(%esp), %eax\r
     lldtw   %ax\r
index d79754766f437faa3653b2444c51dc09c02c71f5..5db52d4493d6f1100ddcfa2c3c1a0f42885fed6b 100644 (file)
@@ -28,7 +28,7 @@
 #   IN UINT64   Value\r
 #   );\r
 #------------------------------------------------------------------------------\r
-.globl ASM_PFX(AsmWriteMm0)\r
+ASM_GLOBAL ASM_PFX(AsmWriteMm0)\r
 ASM_PFX(AsmWriteMm0):\r
     movq    4(%esp), %mm0\r
     ret\r
index 9e64e31868036c886ce047aab644f87368d38def..7cd2f4948a715e53b9c76dd59daa8aacd3a4aa58 100644 (file)
@@ -28,7 +28,7 @@
 #   IN UINT64   Value\r
 #   );\r
 #------------------------------------------------------------------------------\r
-.globl ASM_PFX(AsmWriteMm1)\r
+ASM_GLOBAL ASM_PFX(AsmWriteMm1)\r
 ASM_PFX(AsmWriteMm1):\r
     movq    4(%esp), %mm1\r
     ret\r
index 793fc4dd0d7671a9031c032d6bdbbbe18e576fd6..8cd336e8403ce09e1675e9a86871742ba01fc6ca 100644 (file)
@@ -28,7 +28,7 @@
 #   IN UINT64   Value\r
 #   );\r
 #------------------------------------------------------------------------------\r
-.globl ASM_PFX(AsmWriteMm2)\r
+ASM_GLOBAL ASM_PFX(AsmWriteMm2)\r
 ASM_PFX(AsmWriteMm2):\r
     movq    4(%esp), %mm2\r
     ret\r
index 08c801745650e5a49af7b9a55dddcf62cf8904eb..92a4d098c9d6bc1de50acd3ef582ca4a3cf25282 100644 (file)
@@ -28,7 +28,7 @@
 #   IN UINT64   Value\r
 #   );\r
 #------------------------------------------------------------------------------\r
-.globl ASM_PFX(AsmWriteMm3)\r
+ASM_GLOBAL ASM_PFX(AsmWriteMm3)\r
 ASM_PFX(AsmWriteMm3):\r
     movq    4(%esp), %mm3\r
     ret\r
index 9e8b5a70c1b4ad227b8afa32245fb466748cdf6f..86f1caed7096de5c543d6abd72688c923ec4685b 100644 (file)
@@ -28,7 +28,7 @@
 #   IN UINT64   Value\r
 #   );\r
 #------------------------------------------------------------------------------\r
-.globl ASM_PFX(AsmWriteMm4)\r
+ASM_GLOBAL ASM_PFX(AsmWriteMm4)\r
 ASM_PFX(AsmWriteMm4):\r
     movq    4(%esp), %mm4\r
     ret\r
index 62c23682633c106e56b348bc395a33649d1eaee8..7343c6835e5dd6a42bb9a18b26e46207564e0bfd 100644 (file)
@@ -28,7 +28,7 @@
 #   IN UINT64   Value\r
 #   );\r
 #------------------------------------------------------------------------------\r
-.globl ASM_PFX(AsmWriteMm5)\r
+ASM_GLOBAL ASM_PFX(AsmWriteMm5)\r
 ASM_PFX(AsmWriteMm5):\r
     movq    4(%esp), %mm5\r
     ret\r
index e7f999b129e1f0c87928960a01aa66a220352dd3..55a188544a1571a1280a02bd170288879b521691 100644 (file)
@@ -28,7 +28,7 @@
 #   IN UINT64   Value\r
 #   );\r
 #------------------------------------------------------------------------------\r
-.globl ASM_PFX(AsmWriteMm6)\r
+ASM_GLOBAL ASM_PFX(AsmWriteMm6)\r
 ASM_PFX(AsmWriteMm6):\r
     movq    4(%esp), %mm6\r
     ret\r
index 784d54c60cc0758d92a96b45d206776b281e4db8..b9433200ba1d159c68e591452fa3a69e15121475 100644 (file)
@@ -28,7 +28,7 @@
 #   IN UINT64   Value\r
 #   );\r
 #------------------------------------------------------------------------------\r
-.globl ASM_PFX(AsmWriteMm7)\r
+ASM_GLOBAL ASM_PFX(AsmWriteMm7)\r
 ASM_PFX(AsmWriteMm7):\r
     movq    4(%esp), %mm7\r
     ret\r
index 42a70d041a672ac6c89af68ce0540aadd7c1c334..cb088dc29e72346367c728686a94d9e6cb6cd8da 100644 (file)
@@ -29,7 +29,7 @@
 #   IN UINT64  Value\r
 #   );\r
 #------------------------------------------------------------------------------\r
-.globl ASM_PFX(AsmWriteMsr64)\r
+ASM_GLOBAL ASM_PFX(AsmWriteMsr64)\r
 ASM_PFX(AsmWriteMsr64):\r
     movl    12(%esp), %edx\r
     movl    8(%esp), %eax\r
index 57c7ad6df2390448590ad1f7e5025f09bdfa6d4d..0f5150945d2d068547362f55a063b70de744e0d6 100644 (file)
@@ -17,7 +17,7 @@
 .auto\r
 .text\r
 \r
-.globl InternalAssertJumpBuffer\r
+ASM_GLOBAL InternalAssertJumpBuffer\r
 .type   InternalAssertJumpBuffer, @function\r
 \r
 .proc   SetJump\r
index 678290888e39c0cc96ab1a9623ddd930e092ba19..44705f3bc64d57c3c70fb9264321e945028c6aae 100644 (file)
@@ -29,7 +29,7 @@
 #   VOID\r
 #   );\r
 #------------------------------------------------------------------------------\r
-.globl ASM_PFX(AsmDisableCache)\r
+ASM_GLOBAL ASM_PFX(AsmDisableCache)\r
 ASM_PFX(AsmDisableCache):\r
     movq    %cr0, %rax\r
     btsq    $30, %rax\r
index 5c28b438576c0d1d496c6bbcc48998ce34620db2..42cd9eb24c294f504887e2339795999814265549 100644 (file)
@@ -29,7 +29,7 @@
 #   VOID\r
 #   );\r
 #------------------------------------------------------------------------------\r
-.globl ASM_PFX(AsmEnableCache)\r
+ASM_GLOBAL ASM_PFX(AsmEnableCache)\r
 ASM_PFX(AsmEnableCache):\r
     wbinvd\r
     movq    %cr0, %rax\r
index f9770b258cb50f167f4ed7610b792c72119d1701..a1af5128f25ebee9770c95661393a1ad553c3df5 100644 (file)
 \r
 #include <Library/BaseLib.h>\r
 \r
-.globl ASM_PFX(m16Start)\r
-.globl ASM_PFX(m16Size)\r
-.globl ASM_PFX(mThunk16Attr)\r
-.globl ASM_PFX(m16Gdt)\r
-.globl ASM_PFX(m16GdtrBase)\r
-.globl ASM_PFX(mTransition)\r
-.globl ASM_PFX(InternalAsmThunk16)\r
+ASM_GLOBAL ASM_PFX(m16Start)\r
+ASM_GLOBAL ASM_PFX(m16Size)\r
+ASM_GLOBAL ASM_PFX(mThunk16Attr)\r
+ASM_GLOBAL ASM_PFX(m16Gdt)\r
+ASM_GLOBAL ASM_PFX(m16GdtrBase)\r
+ASM_GLOBAL ASM_PFX(mTransition)\r
+ASM_GLOBAL ASM_PFX(InternalAsmThunk16)\r
 \r
 # define the structure of IA32_REGS\r
 .equ  _EDI, 0       #size 4\r
@@ -66,7 +66,7 @@ SavedGdt:    .space 10
 # _BackFromUserCode() takes control in real mode after 'retf' has been executed\r
 # by user code. It will be shadowed to somewhere in memory below 1MB.\r
 #------------------------------------------------------------------------------\r
-.globl ASM_PFX(BackFromUserCode)\r
+ASM_GLOBAL ASM_PFX(BackFromUserCode)\r
 ASM_PFX(BackFromUserCode):\r
     #\r
     # The order of saved registers on the stack matches the order they appears\r
@@ -156,7 +156,7 @@ _16Idtr:     .word      0x3ff
 # _ToUserCode() takes control in real mode before passing control to user code.\r
 # It will be shadowed to somewhere in memory below 1MB.\r
 #------------------------------------------------------------------------------\r
-.globl ASM_PFX(ToUserCode)\r
+ASM_GLOBAL ASM_PFX(ToUserCode)\r
 ASM_PFX(ToUserCode):\r
     movl    %edx,%ss                    # set new segment selectors\r
     movl    %edx,%ds\r
@@ -231,7 +231,7 @@ ASM_PFX(_32Data):
 #   );\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalAsmThunk16)\r
+ASM_GLOBAL ASM_PFX(InternalAsmThunk16)\r
 ASM_PFX(InternalAsmThunk16):\r
     pushq   %rbp\r
     pushq   %rbx\r
@@ -293,12 +293,12 @@ L_RetFromRealMode:
     .byte 0x0f, 0xa9                    # pop gs\r
     .byte 0x0f, 0xa1                    # pop fs\r
     \r
-    popq     %rbx
-    movq     %rbx, %ss
-    popq     %rbx
-    movq     %rbx, %es
-    popq     %rbx
-    movq     %rbx, %ds
+    popq     %rbx\r
+    movq     %rbx, %ss\r
+    popq     %rbx\r
+    movq     %rbx, %es\r
+    popq     %rbx\r
+    movq     %rbx, %ds\r
     \r
     popq    %rdi\r
     popq    %rsi\r
index e3da4ffb95f37baddc9c0eff34785f928f5fdf6b..49738b403d60efd3a9bb7cd48f16c2710f23fb68 100644 (file)
@@ -29,7 +29,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemCompareMem)\r
+ASM_GLOBAL ASM_PFX(InternalMemCompareMem)\r
 \r
 #------------------------------------------------------------------------------\r
 # INTN\r
index ea75f70001e117d13124c8eb270953f40cd4a173..6d7f98350f8fd8135e25ba21cc0236dd5f80038f 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemCopyMem)\r
+ASM_GLOBAL ASM_PFX(InternalMemCopyMem)\r
 \r
 #------------------------------------------------------------------------------\r
 #  VOID *\r
index d8bb46b12ea7e5eb1f6ce9f2ae2ae5470754b27a..280f615c6b88f77b1f7ba7bf9275d1af1c957596 100644 (file)
@@ -29,7 +29,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemScanMem16)\r
+ASM_GLOBAL ASM_PFX(InternalMemScanMem16)\r
 \r
 #------------------------------------------------------------------------------\r
 # CONST VOID *\r
index dfc36fdb662632436ce6811ec9f7247dc23f0ad2..d824177e3c9fb17703a565566abe365df975f041 100644 (file)
@@ -29,7 +29,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemScanMem32)\r
+ASM_GLOBAL ASM_PFX(InternalMemScanMem32)\r
 \r
 #------------------------------------------------------------------------------\r
 # CONST VOID *\r
index 3b67d4c056864f26c2ce97b0ef07d94c6d3aa17a..785ecd0fed245220a2b5d4db3d49bd05732c9f8d 100644 (file)
@@ -29,7 +29,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemScanMem64)\r
+ASM_GLOBAL ASM_PFX(InternalMemScanMem64)\r
 \r
 #------------------------------------------------------------------------------\r
 # CONST VOID *\r
index b3226052c8d2c4418be850f73d8f15e902952b4b..14979e2f09bdd7dc2e3a37be881ddef0b8f7926b 100644 (file)
@@ -29,7 +29,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemScanMem8)\r
+ASM_GLOBAL ASM_PFX(InternalMemScanMem8)\r
 \r
 #------------------------------------------------------------------------------\r
 # CONST VOID *\r
index ed4e15e3cac537cf80c58bc5bf8266e145795785..44bbbe08a8a5a39ceab5c7a08cd8da0d729275ad 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemSetMem)\r
+ASM_GLOBAL ASM_PFX(InternalMemSetMem)\r
 \r
 #------------------------------------------------------------------------------\r
 #  VOID *\r
index b8066b77849f1d68840e953ff4f901e970a8298f..f7f14afd3af9c481d826fae8211881190c0c46ad 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemSetMem16)\r
+ASM_GLOBAL ASM_PFX(InternalMemSetMem16)\r
 \r
 #------------------------------------------------------------------------------\r
 #  VOID *\r
index f6d786e25585c8081bc40d84f9a7b1510a6d5262..df27420adc6257e8c2b141e3cc3a20e4b06cddb2 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemSetMem32)\r
+ASM_GLOBAL ASM_PFX(InternalMemSetMem32)\r
 \r
 #------------------------------------------------------------------------------\r
 #  VOID *\r
index 7bbf694db83c54558b52cb84b0facd47cbd1ed9b..9ca5f5b88a028e531d8adb1daf3a612aec86a0b0 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemSetMem64)\r
+ASM_GLOBAL ASM_PFX(InternalMemSetMem64)\r
 \r
 #------------------------------------------------------------------------------\r
 #  VOID *\r
index 7d93d5be0980f7e7ab266b6906480adfcbbd91ef..26d50bc7092db90e56004b51161c99f3f3709c48 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemZeroMem)\r
+ASM_GLOBAL ASM_PFX(InternalMemZeroMem)\r
 \r
 #------------------------------------------------------------------------------\r
 #  VOID *\r
index 308c1e0ce6ab9fc25bebaf084e9ae5ecd7bceb0f..c207db7dda2cb902a848552c0b9c2d8b9d3779cc 100644 (file)
@@ -43,7 +43,7 @@
 #   );\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemCompareMem)\r
+ASM_GLOBAL ASM_PFX(InternalMemCompareMem)\r
 ASM_PFX(InternalMemCompareMem):\r
     push    rsi\r
     push    rdi\r
index 19f70034f60ec48a34246c9a36b24e2ecd4d0296..3a336f7e98ab979a4f4ae2ae33b3a293c0c78928 100644 (file)
@@ -35,7 +35,7 @@
 #    )\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemCopyMem)\r
+ASM_GLOBAL ASM_PFX(InternalMemCopyMem)\r
 ASM_PFX(InternalMemCopyMem):\r
     push    rsi\r
     push    rdi\r
index 26b463bd84470fa3a94e666222487387e5bc17c2..140b0a40e5c25091d9dc4dad24fc1b99b46a8a36 100644 (file)
@@ -43,7 +43,7 @@
 #   );\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemScanMem16)\r
+ASM_GLOBAL ASM_PFX(InternalMemScanMem16)\r
 ASM_PFX(InternalMemScanMem16):\r
     push    rdi\r
     mov     rdi, rcx\r
index 9acbe788b8b0f5bb1c744506396ebfd0651583ba..9420725d5ea740d1174a2c68a84031b120392e5d 100644 (file)
@@ -43,7 +43,7 @@
 #   );\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemScanMem32)\r
+ASM_GLOBAL ASM_PFX(InternalMemScanMem32)\r
 ASM_PFX(InternalMemScanMem32):\r
     push    rdi\r
     mov     rdi, rcx\r
index addc05758d0a83759f78170d88edb80ea7e7adb7..d39f17fac3c0febce62b061779e4c020d79e038d 100644 (file)
@@ -43,7 +43,7 @@
 #   );\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemScanMem64)\r
+ASM_GLOBAL ASM_PFX(InternalMemScanMem64)\r
 ASM_PFX(InternalMemScanMem64):\r
     push    rdi\r
     mov     rdi, rcx\r
index c5b5a55cbf3868b567eb7f6241f17a3019383649..74667a6200f8a532cd84dde58bcb3da00e356def 100644 (file)
@@ -43,7 +43,7 @@
 #   );\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemScanMem8)\r
+ASM_GLOBAL ASM_PFX(InternalMemScanMem8)\r
 ASM_PFX(InternalMemScanMem8):\r
     push    rdi\r
     mov     rdi, rcx\r
index 73ff47058a35376db07b74356ac3210d36c788b7..814d20c7cee13652e02d6d568792396b99f3fa16 100644 (file)
@@ -35,7 +35,7 @@
 #    )\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemSetMem)\r
+ASM_GLOBAL ASM_PFX(InternalMemSetMem)\r
 ASM_PFX(InternalMemSetMem):\r
     push    rdi\r
     mov     rax, r8\r
index 5fdb84433077f6a661762bf4003d56735b76a510..e3e66203146b34f364fe6614f594ebf5f390fe84 100644 (file)
@@ -35,7 +35,7 @@
 #    )\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemSetMem16)\r
+ASM_GLOBAL ASM_PFX(InternalMemSetMem16)\r
 ASM_PFX(InternalMemSetMem16):\r
     push    rdi\r
     mov     rax, r8\r
index 73a546113d6873e4f54ae5ff58ce314ddbfbf2ff..a67ca6a843b820aa345f58f801137daf45b0bfa0 100644 (file)
@@ -35,7 +35,7 @@
 #    );\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemSetMem32)\r
+ASM_GLOBAL ASM_PFX(InternalMemSetMem32)\r
 ASM_PFX(InternalMemSetMem32):\r
     movq    mm0, r8                     # mm0 <- Value\r
     mov     rax, rcx                    # rax <- Buffer\r
index 618412ac1872b32058d18f68919b49ab2eb60b93..36312d4e7e1fc0bd1522076dc4b0ee84b2d246a2 100644 (file)
@@ -34,7 +34,7 @@
 #    )\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemSetMem64)\r
+ASM_GLOBAL ASM_PFX(InternalMemSetMem64)\r
 ASM_PFX(InternalMemSetMem64):\r
     movq    mm0, r8                     #Value\r
     mov     rax, rcx                    #rax <- Buffer\r
index 1dbc3be847cf8dbd02482e67049f454a009b0561..b5dec030316615d06e4bcccd2c8209ef94cb950d 100644 (file)
@@ -33,7 +33,7 @@
 #    );\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemZeroMem)\r
+ASM_GLOBAL ASM_PFX(InternalMemZeroMem)\r
 ASM_PFX(InternalMemZeroMem):\r
     push    rdi\r
     mov     rdi, rcx\r
index 80b08b41e7900bac48525893c6bb2e971820026d..c038d68b96b09f02fb5aa579b9b5f9c7ce9bf267 100644 (file)
@@ -29,7 +29,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemCompareMem)\r
+ASM_GLOBAL ASM_PFX(InternalMemCompareMem)\r
 \r
 #------------------------------------------------------------------------------\r
 # INTN\r
index 1000ef5c485d1b26793e9839bb5f3f87ce91ce88..fedc064abf11a1707b064265e2a1ae58c63e403f 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemCopyMem)\r
+ASM_GLOBAL ASM_PFX(InternalMemCopyMem)\r
 \r
 #------------------------------------------------------------------------------\r
 #  VOID *\r
index d8bb46b12ea7e5eb1f6ce9f2ae2ae5470754b27a..280f615c6b88f77b1f7ba7bf9275d1af1c957596 100644 (file)
@@ -29,7 +29,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemScanMem16)\r
+ASM_GLOBAL ASM_PFX(InternalMemScanMem16)\r
 \r
 #------------------------------------------------------------------------------\r
 # CONST VOID *\r
index fb715b9b9c407502e86b91f2cbf611f2ed665cec..585dc2b2e55defbc38d28ee57ae418c9dbc732c9 100644 (file)
@@ -29,7 +29,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemScanMem32)\r
+ASM_GLOBAL ASM_PFX(InternalMemScanMem32)\r
 \r
 #------------------------------------------------------------------------------\r
 # CONST VOID *\r
index 576c1e1f775d4f8321e7579b02f62664b9a340e5..2b44deaaf490119803c1f0c7ba8060fb8c22d513 100644 (file)
@@ -29,7 +29,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemScanMem64)\r
+ASM_GLOBAL ASM_PFX(InternalMemScanMem64)\r
 \r
 #------------------------------------------------------------------------------\r
 # CONST VOID *\r
index 072dde89a4f4edb7693a3ad716d64c3a08f47c73..2e22aa0594a2fa3284614185ac88e2e009108a82 100644 (file)
@@ -29,7 +29,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemScanMem8)\r
+ASM_GLOBAL ASM_PFX(InternalMemScanMem8)\r
 \r
 #------------------------------------------------------------------------------\r
 # CONST VOID *\r
index 726ccd76fb1f1a1ebc8b395edd1f170bf2be89a7..e6324caa1490e75ecb867dafc005c6a1d179ce95 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemSetMem)\r
+ASM_GLOBAL ASM_PFX(InternalMemSetMem)\r
 \r
 #------------------------------------------------------------------------------\r
 #  VOID *\r
index 4f1ec70e7f71169f52587b6160696913c7968775..3eb7bdb6a59f36dc1a2ea225be5174071cb86c46 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemSetMem16)\r
+ASM_GLOBAL ASM_PFX(InternalMemSetMem16)\r
 \r
 #------------------------------------------------------------------------------\r
 #  VOID *\r
index 309ff739b3092a3b4355f6fbbf316f01538e4d7f..5770c8d270dfff277a4c4a039a2f49984225247c 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemSetMem32)\r
+ASM_GLOBAL ASM_PFX(InternalMemSetMem32)\r
 \r
 #------------------------------------------------------------------------------\r
 #  VOID *\r
index c0fa1087138c2cdf6ef9e190a89935161707c003..0b9e798266b154caf7f7808aa427c6664fadcb5c 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemSetMem64)\r
+ASM_GLOBAL ASM_PFX(InternalMemSetMem64)\r
 \r
 #------------------------------------------------------------------------------\r
 #  VOID *\r
index d192e2f573349045f92198cc66d2f222c9d4d220..d169d8e4c3d471a182cb26f647589fbb2776e1b5 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemZeroMem)\r
+ASM_GLOBAL ASM_PFX(InternalMemZeroMem)\r
 \r
 #------------------------------------------------------------------------------\r
 #  VOID *\r
index 308c1e0ce6ab9fc25bebaf084e9ae5ecd7bceb0f..c207db7dda2cb902a848552c0b9c2d8b9d3779cc 100644 (file)
@@ -43,7 +43,7 @@
 #   );\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemCompareMem)\r
+ASM_GLOBAL ASM_PFX(InternalMemCompareMem)\r
 ASM_PFX(InternalMemCompareMem):\r
     push    rsi\r
     push    rdi\r
index ac67abf6d8d00de06cfd2f966356dc1c9a10fac0..c05e50aa9d9411bf79b2b4ee6492130f5c646375 100644 (file)
@@ -34,7 +34,7 @@
 #    )\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemCopyMem)\r
+ASM_GLOBAL ASM_PFX(InternalMemCopyMem)\r
 ASM_PFX(InternalMemCopyMem):\r
     push    rsi\r
     push    rdi\r
index 26b463bd84470fa3a94e666222487387e5bc17c2..140b0a40e5c25091d9dc4dad24fc1b99b46a8a36 100644 (file)
@@ -43,7 +43,7 @@
 #   );\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemScanMem16)\r
+ASM_GLOBAL ASM_PFX(InternalMemScanMem16)\r
 ASM_PFX(InternalMemScanMem16):\r
     push    rdi\r
     mov     rdi, rcx\r
index 9acbe788b8b0f5bb1c744506396ebfd0651583ba..9420725d5ea740d1174a2c68a84031b120392e5d 100644 (file)
@@ -43,7 +43,7 @@
 #   );\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemScanMem32)\r
+ASM_GLOBAL ASM_PFX(InternalMemScanMem32)\r
 ASM_PFX(InternalMemScanMem32):\r
     push    rdi\r
     mov     rdi, rcx\r
index addc05758d0a83759f78170d88edb80ea7e7adb7..d39f17fac3c0febce62b061779e4c020d79e038d 100644 (file)
@@ -43,7 +43,7 @@
 #   );\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemScanMem64)\r
+ASM_GLOBAL ASM_PFX(InternalMemScanMem64)\r
 ASM_PFX(InternalMemScanMem64):\r
     push    rdi\r
     mov     rdi, rcx\r
index c5b5a55cbf3868b567eb7f6241f17a3019383649..74667a6200f8a532cd84dde58bcb3da00e356def 100644 (file)
@@ -43,7 +43,7 @@
 #   );\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemScanMem8)\r
+ASM_GLOBAL ASM_PFX(InternalMemScanMem8)\r
 ASM_PFX(InternalMemScanMem8):\r
     push    rdi\r
     mov     rdi, rcx\r
index 91e9e88815bddfd4474178c016cd59d2fb0e04af..c7c07ad30900694ac097f036ada7093ba3732cd2 100644 (file)
@@ -30,7 +30,7 @@
 #    )\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemSetMem)\r
+ASM_GLOBAL ASM_PFX(InternalMemSetMem)\r
 ASM_PFX(InternalMemSetMem):\r
     push    rdi\r
     push    rbx\r
index c1cb0a8644dd6aba68115ce9db507d2b3244371c..c091131a759126cbd74d11ab0695a53fa3410522 100644 (file)
@@ -35,7 +35,7 @@
 #    )\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemSetMem16)\r
+ASM_GLOBAL ASM_PFX(InternalMemSetMem16)\r
 ASM_PFX(InternalMemSetMem16):\r
     push    rdi\r
     mov     rdi, rcx\r
index 2230358e151d6b6caf9941cbe952a6e8c034a0b1..9fbcdafcb4336fea90610dc85a400f3e8ad036c8 100644 (file)
@@ -35,7 +35,7 @@
 #    );\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemSetMem32)\r
+ASM_GLOBAL ASM_PFX(InternalMemSetMem32)\r
 ASM_PFX(InternalMemSetMem32):\r
     push    rdi\r
     mov     rdi, rcx\r
index 71cef0bde77adc1a1da93fe842a81c1014e2eb1c..c4f0b4685d2e76123e53ba9139da6bfb59fc0586 100644 (file)
@@ -34,7 +34,7 @@
 #    )\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemSetMem64)\r
+ASM_GLOBAL ASM_PFX(InternalMemSetMem64)\r
 ASM_PFX(InternalMemSetMem64):\r
     push    rdi\r
     mov     rdi, rcx\r
index 9d09754281d35b0650504f9ee6509d52e4bb9cde..6cd1474420fcab6f1e9943d84708e55d776fb376 100644 (file)
@@ -33,7 +33,7 @@
 #    );\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemZeroMem)\r
+ASM_GLOBAL ASM_PFX(InternalMemZeroMem)\r
 ASM_PFX(InternalMemZeroMem):\r
     push    rdi\r
     push    rcx\r
index 80b08b41e7900bac48525893c6bb2e971820026d..c038d68b96b09f02fb5aa579b9b5f9c7ce9bf267 100644 (file)
@@ -29,7 +29,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemCompareMem)\r
+ASM_GLOBAL ASM_PFX(InternalMemCompareMem)\r
 \r
 #------------------------------------------------------------------------------\r
 # INTN\r
index 41aea6cdbb47fff1978e48a0fabf9cd0ffcfe466..436dc32c0eb827553fdb6e4cd3a680b8e9ad24e2 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemCopyMem)\r
+ASM_GLOBAL ASM_PFX(InternalMemCopyMem)\r
 \r
 #------------------------------------------------------------------------------\r
 #  VOID *\r
index e6f074ad875007bed449716fd8a247cd8c8b0d56..6af8b4992819378e4e5625ba366d1d64c84618f8 100644 (file)
@@ -29,7 +29,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemScanMem16)\r
+ASM_GLOBAL ASM_PFX(InternalMemScanMem16)\r
 \r
 #------------------------------------------------------------------------------\r
 # CONST VOID *\r
index dfc36fdb662632436ce6811ec9f7247dc23f0ad2..d824177e3c9fb17703a565566abe365df975f041 100644 (file)
@@ -29,7 +29,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemScanMem32)\r
+ASM_GLOBAL ASM_PFX(InternalMemScanMem32)\r
 \r
 #------------------------------------------------------------------------------\r
 # CONST VOID *\r
index 576c1e1f775d4f8321e7579b02f62664b9a340e5..2b44deaaf490119803c1f0c7ba8060fb8c22d513 100644 (file)
@@ -29,7 +29,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemScanMem64)\r
+ASM_GLOBAL ASM_PFX(InternalMemScanMem64)\r
 \r
 #------------------------------------------------------------------------------\r
 # CONST VOID *\r
index 072dde89a4f4edb7693a3ad716d64c3a08f47c73..2e22aa0594a2fa3284614185ac88e2e009108a82 100644 (file)
@@ -29,7 +29,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemScanMem8)\r
+ASM_GLOBAL ASM_PFX(InternalMemScanMem8)\r
 \r
 #------------------------------------------------------------------------------\r
 # CONST VOID *\r
index 726ccd76fb1f1a1ebc8b395edd1f170bf2be89a7..e6324caa1490e75ecb867dafc005c6a1d179ce95 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemSetMem)\r
+ASM_GLOBAL ASM_PFX(InternalMemSetMem)\r
 \r
 #------------------------------------------------------------------------------\r
 #  VOID *\r
index 4f1ec70e7f71169f52587b6160696913c7968775..3eb7bdb6a59f36dc1a2ea225be5174071cb86c46 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemSetMem16)\r
+ASM_GLOBAL ASM_PFX(InternalMemSetMem16)\r
 \r
 #------------------------------------------------------------------------------\r
 #  VOID *\r
index 309ff739b3092a3b4355f6fbbf316f01538e4d7f..5770c8d270dfff277a4c4a039a2f49984225247c 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemSetMem32)\r
+ASM_GLOBAL ASM_PFX(InternalMemSetMem32)\r
 \r
 #------------------------------------------------------------------------------\r
 #  VOID *\r
index c0fa1087138c2cdf6ef9e190a89935161707c003..0b9e798266b154caf7f7808aa427c6664fadcb5c 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemSetMem64)\r
+ASM_GLOBAL ASM_PFX(InternalMemSetMem64)\r
 \r
 #------------------------------------------------------------------------------\r
 #  VOID *\r
index d192e2f573349045f92198cc66d2f222c9d4d220..d169d8e4c3d471a182cb26f647589fbb2776e1b5 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemZeroMem)\r
+ASM_GLOBAL ASM_PFX(InternalMemZeroMem)\r
 \r
 #------------------------------------------------------------------------------\r
 #  VOID *\r
index 308c1e0ce6ab9fc25bebaf084e9ae5ecd7bceb0f..c207db7dda2cb902a848552c0b9c2d8b9d3779cc 100644 (file)
@@ -43,7 +43,7 @@
 #   );\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemCompareMem)\r
+ASM_GLOBAL ASM_PFX(InternalMemCompareMem)\r
 ASM_PFX(InternalMemCompareMem):\r
     push    rsi\r
     push    rdi\r
index 43cbeb91b2860111e88e3bf9b412d130c2423d3a..2ab574621e4d568dd371b4b4a816553f0b10eb43 100644 (file)
@@ -35,7 +35,7 @@
 #    )\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemCopyMem)\r
+ASM_GLOBAL ASM_PFX(InternalMemCopyMem)\r
 ASM_PFX(InternalMemCopyMem):\r
     push    rsi\r
     push    rdi\r
index 26b463bd84470fa3a94e666222487387e5bc17c2..140b0a40e5c25091d9dc4dad24fc1b99b46a8a36 100644 (file)
@@ -43,7 +43,7 @@
 #   );\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemScanMem16)\r
+ASM_GLOBAL ASM_PFX(InternalMemScanMem16)\r
 ASM_PFX(InternalMemScanMem16):\r
     push    rdi\r
     mov     rdi, rcx\r
index 9acbe788b8b0f5bb1c744506396ebfd0651583ba..9420725d5ea740d1174a2c68a84031b120392e5d 100644 (file)
@@ -43,7 +43,7 @@
 #   );\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemScanMem32)\r
+ASM_GLOBAL ASM_PFX(InternalMemScanMem32)\r
 ASM_PFX(InternalMemScanMem32):\r
     push    rdi\r
     mov     rdi, rcx\r
index 17976eb85bf0427d95b4400384b8a02a145eef62..917c37c3c5b6064d63d84accbf7e0275ad98ae38 100644 (file)
@@ -43,7 +43,7 @@
 #   );\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemScanMem64)\r
+ASM_GLOBAL ASM_PFX(InternalMemScanMem64)\r
 ASM_PFX(InternalMemScanMem64):\r
     push    rdi\r
     mov     rdi, rcx\r
index c5b5a55cbf3868b567eb7f6241f17a3019383649..74667a6200f8a532cd84dde58bcb3da00e356def 100644 (file)
@@ -43,7 +43,7 @@
 #   );\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemScanMem8)\r
+ASM_GLOBAL ASM_PFX(InternalMemScanMem8)\r
 ASM_PFX(InternalMemScanMem8):\r
     push    rdi\r
     mov     rdi, rcx\r
index 1d4e73ced7d77ef41e5b50b91c97849ba0cbe9c3..cae41c3cab7d8b9273205e17549dd6fe146a874e 100644 (file)
@@ -35,7 +35,7 @@
 #    )\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemSetMem)\r
+ASM_GLOBAL ASM_PFX(InternalMemSetMem)\r
 ASM_PFX(InternalMemSetMem):\r
     push    rdi\r
     mov     rax, r8    # rax = Value\r
index c1cb0a8644dd6aba68115ce9db507d2b3244371c..c091131a759126cbd74d11ab0695a53fa3410522 100644 (file)
@@ -35,7 +35,7 @@
 #    )\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemSetMem16)\r
+ASM_GLOBAL ASM_PFX(InternalMemSetMem16)\r
 ASM_PFX(InternalMemSetMem16):\r
     push    rdi\r
     mov     rdi, rcx\r
index 2230358e151d6b6caf9941cbe952a6e8c034a0b1..9fbcdafcb4336fea90610dc85a400f3e8ad036c8 100644 (file)
@@ -35,7 +35,7 @@
 #    );\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemSetMem32)\r
+ASM_GLOBAL ASM_PFX(InternalMemSetMem32)\r
 ASM_PFX(InternalMemSetMem32):\r
     push    rdi\r
     mov     rdi, rcx\r
index 71cef0bde77adc1a1da93fe842a81c1014e2eb1c..c4f0b4685d2e76123e53ba9139da6bfb59fc0586 100644 (file)
@@ -34,7 +34,7 @@
 #    )\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemSetMem64)\r
+ASM_GLOBAL ASM_PFX(InternalMemSetMem64)\r
 ASM_PFX(InternalMemSetMem64):\r
     push    rdi\r
     mov     rdi, rcx\r
index a394c0f08093e124acef70f0e34134d71901f925..73bb786943624d0f1b2eba15aed2e9383941543f 100644 (file)
@@ -33,7 +33,7 @@
 #    );\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemZeroMem)\r
+ASM_GLOBAL ASM_PFX(InternalMemZeroMem)\r
 ASM_PFX(InternalMemZeroMem):\r
     push    rdi\r
     push    rcx\r
index e3da4ffb95f37baddc9c0eff34785f928f5fdf6b..49738b403d60efd3a9bb7cd48f16c2710f23fb68 100644 (file)
@@ -29,7 +29,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemCompareMem)\r
+ASM_GLOBAL ASM_PFX(InternalMemCompareMem)\r
 \r
 #------------------------------------------------------------------------------\r
 # INTN\r
index 22f494fac1bc89a0c5bc4f08d43a8b7d24922b08..8db0607b7bf1e50b7ccfc4aec09fc150f5b65cf6 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemCopyMem)\r
+ASM_GLOBAL ASM_PFX(InternalMemCopyMem)\r
 \r
 #------------------------------------------------------------------------------\r
 #  VOID *\r
index d8bb46b12ea7e5eb1f6ce9f2ae2ae5470754b27a..280f615c6b88f77b1f7ba7bf9275d1af1c957596 100644 (file)
@@ -29,7 +29,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemScanMem16)\r
+ASM_GLOBAL ASM_PFX(InternalMemScanMem16)\r
 \r
 #------------------------------------------------------------------------------\r
 # CONST VOID *\r
index dfc36fdb662632436ce6811ec9f7247dc23f0ad2..d824177e3c9fb17703a565566abe365df975f041 100644 (file)
@@ -29,7 +29,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemScanMem32)\r
+ASM_GLOBAL ASM_PFX(InternalMemScanMem32)\r
 \r
 #------------------------------------------------------------------------------\r
 # CONST VOID *\r
index 3b67d4c056864f26c2ce97b0ef07d94c6d3aa17a..785ecd0fed245220a2b5d4db3d49bd05732c9f8d 100644 (file)
@@ -29,7 +29,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemScanMem64)\r
+ASM_GLOBAL ASM_PFX(InternalMemScanMem64)\r
 \r
 #------------------------------------------------------------------------------\r
 # CONST VOID *\r
index b3226052c8d2c4418be850f73d8f15e902952b4b..14979e2f09bdd7dc2e3a37be881ddef0b8f7926b 100644 (file)
@@ -29,7 +29,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemScanMem8)\r
+ASM_GLOBAL ASM_PFX(InternalMemScanMem8)\r
 \r
 #------------------------------------------------------------------------------\r
 # CONST VOID *\r
index 9abf0cd86c0bdd6f702fb350328552bda4133e02..d09770f02e8edacdf53e1883f8f0b55bf0cc2be2 100644 (file)
@@ -24,7 +24,7 @@
     .386:\r
     .code:\r
 \r
-.globl ASM_PFX(InternalMemSetMem)\r
+ASM_GLOBAL ASM_PFX(InternalMemSetMem)\r
 \r
 #------------------------------------------------------------------------------\r
 #  VOID *\r
index 9b88048bb9243af5acf68045a74533ca18061817..d67eefd99b544919aba0a1796a074bb2e60f0d49 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemSetMem16)\r
+ASM_GLOBAL ASM_PFX(InternalMemSetMem16)\r
 \r
 #------------------------------------------------------------------------------\r
 #  VOID *\r
index 31d9d1d9e73ea8843f1735d6dbb6d5f22d998ecb..82ca941d9f43e55e9b2dfe12042a5037a2734252 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemSetMem32)\r
+ASM_GLOBAL ASM_PFX(InternalMemSetMem32)\r
 \r
 #------------------------------------------------------------------------------\r
 #  VOID *\r
index 34075780d1d0aee59588c44e201a93336f575728..809321dd53964daed966130a362dec24cad588ee 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemSetMem64)\r
+ASM_GLOBAL ASM_PFX(InternalMemSetMem64)\r
 \r
 #------------------------------------------------------------------------------\r
 #  VOID *\r
index d0af0ab772eb8413482018cfef9df0954837605f..ae1f3200821a9a97276cd2796ad6cef77d1d1f30 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemZeroMem)\r
+ASM_GLOBAL ASM_PFX(InternalMemZeroMem)\r
 \r
 #------------------------------------------------------------------------------\r
 #  VOID *\r
index 308c1e0ce6ab9fc25bebaf084e9ae5ecd7bceb0f..c207db7dda2cb902a848552c0b9c2d8b9d3779cc 100644 (file)
@@ -43,7 +43,7 @@
 #   );\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemCompareMem)\r
+ASM_GLOBAL ASM_PFX(InternalMemCompareMem)\r
 ASM_PFX(InternalMemCompareMem):\r
     push    rsi\r
     push    rdi\r
index b3bf6ff61cce0903ddec03f00feae06c6cbb0e6e..4477006e41e47a112d70974686ce1617d8e2881d 100644 (file)
@@ -35,7 +35,7 @@
 #    )\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemCopyMem)\r
+ASM_GLOBAL ASM_PFX(InternalMemCopyMem)\r
 ASM_PFX(InternalMemCopyMem):\r
     push    rsi\r
     push    rdi\r
index 26b463bd84470fa3a94e666222487387e5bc17c2..140b0a40e5c25091d9dc4dad24fc1b99b46a8a36 100644 (file)
@@ -43,7 +43,7 @@
 #   );\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemScanMem16)\r
+ASM_GLOBAL ASM_PFX(InternalMemScanMem16)\r
 ASM_PFX(InternalMemScanMem16):\r
     push    rdi\r
     mov     rdi, rcx\r
index 9acbe788b8b0f5bb1c744506396ebfd0651583ba..9420725d5ea740d1174a2c68a84031b120392e5d 100644 (file)
@@ -43,7 +43,7 @@
 #   );\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemScanMem32)\r
+ASM_GLOBAL ASM_PFX(InternalMemScanMem32)\r
 ASM_PFX(InternalMemScanMem32):\r
     push    rdi\r
     mov     rdi, rcx\r
index 17976eb85bf0427d95b4400384b8a02a145eef62..917c37c3c5b6064d63d84accbf7e0275ad98ae38 100644 (file)
@@ -43,7 +43,7 @@
 #   );\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemScanMem64)\r
+ASM_GLOBAL ASM_PFX(InternalMemScanMem64)\r
 ASM_PFX(InternalMemScanMem64):\r
     push    rdi\r
     mov     rdi, rcx\r
index c5b5a55cbf3868b567eb7f6241f17a3019383649..74667a6200f8a532cd84dde58bcb3da00e356def 100644 (file)
@@ -43,7 +43,7 @@
 #   );\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemScanMem8)\r
+ASM_GLOBAL ASM_PFX(InternalMemScanMem8)\r
 ASM_PFX(InternalMemScanMem8):\r
     push    rdi\r
     mov     rdi, rcx\r
index 1d4e73ced7d77ef41e5b50b91c97849ba0cbe9c3..cae41c3cab7d8b9273205e17549dd6fe146a874e 100644 (file)
@@ -35,7 +35,7 @@
 #    )\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemSetMem)\r
+ASM_GLOBAL ASM_PFX(InternalMemSetMem)\r
 ASM_PFX(InternalMemSetMem):\r
     push    rdi\r
     mov     rax, r8    # rax = Value\r
index c1cb0a8644dd6aba68115ce9db507d2b3244371c..c091131a759126cbd74d11ab0695a53fa3410522 100644 (file)
@@ -35,7 +35,7 @@
 #    )\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemSetMem16)\r
+ASM_GLOBAL ASM_PFX(InternalMemSetMem16)\r
 ASM_PFX(InternalMemSetMem16):\r
     push    rdi\r
     mov     rdi, rcx\r
index 2230358e151d6b6caf9941cbe952a6e8c034a0b1..9fbcdafcb4336fea90610dc85a400f3e8ad036c8 100644 (file)
@@ -35,7 +35,7 @@
 #    );\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemSetMem32)\r
+ASM_GLOBAL ASM_PFX(InternalMemSetMem32)\r
 ASM_PFX(InternalMemSetMem32):\r
     push    rdi\r
     mov     rdi, rcx\r
index 71cef0bde77adc1a1da93fe842a81c1014e2eb1c..c4f0b4685d2e76123e53ba9139da6bfb59fc0586 100644 (file)
@@ -34,7 +34,7 @@
 #    )\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemSetMem64)\r
+ASM_GLOBAL ASM_PFX(InternalMemSetMem64)\r
 ASM_PFX(InternalMemSetMem64):\r
     push    rdi\r
     mov     rdi, rcx\r
index a394c0f08093e124acef70f0e34134d71901f925..73bb786943624d0f1b2eba15aed2e9383941543f 100644 (file)
@@ -33,7 +33,7 @@
 #    );\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemZeroMem)\r
+ASM_GLOBAL ASM_PFX(InternalMemZeroMem)\r
 ASM_PFX(InternalMemZeroMem):\r
     push    rdi\r
     push    rcx\r
index e3da4ffb95f37baddc9c0eff34785f928f5fdf6b..49738b403d60efd3a9bb7cd48f16c2710f23fb68 100644 (file)
@@ -29,7 +29,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemCompareMem)\r
+ASM_GLOBAL ASM_PFX(InternalMemCompareMem)\r
 \r
 #------------------------------------------------------------------------------\r
 # INTN\r
index d43464c2cd657e2fb8670c126223cdfa65b60466..e15942b11d5f9ed6698e771d14032ab0426ceeb9 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemCopyMem)\r
+ASM_GLOBAL ASM_PFX(InternalMemCopyMem)\r
 \r
 #------------------------------------------------------------------------------\r
 #  VOID *\r
index d8bb46b12ea7e5eb1f6ce9f2ae2ae5470754b27a..280f615c6b88f77b1f7ba7bf9275d1af1c957596 100644 (file)
@@ -29,7 +29,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemScanMem16)\r
+ASM_GLOBAL ASM_PFX(InternalMemScanMem16)\r
 \r
 #------------------------------------------------------------------------------\r
 # CONST VOID *\r
index dfc36fdb662632436ce6811ec9f7247dc23f0ad2..d824177e3c9fb17703a565566abe365df975f041 100644 (file)
@@ -29,7 +29,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemScanMem32)\r
+ASM_GLOBAL ASM_PFX(InternalMemScanMem32)\r
 \r
 #------------------------------------------------------------------------------\r
 # CONST VOID *\r
index 3b67d4c056864f26c2ce97b0ef07d94c6d3aa17a..785ecd0fed245220a2b5d4db3d49bd05732c9f8d 100644 (file)
@@ -29,7 +29,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemScanMem64)\r
+ASM_GLOBAL ASM_PFX(InternalMemScanMem64)\r
 \r
 #------------------------------------------------------------------------------\r
 # CONST VOID *\r
index b3226052c8d2c4418be850f73d8f15e902952b4b..14979e2f09bdd7dc2e3a37be881ddef0b8f7926b 100644 (file)
@@ -29,7 +29,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemScanMem8)\r
+ASM_GLOBAL ASM_PFX(InternalMemScanMem8)\r
 \r
 #------------------------------------------------------------------------------\r
 # CONST VOID *\r
index 850b6e898158e49655dd55b376f8ee1579e6e2ae..c3f82430cb1e5e6294a39253b66da0c5e58f4027 100644 (file)
@@ -34,7 +34,7 @@
 #    IN UINT8  Value\r
 #    );\r
 #------------------------------------------------------------------------------\r
-.globl ASM_PFX(InternalMemSetMem)\r
+ASM_GLOBAL ASM_PFX(InternalMemSetMem)\r
 ASM_PFX(InternalMemSetMem):\r
     push    %edi\r
     movl    12(%esp), %edx              # edx <- Count\r
index c6366d8d6bae45c1b2e0b4d93c084ae960cffda5..d265f02bee8bbdf8f48b71bb1ecb8f2abd495e28 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemSetMem16)\r
+ASM_GLOBAL ASM_PFX(InternalMemSetMem16)\r
 \r
 #------------------------------------------------------------------------------\r
 #  VOID *\r
index dde62257e84ec6508688521ed9ea8c766f23be4f..5fab10dd4278556e6036ab102243168d8f27b986 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemSetMem32)\r
+ASM_GLOBAL ASM_PFX(InternalMemSetMem32)\r
 \r
 #------------------------------------------------------------------------------\r
 #  VOID *\r
index 6d5ead5f3fb45488b79d890d37ff0c3a86a7f938..68b4019f43850d25283926792ad6191a6610f0cb 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemSetMem64)\r
+ASM_GLOBAL ASM_PFX(InternalMemSetMem64)\r
 \r
 #------------------------------------------------------------------------------\r
 #  VOID *\r
index 6058a4c85a1ad281ddb22613c6c49517b1e93c27..a17ab75f18bc41dff404247aa8d657902adb16ad 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalMemZeroMem)\r
+ASM_GLOBAL ASM_PFX(InternalMemZeroMem)\r
 \r
 #------------------------------------------------------------------------------\r
 #  VOID *\r
index 308c1e0ce6ab9fc25bebaf084e9ae5ecd7bceb0f..c207db7dda2cb902a848552c0b9c2d8b9d3779cc 100644 (file)
@@ -43,7 +43,7 @@
 #   );\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemCompareMem)\r
+ASM_GLOBAL ASM_PFX(InternalMemCompareMem)\r
 ASM_PFX(InternalMemCompareMem):\r
     push    rsi\r
     push    rdi\r
index 233bf7d71f96eac6b7fe24d3eae691e7b671f13c..e5cfa7eadfcf85cffda571966d871e6abf4e3f90 100644 (file)
@@ -35,7 +35,7 @@
 #    )\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemCopyMem)\r
+ASM_GLOBAL ASM_PFX(InternalMemCopyMem)\r
 ASM_PFX(InternalMemCopyMem):\r
     push    rsi\r
     push    rdi\r
index 26b463bd84470fa3a94e666222487387e5bc17c2..140b0a40e5c25091d9dc4dad24fc1b99b46a8a36 100644 (file)
@@ -43,7 +43,7 @@
 #   );\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemScanMem16)\r
+ASM_GLOBAL ASM_PFX(InternalMemScanMem16)\r
 ASM_PFX(InternalMemScanMem16):\r
     push    rdi\r
     mov     rdi, rcx\r
index 9acbe788b8b0f5bb1c744506396ebfd0651583ba..9420725d5ea740d1174a2c68a84031b120392e5d 100644 (file)
@@ -43,7 +43,7 @@
 #   );\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemScanMem32)\r
+ASM_GLOBAL ASM_PFX(InternalMemScanMem32)\r
 ASM_PFX(InternalMemScanMem32):\r
     push    rdi\r
     mov     rdi, rcx\r
index 17976eb85bf0427d95b4400384b8a02a145eef62..917c37c3c5b6064d63d84accbf7e0275ad98ae38 100644 (file)
@@ -43,7 +43,7 @@
 #   );\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemScanMem64)\r
+ASM_GLOBAL ASM_PFX(InternalMemScanMem64)\r
 ASM_PFX(InternalMemScanMem64):\r
     push    rdi\r
     mov     rdi, rcx\r
index c5b5a55cbf3868b567eb7f6241f17a3019383649..74667a6200f8a532cd84dde58bcb3da00e356def 100644 (file)
@@ -43,7 +43,7 @@
 #   );\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemScanMem8)\r
+ASM_GLOBAL ASM_PFX(InternalMemScanMem8)\r
 ASM_PFX(InternalMemScanMem8):\r
     push    rdi\r
     mov     rdi, rcx\r
index 5adad7fb263a610d50af2206603a39c433a0ea75..d2c25420c1ae1a176ec54cd7366bb336b416b680 100644 (file)
@@ -35,7 +35,7 @@
 #    )\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemSetMem)\r
+ASM_GLOBAL ASM_PFX(InternalMemSetMem)\r
 ASM_PFX(InternalMemSetMem):\r
     push    rdi\r
     mov     rdi, rcx                    # rdi <- Buffer\r
index 1f489022e613482094d13634c07de3f7ab38863a..3da0efcb869f8f17804467c709bb100c2354d83b 100644 (file)
@@ -35,7 +35,7 @@
 #    )\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemSetMem16)\r
+ASM_GLOBAL ASM_PFX(InternalMemSetMem16)\r
 ASM_PFX(InternalMemSetMem16):\r
     push    rdi\r
     mov     rdi, rcx\r
index faec90714c28ecaf1a6dfa05fa46f595abc514b1..ff6b0d7b4e649d69402fb2090c616151fbde1105 100644 (file)
@@ -35,7 +35,7 @@
 #    );\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemSetMem32)\r
+ASM_GLOBAL ASM_PFX(InternalMemSetMem32)\r
 ASM_PFX(InternalMemSetMem32):\r
     push    rdi\r
     mov     rdi, rcx\r
index 0dbaa6a615c61d4e6ec5c783d79d1b48ec5799a0..adfbb0c42ecaeb80d3a15483ad66f3c5193bf066 100644 (file)
@@ -34,7 +34,7 @@
 #    )\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemSetMem64)\r
+ASM_GLOBAL ASM_PFX(InternalMemSetMem64)\r
 ASM_PFX(InternalMemSetMem64):\r
     mov     rax, rcx                    # rax <- Buffer\r
     xchg    rcx, rdx                    # rcx <- Count & rdx <- Buffer\r
index 5cbc7e3f3b2328b6867fc2efb469f172189de587..bb2a194544113c95c3570a727c8f4f8250271c4c 100644 (file)
@@ -33,7 +33,7 @@
 #    );\r
 #------------------------------------------------------------------------------\r
 .intel_syntax noprefix\r
-.globl ASM_PFX(InternalMemZeroMem)\r
+ASM_GLOBAL ASM_PFX(InternalMemZeroMem)\r
 ASM_PFX(InternalMemZeroMem):\r
     push    rdi\r
     mov     rdi, rcx\r
index 767343d82362f1bb7a8c9303d7e014e2dadf26ed..392f90970b840ecac8a18ad4ef5a9c77a008bfd4 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalSyncCompareExchange32)\r
+ASM_GLOBAL ASM_PFX(InternalSyncCompareExchange32)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINT32\r
index 03aebff91d75531e143516d2a2edcae6faa9d30a..6f43acb7d5b1c92415906d511564d35b9ba0ed6b 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalSyncCompareExchange64)\r
+ASM_GLOBAL ASM_PFX(InternalSyncCompareExchange64)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINT64\r
index bea5ac1d741e3db294c6e2a4d9ff7826baab11de..f095270a111b8c9aff632687fa5fcf78cfa31d33 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalSyncDecrement)\r
+ASM_GLOBAL ASM_PFX(InternalSyncDecrement)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINT32\r
index 6efbcee5eac49f092da61d01d890f81334f2f46e..26243d8f760aaf6c534af976f5813f8351d132b3 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl ASM_PFX(InternalSyncIncrement)\r
+ASM_GLOBAL ASM_PFX(InternalSyncIncrement)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINT32\r
index 50f07b0894f813ab3767059ad4a255fd295e2aa2..ae9fe9ba9e320ff959dac76ff6edce0e7e55fbbb 100644 (file)
@@ -30,7 +30,7 @@
 \r
 #include <ProcessorBind.h>\r
 \r
-.globl ASM_PFX(SecSwitchStack)\r
+ASM_GLOBAL ASM_PFX(SecSwitchStack)\r
 ASM_PFX(SecSwitchStack):\r
 #\r
 # Save three register: eax, ebx, ecx\r