]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/X64/WriteMsr64.c
Update the copyright notice format
[mirror_edk2.git] / MdePkg / Library / BaseLib / X64 / WriteMsr64.c
index 8e5d90fec40abcdb4abc4a8324c16c06ba1bbb1a..339f8f70f5d38a72ed0f0c60f93f96a64a461c8b 100644 (file)
@@ -1,8 +1,8 @@
 /** @file\r
   CpuBreakpoint function.\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
-  All rights reserved. This program and the accompanying materials\r
+  Copyright (c) 2006 - 2008, 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
-#if _MSC_EXTENSIONS\r
+/**\r
+  Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics.\r
+**/\r
 \r
-//\r
-// Microsoft Visual Studio 7.1 Function Prototypes for I/O Intrinsics\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
@@ -32,4 +40,3 @@ AsmWriteMsr64 (
   return Value;\r
 }\r
 \r
-#endif\r