#*****************************************************************************\r
#*\r
-#* Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r
+#* Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
#* This program and the accompanying materials \r
#* are licensed and made available under the terms and conditions of the BSD License \r
#* which accompanies this distribution. The full text of the license may be found at \r
ret\r
#AsmFxRestore ENDP\r
\r
+#------------------------------------------------------------------------------\r
+# UINTN\r
+# AsmGetEflags (\r
+# VOID\r
+# );\r
+#------------------------------------------------------------------------------\r
+ASM_PFX(AsmGetEflags):\r
+ pushfl\r
+ pop %eax\r
+ ret\r
+#AsmGetEflags ENDP\r
\r
+#------------------------------------------------------------------------------\r
+# VOID\r
+# AsmSetEflags (\r
+# IN UINTN Eflags\r
+# );\r
+#------------------------------------------------------------------------------\r
+ASM_PFX(AsmSetEflags):\r
+ push 4(%esp)\r
+ popfl\r
+ ret\r
+#AsmSetEflags ENDP\r