X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FLibrary%2FBaseLib%2FX64%2FReadMsr64.S;h=f9fe2c080393fd4938eb127e281e4deacc361a92;hp=8c7ec3b82835f9772e2f72d05e3c1d9090eaaeb4;hb=bb817c56c51fabe92915fe30b168b4833cb2aed9;hpb=373ade0eb64a522e45b1b94c15b95fb5ab417c00 diff --git a/MdePkg/Library/BaseLib/X64/ReadMsr64.S b/MdePkg/Library/BaseLib/X64/ReadMsr64.S index 8c7ec3b828..f9fe2c0803 100644 --- a/MdePkg/Library/BaseLib/X64/ReadMsr64.S +++ b/MdePkg/Library/BaseLib/X64/ReadMsr64.S @@ -1,7 +1,7 @@ #------------------------------------------------------------------------------ # -# Copyright (c) 2006 - 2008, Intel Corporation -# All rights reserved. This program and the accompanying materials +# Copyright (c) 2006 - 2009, 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 @@ -29,8 +29,7 @@ # IN UINT32 Index # ); #------------------------------------------------------------------------------ -.global ASM_PFX(AsmReadMsr64) -.align 16 +ASM_GLOBAL ASM_PFX(AsmReadMsr64) ASM_PFX(AsmReadMsr64): rdmsr # edx & eax are zero extended shl $0x20, %rdx