mirror of
https://github.com/reactos/reactos.git
synced 2025-04-05 13:11:22 +00:00
[NTOS] Add a hack for VBox
This commit is contained in:
parent
f96bee30ed
commit
ae39ad4d10
1 changed files with 4 additions and 0 deletions
|
@ -316,6 +316,10 @@ ENDFUNC
|
|||
|
||||
PUBLIC KiDoubleFaultAbort
|
||||
FUNC KiDoubleFaultAbort
|
||||
|
||||
/* Hack for VBox, which "forgets" to push an error code on the stack! */
|
||||
and rsp, HEX(FFFFFFFFFFFFFFF0)
|
||||
|
||||
/* A zero error code is pushed */
|
||||
EnterTrap (TF_HAS_ERROR_CODE OR TF_SAVE_ALL)
|
||||
|
||||
|
|
Loading…
Reference in a new issue