summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/BaseMemoryLibMmx
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BaseMemoryLibMmx')
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/Ia32/CompareMem.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/Ia32/CopyMem.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem16.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem32.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem64.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem8.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem16.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem32.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem64.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/Ia32/ZeroMem.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/X64/CompareMem.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/X64/CopyMem.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/X64/ScanMem16.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/X64/ScanMem32.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/X64/ScanMem64.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/X64/ScanMem8.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/X64/SetMem.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/X64/SetMem16.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/X64/SetMem32.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/X64/SetMem64.S2
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/X64/ZeroMem.S2
22 files changed, 22 insertions, 22 deletions
diff --git a/MdePkg/Library/BaseMemoryLibMmx/Ia32/CompareMem.S b/MdePkg/Library/BaseMemoryLibMmx/Ia32/CompareMem.S
index e3da4ffb95..49738b403d 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/Ia32/CompareMem.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/Ia32/CompareMem.S
@@ -29,7 +29,7 @@
#
#------------------------------------------------------------------------------
-.globl ASM_PFX(InternalMemCompareMem)
+ASM_GLOBAL ASM_PFX(InternalMemCompareMem)
#------------------------------------------------------------------------------
# INTN
diff --git a/MdePkg/Library/BaseMemoryLibMmx/Ia32/CopyMem.S b/MdePkg/Library/BaseMemoryLibMmx/Ia32/CopyMem.S
index ea75f70001..6d7f98350f 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/Ia32/CopyMem.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/Ia32/CopyMem.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.globl ASM_PFX(InternalMemCopyMem)
+ASM_GLOBAL ASM_PFX(InternalMemCopyMem)
#------------------------------------------------------------------------------
# VOID *
diff --git a/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem16.S b/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem16.S
index d8bb46b12e..280f615c6b 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem16.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem16.S
@@ -29,7 +29,7 @@
#
#------------------------------------------------------------------------------
-.globl ASM_PFX(InternalMemScanMem16)
+ASM_GLOBAL ASM_PFX(InternalMemScanMem16)
#------------------------------------------------------------------------------
# CONST VOID *
diff --git a/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem32.S b/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem32.S
index dfc36fdb66..d824177e3c 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem32.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem32.S
@@ -29,7 +29,7 @@
#
#------------------------------------------------------------------------------
-.globl ASM_PFX(InternalMemScanMem32)
+ASM_GLOBAL ASM_PFX(InternalMemScanMem32)
#------------------------------------------------------------------------------
# CONST VOID *
diff --git a/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem64.S b/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem64.S
index 3b67d4c056..785ecd0fed 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem64.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem64.S
@@ -29,7 +29,7 @@
#
#------------------------------------------------------------------------------
-.globl ASM_PFX(InternalMemScanMem64)
+ASM_GLOBAL ASM_PFX(InternalMemScanMem64)
#------------------------------------------------------------------------------
# CONST VOID *
diff --git a/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem8.S b/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem8.S
index b3226052c8..14979e2f09 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem8.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem8.S
@@ -29,7 +29,7 @@
#
#------------------------------------------------------------------------------
-.globl ASM_PFX(InternalMemScanMem8)
+ASM_GLOBAL ASM_PFX(InternalMemScanMem8)
#------------------------------------------------------------------------------
# CONST VOID *
diff --git a/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem.S b/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem.S
index ed4e15e3ca..44bbbe08a8 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.globl ASM_PFX(InternalMemSetMem)
+ASM_GLOBAL ASM_PFX(InternalMemSetMem)
#------------------------------------------------------------------------------
# VOID *
diff --git a/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem16.S b/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem16.S
index b8066b7784..f7f14afd3a 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem16.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem16.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.globl ASM_PFX(InternalMemSetMem16)
+ASM_GLOBAL ASM_PFX(InternalMemSetMem16)
#------------------------------------------------------------------------------
# VOID *
diff --git a/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem32.S b/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem32.S
index f6d786e255..df27420adc 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem32.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem32.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.globl ASM_PFX(InternalMemSetMem32)
+ASM_GLOBAL ASM_PFX(InternalMemSetMem32)
#------------------------------------------------------------------------------
# VOID *
diff --git a/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem64.S b/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem64.S
index 7bbf694db8..9ca5f5b88a 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem64.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem64.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.globl ASM_PFX(InternalMemSetMem64)
+ASM_GLOBAL ASM_PFX(InternalMemSetMem64)
#------------------------------------------------------------------------------
# VOID *
diff --git a/MdePkg/Library/BaseMemoryLibMmx/Ia32/ZeroMem.S b/MdePkg/Library/BaseMemoryLibMmx/Ia32/ZeroMem.S
index 7d93d5be09..26d50bc709 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/Ia32/ZeroMem.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/Ia32/ZeroMem.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.globl ASM_PFX(InternalMemZeroMem)
+ASM_GLOBAL ASM_PFX(InternalMemZeroMem)
#------------------------------------------------------------------------------
# VOID *
diff --git a/MdePkg/Library/BaseMemoryLibMmx/X64/CompareMem.S b/MdePkg/Library/BaseMemoryLibMmx/X64/CompareMem.S
index 308c1e0ce6..c207db7dda 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/X64/CompareMem.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/X64/CompareMem.S
@@ -43,7 +43,7 @@
# );
#------------------------------------------------------------------------------
.intel_syntax noprefix
-.globl ASM_PFX(InternalMemCompareMem)
+ASM_GLOBAL ASM_PFX(InternalMemCompareMem)
ASM_PFX(InternalMemCompareMem):
push rsi
push rdi
diff --git a/MdePkg/Library/BaseMemoryLibMmx/X64/CopyMem.S b/MdePkg/Library/BaseMemoryLibMmx/X64/CopyMem.S
index 19f70034f6..3a336f7e98 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/X64/CopyMem.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/X64/CopyMem.S
@@ -35,7 +35,7 @@
# )
#------------------------------------------------------------------------------
.intel_syntax noprefix
-.globl ASM_PFX(InternalMemCopyMem)
+ASM_GLOBAL ASM_PFX(InternalMemCopyMem)
ASM_PFX(InternalMemCopyMem):
push rsi
push rdi
diff --git a/MdePkg/Library/BaseMemoryLibMmx/X64/ScanMem16.S b/MdePkg/Library/BaseMemoryLibMmx/X64/ScanMem16.S
index 26b463bd84..140b0a40e5 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/X64/ScanMem16.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/X64/ScanMem16.S
@@ -43,7 +43,7 @@
# );
#------------------------------------------------------------------------------
.intel_syntax noprefix
-.globl ASM_PFX(InternalMemScanMem16)
+ASM_GLOBAL ASM_PFX(InternalMemScanMem16)
ASM_PFX(InternalMemScanMem16):
push rdi
mov rdi, rcx
diff --git a/MdePkg/Library/BaseMemoryLibMmx/X64/ScanMem32.S b/MdePkg/Library/BaseMemoryLibMmx/X64/ScanMem32.S
index 9acbe788b8..9420725d5e 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/X64/ScanMem32.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/X64/ScanMem32.S
@@ -43,7 +43,7 @@
# );
#------------------------------------------------------------------------------
.intel_syntax noprefix
-.globl ASM_PFX(InternalMemScanMem32)
+ASM_GLOBAL ASM_PFX(InternalMemScanMem32)
ASM_PFX(InternalMemScanMem32):
push rdi
mov rdi, rcx
diff --git a/MdePkg/Library/BaseMemoryLibMmx/X64/ScanMem64.S b/MdePkg/Library/BaseMemoryLibMmx/X64/ScanMem64.S
index addc05758d..d39f17fac3 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/X64/ScanMem64.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/X64/ScanMem64.S
@@ -43,7 +43,7 @@
# );
#------------------------------------------------------------------------------
.intel_syntax noprefix
-.globl ASM_PFX(InternalMemScanMem64)
+ASM_GLOBAL ASM_PFX(InternalMemScanMem64)
ASM_PFX(InternalMemScanMem64):
push rdi
mov rdi, rcx
diff --git a/MdePkg/Library/BaseMemoryLibMmx/X64/ScanMem8.S b/MdePkg/Library/BaseMemoryLibMmx/X64/ScanMem8.S
index c5b5a55cbf..74667a6200 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/X64/ScanMem8.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/X64/ScanMem8.S
@@ -43,7 +43,7 @@
# );
#------------------------------------------------------------------------------
.intel_syntax noprefix
-.globl ASM_PFX(InternalMemScanMem8)
+ASM_GLOBAL ASM_PFX(InternalMemScanMem8)
ASM_PFX(InternalMemScanMem8):
push rdi
mov rdi, rcx
diff --git a/MdePkg/Library/BaseMemoryLibMmx/X64/SetMem.S b/MdePkg/Library/BaseMemoryLibMmx/X64/SetMem.S
index 73ff47058a..814d20c7ce 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/X64/SetMem.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/X64/SetMem.S
@@ -35,7 +35,7 @@
# )
#------------------------------------------------------------------------------
.intel_syntax noprefix
-.globl ASM_PFX(InternalMemSetMem)
+ASM_GLOBAL ASM_PFX(InternalMemSetMem)
ASM_PFX(InternalMemSetMem):
push rdi
mov rax, r8
diff --git a/MdePkg/Library/BaseMemoryLibMmx/X64/SetMem16.S b/MdePkg/Library/BaseMemoryLibMmx/X64/SetMem16.S
index 5fdb844330..e3e6620314 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/X64/SetMem16.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/X64/SetMem16.S
@@ -35,7 +35,7 @@
# )
#------------------------------------------------------------------------------
.intel_syntax noprefix
-.globl ASM_PFX(InternalMemSetMem16)
+ASM_GLOBAL ASM_PFX(InternalMemSetMem16)
ASM_PFX(InternalMemSetMem16):
push rdi
mov rax, r8
diff --git a/MdePkg/Library/BaseMemoryLibMmx/X64/SetMem32.S b/MdePkg/Library/BaseMemoryLibMmx/X64/SetMem32.S
index 73a546113d..a67ca6a843 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/X64/SetMem32.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/X64/SetMem32.S
@@ -35,7 +35,7 @@
# );
#------------------------------------------------------------------------------
.intel_syntax noprefix
-.globl ASM_PFX(InternalMemSetMem32)
+ASM_GLOBAL ASM_PFX(InternalMemSetMem32)
ASM_PFX(InternalMemSetMem32):
movq mm0, r8 # mm0 <- Value
mov rax, rcx # rax <- Buffer
diff --git a/MdePkg/Library/BaseMemoryLibMmx/X64/SetMem64.S b/MdePkg/Library/BaseMemoryLibMmx/X64/SetMem64.S
index 618412ac18..36312d4e7e 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/X64/SetMem64.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/X64/SetMem64.S
@@ -34,7 +34,7 @@
# )
#------------------------------------------------------------------------------
.intel_syntax noprefix
-.globl ASM_PFX(InternalMemSetMem64)
+ASM_GLOBAL ASM_PFX(InternalMemSetMem64)
ASM_PFX(InternalMemSetMem64):
movq mm0, r8 #Value
mov rax, rcx #rax <- Buffer
diff --git a/MdePkg/Library/BaseMemoryLibMmx/X64/ZeroMem.S b/MdePkg/Library/BaseMemoryLibMmx/X64/ZeroMem.S
index 1dbc3be847..b5dec03031 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/X64/ZeroMem.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/X64/ZeroMem.S
@@ -33,7 +33,7 @@
# );
#------------------------------------------------------------------------------
.intel_syntax noprefix
-.globl ASM_PFX(InternalMemZeroMem)
+ASM_GLOBAL ASM_PFX(InternalMemZeroMem)
ASM_PFX(InternalMemZeroMem):
push rdi
mov rdi, rcx