Author: akhaldi
Date: Wed Jul 27 19:40:12 2011
New Revision: 52943
URL:
http://svn.reactos.org/svn/reactos?rev=52943&view=rev
Log:
[SCSIPORT]
* Add a PCH.
Added:
trunk/reactos/drivers/storage/scsiport/precomp.h (with props)
Modified:
trunk/reactos/drivers/storage/scsiport/CMakeLists.txt
trunk/reactos/drivers/storage/scsiport/scsiport.c
trunk/reactos/drivers/storage/scsiport/scsiport.rbuild
trunk/reactos/drivers/storage/scsiport/stubs.c
Modified: trunk/reactos/drivers/storage/scsiport/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/scsiport/C…
==============================================================================
--- trunk/reactos/drivers/storage/scsiport/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/scsiport/CMakeLists.txt [iso-8859-1] Wed Jul 27 19:40:12
2011
@@ -8,10 +8,8 @@
${CMAKE_CURRENT_BINARY_DIR}/scsiport.def)
add_library(scsiport SHARED ${SOURCE})
-
+add_pch(scsiport precomp.h)
set_module_type(scsiport kernelmodedriver)
-
add_importlibs(scsiport ntoskrnl hal)
add_importlib_target(scsiport.spec)
-
add_cd_file(TARGET scsiport DESTINATION reactos/system32/drivers NO_CAB FOR all)
Added: trunk/reactos/drivers/storage/scsiport/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/scsiport/p…
==============================================================================
--- trunk/reactos/drivers/storage/scsiport/precomp.h (added)
+++ trunk/reactos/drivers/storage/scsiport/precomp.h [iso-8859-1] Wed Jul 27 19:40:12
2011
@@ -1,0 +1,10 @@
+#include <ntddk.h>
+#include <srb.h>
+#include <scsi.h>
+#include <ntddscsi.h>
+#include <ntddstor.h>
+#include <ntdddisk.h>
+#include <stdio.h>
+#include <stdarg.h>
+
+#include "scsiport_int.h"
Propchange: trunk/reactos/drivers/storage/scsiport/precomp.h
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/reactos/drivers/storage/scsiport/scsiport.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/scsiport/s…
==============================================================================
--- trunk/reactos/drivers/storage/scsiport/scsiport.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/scsiport/scsiport.c [iso-8859-1] Wed Jul 27 19:40:12
2011
@@ -27,21 +27,12 @@
/* INCLUDES *****************************************************************/
-#include <ntddk.h>
-#include <srb.h>
-#include <scsi.h>
-#include <ntddscsi.h>
-#include <ntddstor.h>
-#include <ntdddisk.h>
-#include <stdio.h>
-#include <stdarg.h>
+#include "precomp.h"
#ifndef NDEBUG
#define NDEBUG
#endif
#include <debug.h>
-
-#include "scsiport_int.h"
ULONG InternalDebugLevel = 0x00;
Modified: trunk/reactos/drivers/storage/scsiport/scsiport.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/scsiport/s…
==============================================================================
--- trunk/reactos/drivers/storage/scsiport/scsiport.rbuild [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/scsiport/scsiport.rbuild [iso-8859-1] Wed Jul 27
19:40:12 2011
@@ -10,4 +10,5 @@
<file>scsiport.c</file>
<file>stubs.c</file>
<file>scsiport.rc</file>
+ <pch>precomp.h</pch>
</module>
Modified: trunk/reactos/drivers/storage/scsiport/stubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/scsiport/s…
==============================================================================
--- trunk/reactos/drivers/storage/scsiport/stubs.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/scsiport/stubs.c [iso-8859-1] Wed Jul 27 19:40:12 2011
@@ -8,8 +8,7 @@
/* INCLUDES *****************************************************************/
-#include <ntddk.h>
-#include <srb.h>
+#include "precomp.h"
#define NDEBUG
#include <debug.h>