mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +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:
@@ -1010,18 +1010,21 @@ KiRestoreFastSyscallReturnState(VOID)
|
||||
|
||||
/* It's enabled, so use the proper exit stub */
|
||||
KiFastCallExitHandler = KiSystemCallSysExitReturn;
|
||||
DPRINT1("Support for SYSENTER detected.\n");
|
||||
}
|
||||
else
|
||||
{
|
||||
/* Disable fast system call */
|
||||
KeFeatureBits &= ~KF_FAST_SYSCALL;
|
||||
KiFastCallExitHandler = KiSystemCallTrapReturn;
|
||||
DPRINT1("Support for SYSENTER disabled.\n");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
/* Use the IRET handler */
|
||||
KiFastCallExitHandler = KiSystemCallTrapReturn;
|
||||
DPRINT1("No support for SYSENTER detected.\n");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user