diff options
Diffstat (limited to 'MdePkg/Library/BaseLib/Ia32/ReadEflags.S')
-rw-r--r-- | MdePkg/Library/BaseLib/Ia32/ReadEflags.S | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadEflags.S b/MdePkg/Library/BaseLib/Ia32/ReadEflags.S index a70a209ffb..3e40756fc4 100644 --- a/MdePkg/Library/BaseLib/Ia32/ReadEflags.S +++ b/MdePkg/Library/BaseLib/Ia32/ReadEflags.S @@ -21,9 +21,7 @@ #
#------------------------------------------------------------------------------
-
-
-
+.global _AsmReadEflags
#------------------------------------------------------------------------------
# UINTN
@@ -32,11 +30,7 @@ # VOID
# );
#------------------------------------------------------------------------------
-.global _AsmReadEflags
-_AsmReadEflags:
+_AsmReadEflags:
pushfl
- popl %eax
+ pop %eax
ret
-
-
-
|