mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 19:26:42 +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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user