#------------------------------------------------------------------------------\r
#\r
-# Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2006 - 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
movq %rsp, %rdi\r
.byte 0x0f, 0xae, 0b00000111\r
\r
+## save the exception data;\r
+ pushq 16(%rbp)\r
+\r
## Clear Direction Flag\r
cld\r
\r
# Per X64 calling convention, allocate maximum parameter stack space\r
# and make sure RSP is 16-byte aligned\r
#\r
- subq $(4 * 8), %rsp\r
+ subq $(32 + 8), %rsp\r
call ASM_PFX(InterruptProcess)\r
- addq $(4 * 8), %rsp\r
+ addq $(32 + 8), %rsp\r
+\r
+## skip the exception data;\r
+ addq $8, %rsp\r
\r
## FX_SAVE_STATE_X64 FxSaveState;\r
\r