mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
[DDK(XDK]
Add inline functionss Ke*FloatingPointState for amd64 and arm, doing nothing. Noticed by Thomas Faber. svn path=/trunk/; revision=53400
This commit is contained in:
parent
fe7e695657
commit
83d9580f60
5 changed files with 29 additions and 4 deletions
|
@ -1919,7 +1919,7 @@ typedef VOID
|
|||
|
||||
typedef enum _TIMER_SET_INFORMATION_CLASS {
|
||||
TimerSetCoalescableTimer,
|
||||
MaxTimerInfoClass
|
||||
MaxTimerInfoClass
|
||||
} TIMER_SET_INFORMATION_CLASS;
|
||||
|
||||
#if (NTDDI_VERSION >= NTDDI_WIN7)
|
||||
|
@ -5607,8 +5607,8 @@ NTSTATUS
|
|||
NTAPI
|
||||
ZwDisplayString(
|
||||
IN PUNICODE_STRING String);
|
||||
|
||||
NTSYSCALLAPI
|
||||
|
||||
NTSYSAPI
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
ZwPowerInformation(
|
||||
|
|
|
@ -9615,7 +9615,7 @@ ZwFlushBuffersFile(
|
|||
|
||||
#if (VER_PRODUCTBUILD >= 2195)
|
||||
|
||||
NTSYSCALLAPI
|
||||
NTSYSAPI
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
ZwInitiatePowerAction (
|
||||
|
|
|
@ -5457,6 +5457,7 @@ typedef struct _IO_COMPLETION_CONTEXT {
|
|||
#define IRP_DEFER_IO_COMPLETION 0x00000800
|
||||
#define IRP_OB_QUERY_NAME 0x00001000
|
||||
#define IRP_HOLD_DEVICE_QUEUE 0x00002000
|
||||
/* The following 2 are missing in latest WDK */
|
||||
#define IRP_RETRY_IO_COMPLETION 0x00004000
|
||||
#define IRP_CLASS_CACHE_OPERATION 0x00008000
|
||||
|
||||
|
@ -7943,6 +7944,14 @@ KeGetCurrentThread(VOID)
|
|||
return (struct _KTHREAD *)__readgsqword(0x188);
|
||||
}
|
||||
|
||||
FORCEINLINE
|
||||
NTSTATUS
|
||||
KeRestoreFloatingPointState(PVOID FloatingState)
|
||||
{
|
||||
UNREFERENCED_PARAMETER(FloatingState);
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
/* VOID
|
||||
* KeFlushIoBuffers(
|
||||
* IN PMDL Mdl,
|
||||
|
|
|
@ -195,6 +195,14 @@ struct _KTHREAD*
|
|||
NTAPI
|
||||
KeGetCurrentThread(VOID);
|
||||
|
||||
FORCEINLINE
|
||||
NTSTATUS
|
||||
KeRestoreFloatingPointState(PVOID FloatingState)
|
||||
{
|
||||
UNREFERENCED_PARAMETER(FloatingState);
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
extern volatile struct _KSYSTEM_TIME KeTickCount;
|
||||
|
||||
#ifndef YieldProcessor
|
||||
|
|
|
@ -111,6 +111,14 @@ KeGetCurrentThread(VOID)
|
|||
return (struct _KTHREAD *)__readgsqword(0x188);
|
||||
}
|
||||
|
||||
FORCEINLINE
|
||||
NTSTATUS
|
||||
KeRestoreFloatingPointState(PVOID FloatingState)
|
||||
{
|
||||
UNREFERENCED_PARAMETER(FloatingState);
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
/* VOID
|
||||
* KeFlushIoBuffers(
|
||||
* IN PMDL Mdl,
|
||||
|
|
Loading…
Reference in a new issue