]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/Ia32/AsmFuncs.S
This revision can only work with Intel(c) UDK Debugger Tool version 1.2 or greater...
[mirror_edk2.git] / SourceLevelDebugPkg / Library / DebugAgent / DebugAgentCommon / Ia32 / AsmFuncs.S
index 365947f4d581d1ef2eb753001ccbb11d1e34990d..cfeeea0472c60675c825f7815c0d77dad4df2fe6 100644 (file)
@@ -1,6 +1,6 @@
 #------------------------------------------------------------------------------\r
 #\r
-# Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2010 - 2012, 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
@@ -281,6 +281,9 @@ NoExtrPush:
   movl    %esp,%edi\r
   .byte 0x0f, 0xae, 0x07   # fxsave [edi]\r
 \r
+## save the exception data\r
+  pushl   8(%esp)\r
+\r
 ## Clear Direction Flag\r
   cld\r
        \r
@@ -290,6 +293,9 @@ NoExtrPush:
   call    ASM_PFX(InterruptProcess)\r
   addl    $8,%esp\r
 \r
+## skip the exception data\r
+  addl    $4,%esp\r
+\r
 ## FX_SAVE_STATE_IA32 FxSaveState;\r
   movl    %esp,%esi\r
   .byte 0x0f, 0xae, 0x0e   # fxrstor [esi]\r