Author: tkreuzer
Date: Tue Aug 23 22:31:20 2011
New Revision: 53400
URL:
http://svn.reactos.org/svn/reactos?rev=53400&view=rev
Log:
[DDK(XDK]
Add inline functionss Ke*FloatingPointState for amd64 and arm, doing nothing. Noticed by
Thomas Faber.
Modified:
trunk/reactos/include/ddk/ntddk.h
trunk/reactos/include/ddk/ntifs.h
trunk/reactos/include/ddk/wdm.h
trunk/reactos/include/reactos/arm/armddk.h
trunk/reactos/include/xdk/amd64/ke.h
Modified: trunk/reactos/include/ddk/ntddk.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/ntddk.h?rev=53…
==============================================================================
--- trunk/reactos/include/ddk/ntddk.h [iso-8859-1] (original)
+++ trunk/reactos/include/ddk/ntddk.h [iso-8859-1] Tue Aug 23 22:31:20 2011
@@ -1919,7 +1919,7 @@
typedef enum _TIMER_SET_INFORMATION_CLASS {
TimerSetCoalescableTimer,
- MaxTimerInfoClass
+ MaxTimerInfoClass
} TIMER_SET_INFORMATION_CLASS;
#if (NTDDI_VERSION >= NTDDI_WIN7)
@@ -5607,8 +5607,8 @@
NTAPI
ZwDisplayString(
IN PUNICODE_STRING String);
-
-NTSYSCALLAPI
+
+NTSYSAPI
NTSTATUS
NTAPI
ZwPowerInformation(
Modified: trunk/reactos/include/ddk/ntifs.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/ntifs.h?rev=53…
==============================================================================
--- trunk/reactos/include/ddk/ntifs.h [iso-8859-1] (original)
+++ trunk/reactos/include/ddk/ntifs.h [iso-8859-1] Tue Aug 23 22:31:20 2011
@@ -9615,7 +9615,7 @@
#if (VER_PRODUCTBUILD >= 2195)
-NTSYSCALLAPI
+NTSYSAPI
NTSTATUS
NTAPI
ZwInitiatePowerAction (
Modified: trunk/reactos/include/ddk/wdm.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/wdm.h?rev=5340…
==============================================================================
--- trunk/reactos/include/ddk/wdm.h [iso-8859-1] (original)
+++ trunk/reactos/include/ddk/wdm.h [iso-8859-1] Tue Aug 23 22:31:20 2011
@@ -5457,6 +5457,7 @@
#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 @@
return (struct _KTHREAD *)__readgsqword(0x188);
}
+FORCEINLINE
+NTSTATUS
+KeRestoreFloatingPointState(PVOID FloatingState)
+{
+ UNREFERENCED_PARAMETER(FloatingState);
+ return STATUS_SUCCESS;
+}
+
/* VOID
* KeFlushIoBuffers(
* IN PMDL Mdl,
Modified: trunk/reactos/include/reactos/arm/armddk.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/arm/armddk…
==============================================================================
--- trunk/reactos/include/reactos/arm/armddk.h [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/arm/armddk.h [iso-8859-1] Tue Aug 23 22:31:20 2011
@@ -195,6 +195,14 @@
NTAPI
KeGetCurrentThread(VOID);
+FORCEINLINE
+NTSTATUS
+KeRestoreFloatingPointState(PVOID FloatingState)
+{
+ UNREFERENCED_PARAMETER(FloatingState);
+ return STATUS_SUCCESS;
+}
+
extern volatile struct _KSYSTEM_TIME KeTickCount;
#ifndef YieldProcessor
Modified: trunk/reactos/include/xdk/amd64/ke.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/xdk/amd64/ke.h?rev…
==============================================================================
--- trunk/reactos/include/xdk/amd64/ke.h [iso-8859-1] (original)
+++ trunk/reactos/include/xdk/amd64/ke.h [iso-8859-1] Tue Aug 23 22:31:20 2011
@@ -109,6 +109,14 @@
KeGetCurrentThread(VOID)
{
return (struct _KTHREAD *)__readgsqword(0x188);
+}
+
+FORCEINLINE
+NTSTATUS
+KeRestoreFloatingPointState(PVOID FloatingState)
+{
+ UNREFERENCED_PARAMETER(FloatingState);
+ return STATUS_SUCCESS;
}
/* VOID