summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib/Ia32/ReadFs.S
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BaseLib/Ia32/ReadFs.S')
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadFs.S12
1 files changed, 3 insertions, 9 deletions
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadFs.S b/MdePkg/Library/BaseLib/Ia32/ReadFs.S
index 7f4fdfa77c..3bf19f23ed 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadFs.S
+++ b/MdePkg/Library/BaseLib/Ia32/ReadFs.S
@@ -21,9 +21,7 @@
#
#------------------------------------------------------------------------------
-
-
-
+.global _AsmReadFs
#------------------------------------------------------------------------------
# UINT16
@@ -32,10 +30,6 @@
# VOID
# );
#------------------------------------------------------------------------------
-.global _AsmReadFs
-_AsmReadFs:
- movw %fs,%ax
+_AsmReadFs:
+ movl %fs, %eax
ret
-
-
-