* Add a PCH.
svn path=/trunk/; revision=52940
floppy.rc)
target_link_libraries(floppy csq)
-
+add_pch(floppy precomp.h)
set_module_type(floppy kernelmodedriver)
add_importlibs(floppy hal ntoskrnl)
-
add_cd_file(TARGET floppy DESTINATION reactos/system32/drivers NO_CAB FOR all)
* that my lock choice is a spin lock.
*/
-#include <ntddk.h>
-#include <debug.h>
-
-#include "floppy.h"
-#include "csqrtns.h"
+#include "precomp.h"
/* Global CSQ struct that the CSQ functions initialize and use */
IO_CSQ Csq;
* 15-Feb-2004 vizzini - Created
*/
-#ifdef _MSC_VER
#include <csq.h>
-#else
-#include <csq.h>
-#endif
/*
* CSQ Stuff
* TODO: Media detection based on sector 1
*/
-#include <ntddk.h>
-#include <debug.h>
-
-#include "floppy.h"
-#include "hardware.h"
-#include "csqrtns.h"
-#include "ioctl.h"
-#include "readwrite.h"
+#include "precomp.h"
/*
* Global controller info structures. Each controller gets one. Since the system
<file>ioctl.c</file>
<file>readwrite.c</file>
<file>floppy.rc</file>
+ <pch>precomp.h</pch>
</module>
* I prefer bit fields, but they break endianness.
*/
-#include <ntddk.h>
-#include <debug.h>
-
-#include "floppy.h"
-#include "hardware.h"
+#include "precomp.h"
/*
* Hardware Support Routines
* TODO: Implement format
*/
-#include <ntddk.h>
-#include <debug.h>
-
-#include "floppy.h"
-#include "hardware.h"
-#include "csqrtns.h"
-#include "ioctl.h"
+#include "precomp.h"
NTSTATUS NTAPI
--- /dev/null
+#include <ntddk.h>
+#include <debug.h>
+
+#include "floppy.h"
+#include "csqrtns.h"
+#include "hardware.h"
+#include "csqrtns.h"
+#include "ioctl.h"
+#include "readwrite.h"
* TODO: Figure out specify timings
*/
-#include <ntddk.h>
-#include <debug.h>
-
-#include "floppy.h"
-#include "csqrtns.h"
-#include "hardware.h"
-#include "readwrite.h"
+#include "precomp.h"
static IO_ALLOCATION_ACTION NTAPI