]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/DebugSupportDxe/Ia32/AsmFuncs.S
MdeModulePkg/BdsDxe: Avoid overwriting PlatformRecovery####
[mirror_edk2.git] / MdeModulePkg / Universal / DebugSupportDxe / Ia32 / AsmFuncs.S
index 671c8dbdf34603d59a000e0159e4b177259a4367..fd1a96b76ff4855f0ed24298242c812ed7ced041 100644 (file)
@@ -1,8 +1,8 @@
 #/**@file\r
 # Low leve IA32 specific debug support functions.\r
 #\r
-# Copyright (c) 2006 - 2008, Intel Corporation. <BR>\r
-# All rights reserved. This program and the accompanying materials\r
+# Copyright (c) 2006 - 2011, 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
 # http://opensource.org/licenses/bsd-license.php\r
@@ -276,6 +276,9 @@ ASM_PFX(CommonIdtEntry):
         # They MUST be.  If they are not, a GP fault will occur.\r
         fxsave (%edi)\r
 \r
+## UEFI calling convention for IA32 requires that Direction flag in EFLAGs is clear\r
+        cld\r
+                \r
 ## UINT32  ExceptionData;\r
         mov    0x0,%eax\r
         push   %eax\r