[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:
Stefan Ginsberg 2012-02-19 10:38:38 +00:00
parent 7991c9c192
commit b2cabd4df9

View file

@ -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