mirror of
https://github.com/reactos/reactos.git
synced 2024-07-07 05:05:09 +00:00
[NTOS]
Add DPRINTs to tell if SYSENTER is detected. Requested by Christoph for testing the test machine. svn path=/trunk/; revision=46253
This commit is contained in:
parent
f891c7f43b
commit
814940c42b
|
@ -1010,18 +1010,21 @@ KiRestoreFastSyscallReturnState(VOID)
|
||||||
|
|
||||||
/* It's enabled, so use the proper exit stub */
|
/* It's enabled, so use the proper exit stub */
|
||||||
KiFastCallExitHandler = KiSystemCallSysExitReturn;
|
KiFastCallExitHandler = KiSystemCallSysExitReturn;
|
||||||
|
DPRINT1("Support for SYSENTER detected.\n");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* Disable fast system call */
|
/* Disable fast system call */
|
||||||
KeFeatureBits &= ~KF_FAST_SYSCALL;
|
KeFeatureBits &= ~KF_FAST_SYSCALL;
|
||||||
KiFastCallExitHandler = KiSystemCallTrapReturn;
|
KiFastCallExitHandler = KiSystemCallTrapReturn;
|
||||||
|
DPRINT1("Support for SYSENTER disabled.\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* Use the IRET handler */
|
/* Use the IRET handler */
|
||||||
KiFastCallExitHandler = KiSystemCallTrapReturn;
|
KiFastCallExitHandler = KiSystemCallTrapReturn;
|
||||||
|
DPRINT1("No support for SYSENTER detected.\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue