mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
[NTOSKRNL]
- Fix KiEnterV86Mode's check for TRAP_DEBUG to #if instead of #ifdef, it is either defined to 1 or 0, like DBG. svn path=/trunk/; revision=55709
This commit is contained in:
parent
7991c9c192
commit
b2cabd4df9
1 changed files with 3 additions and 1 deletions
|
@ -526,7 +526,9 @@ KiEnterV86Mode(IN PKV8086_STACK_FRAME StackFrame)
|
|||
TrapFrame->HardwareEsp = 0x11FFE;
|
||||
TrapFrame->ExceptionList = EXCEPTION_CHAIN_END;
|
||||
TrapFrame->Dr7 = 0;
|
||||
#ifdef TRAP_DEBUG
|
||||
|
||||
/* Set some debug fields if trap debugging is enabled */
|
||||
#if TRAP_DEBUG
|
||||
TrapFrame->DbgArgMark = 0xBADB0D00;
|
||||
TrapFrame->PreviousPreviousMode = -1;
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue