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