mirror of
https://github.com/reactos/reactos.git
synced 2025-07-22 13:43:48 +00:00
Fix parameters of KeUpdateSystemTime, make it regparm only for X86 ans remove the now deprecated stub.
Add a few stubs for MSVC svn path=/branches/ros-amd64-bringup/; revision=45318
This commit is contained in:
parent
a0055ff789
commit
ef3224edab
2 changed files with 37 additions and 14 deletions
|
@ -39,16 +39,6 @@ KeSynchronizeExecution(
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID
|
|
||||||
NTAPI
|
|
||||||
KeUpdateSystemTime(IN PKTRAP_FRAME TrapFrame,
|
|
||||||
IN KIRQL Irql,
|
|
||||||
IN ULONG Increment)
|
|
||||||
{
|
|
||||||
UNIMPLEMENTED;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
NTAPI
|
NTAPI
|
||||||
KeUserModeCallback(IN ULONG RoutineIndex,
|
KeUserModeCallback(IN ULONG RoutineIndex,
|
||||||
|
@ -161,3 +151,36 @@ ExQueryDepthSList(IN PSLIST_HEADER ListHead)
|
||||||
{
|
{
|
||||||
return (USHORT)(ListHead->Alignment & 0xffff);
|
return (USHORT)(ListHead->Alignment & 0xffff);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
void
|
||||||
|
__GSHandlerCheck()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
int __security_cookie;
|
||||||
|
|
||||||
|
void
|
||||||
|
__security_check_cookie()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
NTKERNELAPI
|
||||||
|
PSLIST_ENTRY
|
||||||
|
ExpInterlockedPopEntrySList(
|
||||||
|
PSLIST_HEADER ListHead)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
NTKERNELAPI
|
||||||
|
PSLIST_ENTRY
|
||||||
|
ExpInterlockedPushEntrySList(
|
||||||
|
PSLIST_HEADER ListHead,
|
||||||
|
PSLIST_ENTRY ListEntry)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -19,7 +19,7 @@ ULONG KeTimeAdjustment;
|
||||||
|
|
||||||
/* FUNCTIONS ******************************************************************/
|
/* FUNCTIONS ******************************************************************/
|
||||||
|
|
||||||
#ifndef _M_ARM
|
#ifdef _M_IX86
|
||||||
VOID
|
VOID
|
||||||
__attribute__((regparm(3)))
|
__attribute__((regparm(3)))
|
||||||
KeUpdateSystemTimeHandler(IN ULONG Increment,
|
KeUpdateSystemTimeHandler(IN ULONG Increment,
|
||||||
|
@ -29,8 +29,8 @@ KeUpdateSystemTimeHandler(IN ULONG Increment,
|
||||||
VOID
|
VOID
|
||||||
NTAPI
|
NTAPI
|
||||||
KeUpdateSystemTime(IN PKTRAP_FRAME TrapFrame,
|
KeUpdateSystemTime(IN PKTRAP_FRAME TrapFrame,
|
||||||
IN ULONG Increment,
|
IN KIRQL Irql,
|
||||||
IN KIRQL Irql)
|
IN ULONG Increment)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
PKPRCB Prcb = KeGetCurrentPrcb();
|
PKPRCB Prcb = KeGetCurrentPrcb();
|
||||||
|
@ -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 */
|
||||||
#if !defined(_M_ARM) && !defined(_M_AMD64)
|
#if defined(_M_IX86)
|
||||||
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…
Add table
Add a link
Reference in a new issue