]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Ia32/ReadFs.S
Replace .globl with ASM_GLOBAL
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / ReadFs.S
index 7f4fdfa77ca28676bc00ad1b2172b2e9835ff71e..36d6b334d5d21ef7f0984f42c974f7a18bbd8cc1 100644 (file)
@@ -1,6 +1,6 @@
 #------------------------------------------------------------------------------\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
@@ -11,7 +11,7 @@
 #\r
 # Module Name:\r
 #\r
-#   ReadFs.Asm\r
+#   ReadFs.S\r
 #\r
 # Abstract:\r
 #\r
@@ -21,9 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-\r
-\r
-     \r
+ASM_GLOBAL ASM_PFX(AsmReadFs)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINT16\r
 #   VOID\r
 #   );\r
 #------------------------------------------------------------------------------\r
-.global _AsmReadFs\r
-_AsmReadFs: \r
-    movw    %fs,%ax\r
+ASM_PFX(AsmReadFs):\r
+    movl    %fs, %eax\r
     ret\r
-\r
-\r
-\r