;------------------------------------------------------------------------------ ; ; Copyright (c) 2006, Intel Corporation. All rights reserved.
; SPDX-License-Identifier: BSD-2-Clause-Patent ; ; Module Name: ; ; ReadMsr64.Asm ; ; Abstract: ; ; AsmReadMsr64 function ; ; Notes: ; ;------------------------------------------------------------------------------ SECTION .text ;------------------------------------------------------------------------------ ; UINT64 ; EFIAPI ; AsmReadMsr64 ( ; IN UINT64 Index ; ); ;------------------------------------------------------------------------------ global ASM_PFX(AsmReadMsr64) ASM_PFX(AsmReadMsr64): mov ecx, [esp + 4] rdmsr ret