]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/X64/WriteMsr64.c
Fix minor issues in GCC assembly. The operand is 64bit and "q" prefix should be applied.
[mirror_edk2.git] / MdePkg / Library / BaseLib / X64 / WriteMsr64.c
index 1d1e0bc3324693c71ccdad6105d78d82dd70791f..c21086155d7050aac14d790c6cc703d374e54fe6 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   CpuBreakpoint function.\r
 \r
-  Copyright (c) 2006 - 2007, 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
-//\r
-// Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics\r
-//\r
+/**\r
+  Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics.\r
+**/\r
+\r
 void __writemsr (unsigned long Register, unsigned __int64 Value);\r
 \r
 #pragma intrinsic(__writemsr)\r
 \r
+/**\r
+  Write data to MSR.\r
+\r
+  @param  Index                Register index of MSR.\r
+  @param  Value                Data wants to be written.\r
+\r
+  @return Value written to MSR.\r
+\r
+**/\r
 UINT64\r
 EFIAPI\r
 AsmWriteMsr64 (\r