diff options
Diffstat (limited to 'MdePkg/Library/BaseLib/Ia32/ReadGs.S')
-rw-r--r-- | MdePkg/Library/BaseLib/Ia32/ReadGs.S | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadGs.S b/MdePkg/Library/BaseLib/Ia32/ReadGs.S index 0d88a60a52..8e0a9d279b 100644 --- a/MdePkg/Library/BaseLib/Ia32/ReadGs.S +++ b/MdePkg/Library/BaseLib/Ia32/ReadGs.S @@ -21,9 +21,7 @@ #
#------------------------------------------------------------------------------
-
-
-
+.global _AsmReadGs
#------------------------------------------------------------------------------
# UINT16
@@ -32,10 +30,6 @@ # VOID
# );
#------------------------------------------------------------------------------
-.global _AsmReadGs
-_AsmReadGs:
- movw %gs,%ax
+_AsmReadGs:
+ movl %gs, %eax
ret
-
-
-
|