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