]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Ia32/ReadMm5.c
Fix the bug in x64 thunk code that it cannot handle the case when GDT is loaded in...
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / ReadMm5.c
index ed3d37c41651052b94e4d650c4486c1556e179c6..8d212a055d535ba143bf8fa27942748b4a2668b9 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmReadMm5 function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2008, Intel Corporation<BR>\r
   All rights reserved. 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
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
 \r
+\r
+\r
+/**\r
+  Reads the current value of 64-bit MMX Register #5 (MM5).\r
+\r
+  Reads and returns the current value of MM5. This function is only available\r
+  on IA-32 and x64.\r
+\r
+  @return The current value of MM5.\r
+\r
+**/\r
 UINT64\r
 EFIAPI\r
 AsmReadMm5 (\r
@@ -30,4 +40,3 @@ AsmReadMm5 (
   }\r
 }\r
 \r
-#endif\r