]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/X64/ReadPmc.asm
Update the copyright notice format
[mirror_edk2.git] / MdePkg / Library / BaseLib / X64 / ReadPmc.asm
index b5004d6f342d1666ed9f6018d7f161d2496a0cbf..b8f1a40fde91c5db118647042dd0acf056c89b75 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
 AsmReadPmc  PROC\r
     rdpmc\r
-    shl     ecx, 1\r
-    jnc     @F\r
-    shl     rax, 20h\r
-    shrd    rax, rdx, 20h\r
-@@:\r
+    shl     rdx, 20h\r
+    or      rax, rdx\r
     ret\r
 AsmReadPmc  ENDP\r
 \r