summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib/Ia32
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2016-05-30 18:51:57 -0700
committerLiming Gao <liming.gao@intel.com>2016-06-28 09:49:00 +0800
commit306e1be5ce258ad8cf4df056cfdd1b6c62db4571 (patch)
tree33f07d7da965c679ce3e75fe0b3bf401aa377e87 /MdePkg/Library/BaseLib/Ia32
parent408bd2031d06b22d4c5be8541799ac19e18b9c7b (diff)
downloadedk2-306e1be5ce258ad8cf4df056cfdd1b6c62db4571.zip
edk2-306e1be5ce258ad8cf4df056cfdd1b6c62db4571.tar.gz
edk2-306e1be5ce258ad8cf4df056cfdd1b6c62db4571.tar.bz2
MdePkg BaseLib: Convert Ia32/ReadMm0.asm to NASM
The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert Ia32/ReadMm0.asm to Ia32/ReadMm0.nasm Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Diffstat (limited to 'MdePkg/Library/BaseLib/Ia32')
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadMm0.nasm41
1 files changed, 41 insertions, 0 deletions
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadMm0.nasm b/MdePkg/Library/BaseLib/Ia32/ReadMm0.nasm
new file mode 100644
index 0000000..59dad06
--- /dev/null
+++ b/MdePkg/Library/BaseLib/Ia32/ReadMm0.nasm
@@ -0,0 +1,41 @@
+;------------------------------------------------------------------------------
+;
+; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
+; This program and the accompanying materials
+; are licensed and made available under the terms and conditions of the BSD License
+; which accompanies this distribution. The full text of the license may be found at
+; http://opensource.org/licenses/bsd-license.php.
+;
+; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+;
+; Module Name:
+;
+; ReadMm0.Asm
+;
+; Abstract:
+;
+; AsmReadMm0 function
+;
+; Notes:
+;
+;------------------------------------------------------------------------------
+
+ SECTION .text
+
+;------------------------------------------------------------------------------
+; UINT64
+; EFIAPI
+; AsmReadMm0 (
+; VOID
+; );
+;------------------------------------------------------------------------------
+global ASM_PFX(AsmReadMm0)
+ASM_PFX(AsmReadMm0):
+ push eax
+ push eax
+ movq [esp], mm0
+ pop eax
+ pop edx
+ ret
+