--- /dev/null
+;------------------------------------------------------------------------------\r
+;\r
+; Copyright (C) 2020, Advanced Micro Devices, Inc. All rights reserved.<BR>\r
+; SPDX-License-Identifier: BSD-2-Clause-Patent\r
+;\r
+; Module Name:\r
+;\r
+; XGetBv.Asm\r
+;\r
+; Abstract:\r
+;\r
+; AsmXgetBv function\r
+;\r
+; Notes:\r
+;\r
+;------------------------------------------------------------------------------\r
+\r
+ SECTION .text\r
+\r
+;------------------------------------------------------------------------------\r
+; UINT64\r
+; EFIAPI\r
+; AsmXGetBv (\r
+; IN UINT32 Index\r
+; );\r
+;------------------------------------------------------------------------------\r
+global ASM_PFX(AsmXGetBv)\r
+ASM_PFX(AsmXGetBv):\r
+ mov ecx, [esp + 4]\r
+ xgetbv\r
+ ret\r