X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FLibrary%2FBaseLib%2FIa32%2FReadMm2.c;h=8cc22bc6ad52bb3613ba9118ffa2a8920d2d21b0;hb=bb817c56c51fabe92915fe30b168b4833cb2aed9;hp=33188eb11eb121147f3e6298cd9050df150e9c4d;hpb=23086ba84cbb13350a2464b857b197eef67f1361;p=mirror_edk2.git
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadMm2.c b/MdePkg/Library/BaseLib/Ia32/ReadMm2.c
index 33188eb11e..8cc22bc6ad 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadMm2.c
+++ b/MdePkg/Library/BaseLib/Ia32/ReadMm2.c
@@ -1,8 +1,8 @@
/** @file
AsmReadMm2 function
- Copyright (c) 2006, Intel Corporation
- All rights reserved. This program and the accompanying materials
+ Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.
+ 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
@@ -12,8 +12,18 @@
**/
-#if _MSC_EXTENSIONS
+
+
+/**
+ Reads the current value of 64-bit MMX Register #2 (MM2).
+
+ Reads and returns the current value of MM2. This function is only available
+ on IA-32 and x64.
+
+ @return The current value of MM2.
+
+**/
UINT64
EFIAPI
AsmReadMm2 (
@@ -30,4 +40,3 @@ AsmReadMm2 (
}
}
-#endif