summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseMemoryLibMmx
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BaseMemoryLibMmx')
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/Ia32/CompareMem.S4
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/Ia32/CopyMem.S4
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem16.S4
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem32.S4
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem64.S4
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem8.S4
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem.S4
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem16.S4
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem32.S4
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem64.S4
-rw-r--r--MdePkg/Library/BaseMemoryLibMmx/Ia32/ZeroMem.S4
11 files changed, 22 insertions, 22 deletions
diff --git a/MdePkg/Library/BaseMemoryLibMmx/Ia32/CompareMem.S b/MdePkg/Library/BaseMemoryLibMmx/Ia32/CompareMem.S
index 3814cd36d2..e3da4ffb95 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/Ia32/CompareMem.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/Ia32/CompareMem.S
@@ -29,7 +29,7 @@
#
#------------------------------------------------------------------------------
-.globl _InternalMemCompareMem
+.globl ASM_PFX(InternalMemCompareMem)
#------------------------------------------------------------------------------
# INTN
@@ -40,7 +40,7 @@
# IN UINTN Length
# );
#------------------------------------------------------------------------------
-_InternalMemCompareMem:
+ASM_PFX(InternalMemCompareMem):
push %esi
push %edi
movl 12(%esp), %esi
diff --git a/MdePkg/Library/BaseMemoryLibMmx/Ia32/CopyMem.S b/MdePkg/Library/BaseMemoryLibMmx/Ia32/CopyMem.S
index 71d3d20d5c..ea75f70001 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/Ia32/CopyMem.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/Ia32/CopyMem.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.globl _InternalMemCopyMem
+.globl ASM_PFX(InternalMemCopyMem)
#------------------------------------------------------------------------------
# VOID *
@@ -32,7 +32,7 @@
# IN UINTN Count
# );
#------------------------------------------------------------------------------
-_InternalMemCopyMem:
+ASM_PFX(InternalMemCopyMem):
push %esi
push %edi
movl 16(%esp), %esi # esi <- Source
diff --git a/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem16.S b/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem16.S
index 38e56493d4..d8bb46b12e 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem16.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem16.S
@@ -29,7 +29,7 @@
#
#------------------------------------------------------------------------------
-.globl _InternalMemScanMem16
+.globl ASM_PFX(InternalMemScanMem16)
#------------------------------------------------------------------------------
# CONST VOID *
@@ -40,7 +40,7 @@
# IN UINT16 Value
# );
#------------------------------------------------------------------------------
-_InternalMemScanMem16:
+ASM_PFX(InternalMemScanMem16):
push %edi
movl 12(%esp), %ecx
movl 8(%esp), %edi
diff --git a/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem32.S b/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem32.S
index e572b7fd99..dfc36fdb66 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem32.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem32.S
@@ -29,7 +29,7 @@
#
#------------------------------------------------------------------------------
-.globl _InternalMemScanMem32
+.globl ASM_PFX(InternalMemScanMem32)
#------------------------------------------------------------------------------
# CONST VOID *
@@ -40,7 +40,7 @@
# IN UINT32 Value
# );
#------------------------------------------------------------------------------
-_InternalMemScanMem32:
+ASM_PFX(InternalMemScanMem32):
push %edi
movl 12(%esp), %ecx
movl 8(%esp), %edi
diff --git a/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem64.S b/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem64.S
index cde4f3a734..3b67d4c056 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem64.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem64.S
@@ -29,7 +29,7 @@
#
#------------------------------------------------------------------------------
-.globl _InternalMemScanMem64
+.globl ASM_PFX(InternalMemScanMem64)
#------------------------------------------------------------------------------
# CONST VOID *
@@ -40,7 +40,7 @@
# IN UINT64 Value
# );
#------------------------------------------------------------------------------
-_InternalMemScanMem64:
+ASM_PFX(InternalMemScanMem64):
push %edi
movl 12(%esp), %ecx
movl 16(%esp), %eax
diff --git a/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem8.S b/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem8.S
index b0adcabf93..b3226052c8 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem8.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/Ia32/ScanMem8.S
@@ -29,7 +29,7 @@
#
#------------------------------------------------------------------------------
-.globl _InternalMemScanMem8
+.globl ASM_PFX(InternalMemScanMem8)
#------------------------------------------------------------------------------
# CONST VOID *
@@ -40,7 +40,7 @@
# IN UINT8 Value
# );
#------------------------------------------------------------------------------
-_InternalMemScanMem8:
+ASM_PFX(InternalMemScanMem8):
push %edi
movl 12(%esp), %ecx
movl 8(%esp), %edi
diff --git a/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem.S b/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem.S
index 5606d27b7b..ed4e15e3ca 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.globl _InternalMemSetMem
+.globl ASM_PFX(InternalMemSetMem)
#------------------------------------------------------------------------------
# VOID *
@@ -31,7 +31,7 @@
# IN UINT8 Value
# )
#------------------------------------------------------------------------------
-_InternalMemSetMem:
+ASM_PFX(InternalMemSetMem):
push %edi
movb 16(%esp), %al
movb %al, %ah
diff --git a/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem16.S b/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem16.S
index e0a787afb4..b8066b7784 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem16.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem16.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.globl _InternalMemSetMem16
+.globl ASM_PFX(InternalMemSetMem16)
#------------------------------------------------------------------------------
# VOID *
@@ -31,7 +31,7 @@
# IN UINT16 Value
# )
#------------------------------------------------------------------------------
-_InternalMemSetMem16:
+ASM_PFX(InternalMemSetMem16):
push %edi
movl 16(%esp), %eax
shrdl $16, %eax, %edx
diff --git a/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem32.S b/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem32.S
index 22b50650ad..f6d786e255 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem32.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem32.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.globl _InternalMemSetMem32
+.globl ASM_PFX(InternalMemSetMem32)
#------------------------------------------------------------------------------
# VOID *
@@ -31,7 +31,7 @@
# IN UINT32 Value
# )
#------------------------------------------------------------------------------
-_InternalMemSetMem32:
+ASM_PFX(InternalMemSetMem32):
movl 4(%esp), %eax
movl 8(%esp), %ecx
movd 12(%esp), %mm0
diff --git a/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem64.S b/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem64.S
index efd24ae2ed..7bbf694db8 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem64.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem64.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.globl _InternalMemSetMem64
+.globl ASM_PFX(InternalMemSetMem64)
#------------------------------------------------------------------------------
# VOID *
@@ -31,7 +31,7 @@
# IN UINT64 Value
# )
#------------------------------------------------------------------------------
-_InternalMemSetMem64:
+ASM_PFX(InternalMemSetMem64):
movl 4(%esp), %eax
movl 8(%esp), %ecx
movq 12(%esp), %mm0
diff --git a/MdePkg/Library/BaseMemoryLibMmx/Ia32/ZeroMem.S b/MdePkg/Library/BaseMemoryLibMmx/Ia32/ZeroMem.S
index 999beba3d5..7d93d5be09 100644
--- a/MdePkg/Library/BaseMemoryLibMmx/Ia32/ZeroMem.S
+++ b/MdePkg/Library/BaseMemoryLibMmx/Ia32/ZeroMem.S
@@ -21,7 +21,7 @@
#
#------------------------------------------------------------------------------
-.globl _InternalMemZeroMem
+.globl ASM_PFX(InternalMemZeroMem)
#------------------------------------------------------------------------------
# VOID *
@@ -31,7 +31,7 @@
# IN UINTN Count
# );
#------------------------------------------------------------------------------
-_InternalMemZeroMem:
+ASM_PFX(InternalMemZeroMem):
push %edi
movl 8(%esp), %edi
movl 12(%esp), %ecx