Author: akhaldi
Date: Wed Jul 27 19:33:08 2011
New Revision: 52934
URL:
http://svn.reactos.org/svn/reactos?rev=52934&view=rev
Log:
[TDI]
* Add a PCH.
Added:
trunk/reactos/drivers/network/tdi/precomp.h (with props)
Modified:
trunk/reactos/drivers/network/tdi/CMakeLists.txt
trunk/reactos/drivers/network/tdi/cte/events.c
trunk/reactos/drivers/network/tdi/cte/string.c
trunk/reactos/drivers/network/tdi/cte/timer.c
trunk/reactos/drivers/network/tdi/misc/main.c
trunk/reactos/drivers/network/tdi/tdi.rbuild
trunk/reactos/drivers/network/tdi/tdi/dereg.c
trunk/reactos/drivers/network/tdi/tdi/handler.c
trunk/reactos/drivers/network/tdi/tdi/obsolete.c
trunk/reactos/drivers/network/tdi/tdi/stubs.c
Modified: trunk/reactos/drivers/network/tdi/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/tdi/CMakeL…
==============================================================================
--- trunk/reactos/drivers/network/tdi/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/tdi/CMakeLists.txt [iso-8859-1] Wed Jul 27 19:33:08
2011
@@ -23,8 +23,7 @@
${CMAKE_CURRENT_BINARY_DIR}/tdi.def)
add_library(tdi SHARED ${SOURCE})
-
+add_pch(tdi precomp.h)
set_module_type(tdi kernelmodedriver)
add_importlibs(tdi ntoskrnl hal)
-
add_cd_file(TARGET tdi DESTINATION reactos/system32/drivers FOR all)
Modified: trunk/reactos/drivers/network/tdi/cte/events.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/tdi/cte/ev…
==============================================================================
--- trunk/reactos/drivers/network/tdi/cte/events.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/tdi/cte/events.c [iso-8859-1] Wed Jul 27 19:33:08 2011
@@ -8,7 +8,7 @@
/* INCLUDES *****************************************************************/
-#include <ntddk.h>
+#include "precomp.h"
typedef struct _CTEBLOCK_EVENT
{
Modified: trunk/reactos/drivers/network/tdi/cte/string.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/tdi/cte/st…
==============================================================================
--- trunk/reactos/drivers/network/tdi/cte/string.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/tdi/cte/string.c [iso-8859-1] Wed Jul 27 19:33:08 2011
@@ -1,7 +1,7 @@
/* $Id$
*
*/
-#include <ntddk.h>
+#include "precomp.h"
/*
* @unimplemented
Modified: trunk/reactos/drivers/network/tdi/cte/timer.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/tdi/cte/ti…
==============================================================================
--- trunk/reactos/drivers/network/tdi/cte/timer.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/tdi/cte/timer.c [iso-8859-1] Wed Jul 27 19:33:08 2011
@@ -8,7 +8,7 @@
/* INCLUDES *****************************************************************/
-#include <ntddk.h>
+#include "precomp.h"
/* FIXME: Move to a common header! */
struct _CTE_DELAYED_EVENT;
Modified: trunk/reactos/drivers/network/tdi/misc/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/tdi/misc/m…
==============================================================================
--- trunk/reactos/drivers/network/tdi/misc/main.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/tdi/misc/main.c [iso-8859-1] Wed Jul 27 19:33:08 2011
@@ -2,7 +2,7 @@
* DESCRIPTION: Entry point for TDI.SYS
* (c) Captain Obvious
*/
-#include <ntddk.h>
+#include "precomp.h"
extern LONG CteTimeIncrement;
Added: trunk/reactos/drivers/network/tdi/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/tdi/precom…
==============================================================================
--- trunk/reactos/drivers/network/tdi/precomp.h (added)
+++ trunk/reactos/drivers/network/tdi/precomp.h [iso-8859-1] Wed Jul 27 19:33:08 2011
@@ -1,0 +1,3 @@
+#include <ntddk.h>
+#include <tdikrnl.h>
+#include <tdi.h>
Propchange: trunk/reactos/drivers/network/tdi/precomp.h
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/reactos/drivers/network/tdi/tdi.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/tdi/tdi.rb…
==============================================================================
--- trunk/reactos/drivers/network/tdi/tdi.rbuild [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/tdi/tdi.rbuild [iso-8859-1] Wed Jul 27 19:33:08 2011
@@ -20,4 +20,5 @@
<file>obsolete.c</file>
<file>stubs.c</file>
</directory>
+ <pch>precomp.h</pch>
</module>
Modified: trunk/reactos/drivers/network/tdi/tdi/dereg.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/tdi/tdi/de…
==============================================================================
--- trunk/reactos/drivers/network/tdi/tdi/dereg.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/tdi/tdi/dereg.c [iso-8859-1] Wed Jul 27 19:33:08 2011
@@ -1,5 +1,4 @@
-#include <ntddk.h>
-#include <tdikrnl.h>
+#include "precomp.h"
/* De-/Register Action IDs for TdiDeRegister */
Modified: trunk/reactos/drivers/network/tdi/tdi/handler.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/tdi/tdi/ha…
==============================================================================
--- trunk/reactos/drivers/network/tdi/tdi/handler.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/tdi/tdi/handler.c [iso-8859-1] Wed Jul 27 19:33:08 2011
@@ -2,9 +2,7 @@
*
* DESCRIPTION: Default TDI event handlers.
*/
-#include <ntddk.h>
-#include <tdi.h>
-
+#include "precomp.h"
/*
* ClientEventChainedReceiveDatagram
Modified: trunk/reactos/drivers/network/tdi/tdi/obsolete.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/tdi/tdi/ob…
==============================================================================
--- trunk/reactos/drivers/network/tdi/tdi/obsolete.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/tdi/tdi/obsolete.c [iso-8859-1] Wed Jul 27 19:33:08
2011
@@ -2,7 +2,7 @@
*
*/
-#include <ntddk.h>
+#include "precomp.h"
/*
* @unimplemented
@@ -10,7 +10,7 @@
VOID
NTAPI
TdiMapBuffer (
- ULONG Unknown0
+ IN PMDL MdlChain
)
{
/* This function is absolete */
@@ -23,7 +23,7 @@
VOID
NTAPI
TdiUnmapBuffer (
- ULONG Unknown0
+ IN PMDL MdlChain
)
{
/* This function is obsolete */
Modified: trunk/reactos/drivers/network/tdi/tdi/stubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/tdi/tdi/st…
==============================================================================
--- trunk/reactos/drivers/network/tdi/tdi/stubs.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/tdi/tdi/stubs.c [iso-8859-1] Wed Jul 27 19:33:08 2011
@@ -2,8 +2,7 @@
/* $Id$
*
*/
-#include <ntddk.h>
-#include <tdi.h>
+#include "precomp.h"
/*
* @unimplemented