]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Ia32/WriteMsr64.S
Fix the bug in x64 thunk code that it cannot handle the case when GDT is loaded in...
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / WriteMsr64.S
index f310e887aba3ef924bd02893bae18873235faf50..cb088dc29e72346367c728686a94d9e6cb6cd8da 100644 (file)
@@ -1,11 +1,6 @@
-//\r
-// Include common header file for this module.\r
-//\r
-#include "CommonHeader.h"\r
-\r
 #------------------------------------------------------------------------------\r
 #\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2008, Intel Corporation\r
 # All rights reserved. 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
@@ -16,7 +11,7 @@
 #\r
 # Module Name:\r
 #\r
-#   WriteMsr64.Asm\r
+#   WriteMsr64.S\r
 #\r
 # Abstract:\r
 #\r
@@ -34,7 +29,7 @@
 #   IN UINT64  Value\r
 #   );\r
 #------------------------------------------------------------------------------\r
-.globl ASM_PFX(AsmWriteMsr64)\r
+ASM_GLOBAL ASM_PFX(AsmWriteMsr64)\r
 ASM_PFX(AsmWriteMsr64):\r
     movl    12(%esp), %edx\r
     movl    8(%esp), %eax\r