]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Ia32/ReadMm6.asm
Fix bug in AsmCpuVirtual() to return 1 instead of 0 when CPU is in virtual mode.
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / ReadMm6.asm
index 69d9e13f6b41facf0ed840607e5e0516ea435140..e7dbea71b7a5854bc42fdb96cbf5fbce9ec54828 100644 (file)
@@ -1,7 +1,7 @@
 ;------------------------------------------------------------------------------\r
 ;\r
-; Copyright (c) 2006, Intel Corporation\r
-; All rights reserved. This program and the accompanying materials\r
+; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r
+; This program and the accompanying materials\r
 ; are licensed and made available under the terms and conditions of the BSD License\r
 ; which accompanies this distribution.  The full text of the license may be found at\r
 ; http://opensource.org/licenses/bsd-license.php\r
 ;\r
 ;------------------------------------------------------------------------------\r
 \r
-    .586P\r
-    .model  flat\r
-    .xmm\r
+    .586\r
+    .model  flat,C\r
+    .mmx\r
     .code\r
 \r
 ;------------------------------------------------------------------------------\r
-; UINTN\r
+; UINT64\r
 ; EFIAPI\r
 ; AsmReadMm6 (\r
 ;   VOID\r
 ;   );\r
 ;------------------------------------------------------------------------------\r
-_AsmReadMm6 PROC\r
+AsmReadMm6  PROC\r
     push    eax\r
     push    eax\r
     movq    [esp], mm6\r
     pop     eax\r
     pop     edx\r
     ret\r
-_AsmReadMm6 ENDP\r
+AsmReadMm6  ENDP\r
 \r
     END\r