]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/DebugSupportDxe/Ia32/AsmFuncs.S
A complement fix for revision 11664 to update GCC assembly files : clear the directio...
[mirror_edk2.git] / MdeModulePkg / Universal / DebugSupportDxe / Ia32 / AsmFuncs.S
index b6108227bd83138fea03cfcd770cf92dec35aa2b..fd1a96b76ff4855f0ed24298242c812ed7ced041 100644 (file)
@@ -1,7 +1,7 @@
 #/**@file\r
 # Low leve IA32 specific debug support functions.\r
 #\r
-# Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\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
@@ -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