mirror of
https://github.com/reactos/reactos.git
synced 2024-08-21 02:43:48 +00:00
[NTOS]
- Comment out NtRaiseException and NtContinue for now - Use TrapFrame->PreviousMode like done for arm svn path=/branches/ros-amd64-bringup/; revision=45187
This commit is contained in:
parent
5f457606f3
commit
4409da3038
|
@ -167,6 +167,8 @@ KiRaiseException(IN PEXCEPTION_RECORD ExceptionRecord,
|
||||||
|
|
||||||
/* SYSTEM CALLS ***************************************************************/
|
/* SYSTEM CALLS ***************************************************************/
|
||||||
|
|
||||||
|
#ifndef _M_AMD64
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
NTAPI
|
NTAPI
|
||||||
NtRaiseException(IN PEXCEPTION_RECORD ExceptionRecord,
|
NtRaiseException(IN PEXCEPTION_RECORD ExceptionRecord,
|
||||||
|
@ -239,5 +241,6 @@ NtContinue(IN PCONTEXT Context,
|
||||||
/* We don't actually make it here */
|
/* We don't actually make it here */
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/* EOF */
|
/* EOF */
|
||||||
|
|
|
@ -133,7 +133,7 @@ KeUpdateRunTime(IN PKTRAP_FRAME TrapFrame,
|
||||||
Prcb->InterruptCount++;
|
Prcb->InterruptCount++;
|
||||||
|
|
||||||
/* Check if we came from user mode */
|
/* Check if we came from user mode */
|
||||||
#ifndef _M_ARM
|
#if !defined(_M_ARM) && !defined(_M_AMD64)
|
||||||
if ((TrapFrame->SegCs & MODE_MASK) || (TrapFrame->EFlags & EFLAGS_V86_MASK))
|
if ((TrapFrame->SegCs & MODE_MASK) || (TrapFrame->EFlags & EFLAGS_V86_MASK))
|
||||||
#else
|
#else
|
||||||
if (TrapFrame->PreviousMode == UserMode)
|
if (TrapFrame->PreviousMode == UserMode)
|
||||||
|
|
Loading…
Reference in a new issue