mirror of
https://github.com/reactos/reactos.git
synced 2025-04-26 00:20:34 +00:00
[NTOS] Fix saving of XMM registers on some trap handlers
This commit is contained in:
parent
52fe43e87b
commit
2e3fe5de90
1 changed files with 6 additions and 6 deletions
|
@ -590,7 +590,7 @@ ENDFUNC
|
|||
PUBLIC KiApcInterrupt
|
||||
.PROC KiApcInterrupt
|
||||
/* No error code */
|
||||
EnterTrap (TF_VOLATILES or TF_IRQL)
|
||||
EnterTrap (TF_SAVE_ALL or TF_IRQL)
|
||||
|
||||
/* Raise to APC_LEVEL */
|
||||
mov rax, APC_LEVEL
|
||||
|
@ -617,7 +617,7 @@ PUBLIC KiApcInterrupt
|
|||
mov cr8, rax
|
||||
|
||||
/* Return */
|
||||
ExitTrap (TF_VOLATILES or TF_IRQL)
|
||||
ExitTrap (TF_SAVE_ALL or TF_IRQL)
|
||||
.ENDP
|
||||
|
||||
/*
|
||||
|
@ -659,20 +659,20 @@ PUBLIC KiRetireDpcListInDpcStack
|
|||
PUBLIC KiDpcInterrupt
|
||||
.PROC KiDpcInterrupt
|
||||
/* No error code */
|
||||
EnterTrap (TF_VOLATILES or TF_IRQL)
|
||||
EnterTrap (TF_SAVE_ALL or TF_IRQL)
|
||||
|
||||
/* Call the worker routine */
|
||||
call KiDpcInterruptHandler
|
||||
|
||||
/* Return, but don't send an EOI! */
|
||||
ExitTrap (TF_VOLATILES or TF_IRQL)
|
||||
ExitTrap (TF_SAVE_ALL or TF_IRQL)
|
||||
.ENDP
|
||||
|
||||
|
||||
PUBLIC KiIpiInterrupt
|
||||
.PROC KiIpiInterrupt
|
||||
/* No error code */
|
||||
EnterTrap (TF_VOLATILES or TF_IRQL)
|
||||
EnterTrap (TF_SAVE_ALL or TF_IRQL)
|
||||
|
||||
/* Raise to IPI_LEVEL */
|
||||
mov rax, IPI_LEVEL
|
||||
|
@ -684,7 +684,7 @@ PUBLIC KiIpiInterrupt
|
|||
int 3
|
||||
|
||||
/* Return */
|
||||
ExitTrap (TF_VOLATILES or TF_IRQL)
|
||||
ExitTrap (TF_SAVE_ALL or TF_IRQL)
|
||||
.ENDP
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue