- Fix typo in NDK
- Fix compilation of NPFS and MSFS and increase their compile speed by
using PCH.
Modified: trunk/reactos/drivers/fs/ms/create.c
Modified: trunk/reactos/drivers/fs/ms/finfo.c
Modified: trunk/reactos/drivers/fs/ms/fsctrl.c
Modified: trunk/reactos/drivers/fs/ms/msfs.c
Modified: trunk/reactos/drivers/fs/ms/msfs.h
Modified: trunk/reactos/drivers/fs/ms/msfs.xml
Modified: trunk/reactos/drivers/fs/ms/rw.c
Modified: trunk/reactos/drivers/fs/np/create.c
Modified: trunk/reactos/drivers/fs/np/npfs.xml
Modified: trunk/reactos/include/ndk/iotypes.h
_____
Modified: trunk/reactos/drivers/fs/ms/create.c
--- trunk/reactos/drivers/fs/ms/create.c 2005-09-04 22:20:22 UTC
(rev 17646)
+++ trunk/reactos/drivers/fs/ms/create.c 2005-09-04 22:33:28 UTC
(rev 17647)
@@ -9,8 +9,6 @@
/* INCLUDES
******************************************************************/
-#include <ntifs.h>
-#include <ndk/iotypes.h>
#include "msfs.h"
#define NDEBUG
@@ -107,7 +105,7 @@
MsfsCreateMailslot(PDEVICE_OBJECT DeviceObject,
PIRP Irp)
{
- PIO_STACK_LOCATION IoStack;
+ PEXTENDED_IO_STACK_LOCATION IoStack;
PFILE_OBJECT FileObject;
PMSFS_DEVICE_EXTENSION DeviceExtension;
PMSFS_MAILSLOT Mailslot;
@@ -119,7 +117,7 @@
DPRINT("MsfsCreateMailslot(DeviceObject %p Irp %p)\n", DeviceObject,
Irp);
- IoStack = IoGetCurrentIrpStackLocation(Irp);
+ IoStack =
(PEXTENDED_IO_STACK_LOCATION)IoGetCurrentIrpStackLocation(Irp);
DeviceExtension = DeviceObject->DeviceExtension;
FileObject = IoStack->FileObject;
Buffer = IoStack->Parameters.CreateMailslot.Parameters;
_____
Modified: trunk/reactos/drivers/fs/ms/finfo.c
--- trunk/reactos/drivers/fs/ms/finfo.c 2005-09-04 22:20:22 UTC (rev
17646)
+++ trunk/reactos/drivers/fs/ms/finfo.c 2005-09-04 22:33:28 UTC (rev
17647)
@@ -9,7 +9,6 @@
/* INCLUDES
******************************************************************/
-#include <ntifs.h>
#include "msfs.h"
#define NDEBUG
_____
Modified: trunk/reactos/drivers/fs/ms/fsctrl.c
--- trunk/reactos/drivers/fs/ms/fsctrl.c 2005-09-04 22:20:22 UTC
(rev 17646)
+++ trunk/reactos/drivers/fs/ms/fsctrl.c 2005-09-04 22:33:28 UTC
(rev 17647)
@@ -9,10 +9,9 @@
/* INCLUDES
******************************************************************/
-#include <ntifs.h>
#include "msfs.h"
-//#define NDEBUG
+#define NDEBUG
#include <debug.h>
_____
Modified: trunk/reactos/drivers/fs/ms/msfs.c
--- trunk/reactos/drivers/fs/ms/msfs.c 2005-09-04 22:20:22 UTC (rev
17646)
+++ trunk/reactos/drivers/fs/ms/msfs.c 2005-09-04 22:33:28 UTC (rev
17647)
@@ -9,7 +9,6 @@
/* INCLUDES
******************************************************************/
-#include <ntifs.h>
#include "msfs.h"
#define NDEBUG
_____
Modified: trunk/reactos/drivers/fs/ms/msfs.h
--- trunk/reactos/drivers/fs/ms/msfs.h 2005-09-04 22:20:22 UTC (rev
17646)
+++ trunk/reactos/drivers/fs/ms/msfs.h 2005-09-04 22:33:28 UTC (rev
17647)
@@ -1,6 +1,9 @@
#ifndef __SERVICES_FS_MS_MSFS_H
#define __SERVICES_FS_MS_MSFS_H
+#include <ntifs.h>
+#include <ndk/iotypes.h>
+
typedef struct _MSFS_DEVICE_EXTENSION
{
LIST_ENTRY MailslotListHead;
_____
Modified: trunk/reactos/drivers/fs/ms/msfs.xml
--- trunk/reactos/drivers/fs/ms/msfs.xml 2005-09-04 22:20:22 UTC
(rev 17646)
+++ trunk/reactos/drivers/fs/ms/msfs.xml 2005-09-04 22:33:28 UTC
(rev 17647)
@@ -9,4 +9,5 @@
<file>msfs.c</file>
<file>rw.c</file>
<file>msfs.rc</file>
+ <pch>msfs.h</pch>
</module>
_____
Modified: trunk/reactos/drivers/fs/ms/rw.c
--- trunk/reactos/drivers/fs/ms/rw.c 2005-09-04 22:20:22 UTC (rev
17646)
+++ trunk/reactos/drivers/fs/ms/rw.c 2005-09-04 22:33:28 UTC (rev
17647)
@@ -9,7 +9,6 @@
/* INCLUDES
******************************************************************/
-#include <ntifs.h>
#include "msfs.h"
#define NDEBUG
_____
Modified: trunk/reactos/drivers/fs/np/create.c
--- trunk/reactos/drivers/fs/np/create.c 2005-09-04 22:20:22 UTC
(rev 17646)
+++ trunk/reactos/drivers/fs/np/create.c 2005-09-04 22:33:28 UTC
(rev 17647)
@@ -107,7 +107,7 @@
NpfsCreate(PDEVICE_OBJECT DeviceObject,
PIRP Irp)
{
- PIO_STACK_LOCATION IoStack;
+ PEXTENDED_IO_STACK_LOCATION IoStack;
PFILE_OBJECT FileObject;
PNPFS_PIPE Pipe;
PNPFS_FCB ClientFcb;
@@ -118,7 +118,7 @@
DPRINT("NpfsCreate(DeviceObject %p Irp %p)\n", DeviceObject, Irp);
DeviceExt = (PNPFS_DEVICE_EXTENSION)DeviceObject->DeviceExtension;
- IoStack = IoGetCurrentIrpStackLocation(Irp);
+ IoStack =
(PEXTENDED_IO_STACK_LOCATION)IoGetCurrentIrpStackLocation(Irp);
FileObject = IoStack->FileObject;
DPRINT("FileObject %p\n", FileObject);
DPRINT("FileName %wZ\n", &FileObject->FileName);
@@ -307,7 +307,7 @@
NpfsCreateNamedPipe(PDEVICE_OBJECT DeviceObject,
PIRP Irp)
{
- PIO_STACK_LOCATION IoStack;
+ PEXTENDED_IO_STACK_LOCATION IoStack;
PFILE_OBJECT FileObject;
PNPFS_DEVICE_EXTENSION DeviceExt;
PNPFS_PIPE Pipe;
@@ -318,7 +318,7 @@
DPRINT("NpfsCreateNamedPipe(DeviceObject %p Irp %p)\n",
DeviceObject, Irp);
DeviceExt = (PNPFS_DEVICE_EXTENSION)DeviceObject->DeviceExtension;
- IoStack = IoGetCurrentIrpStackLocation(Irp);
+ IoStack =
(PEXTENDED_IO_STACK_LOCATION)IoGetCurrentIrpStackLocation(Irp);
FileObject = IoStack->FileObject;
DPRINT("FileObject %p\n", FileObject);
DPRINT("Pipe name %wZ\n", &FileObject->FileName);
_____
Modified: trunk/reactos/drivers/fs/np/npfs.xml
--- trunk/reactos/drivers/fs/np/npfs.xml 2005-09-04 22:20:22 UTC
(rev 17646)
+++ trunk/reactos/drivers/fs/np/npfs.xml 2005-09-04 22:33:28 UTC
(rev 17647)
@@ -10,4 +10,5 @@
<file>rw.c</file>
<file>volume.c</file>
<file>npfs.rc</file>
+ <pch>npfs.h</pch>
</module>
_____
Modified: trunk/reactos/include/ndk/iotypes.h
--- trunk/reactos/include/ndk/iotypes.h 2005-09-04 22:20:22 UTC (rev
17646)
+++ trunk/reactos/include/ndk/iotypes.h 2005-09-04 22:33:28 UTC (rev
17647)
@@ -889,7 +889,7 @@
PFILE_OBJECT FileObject;
PIO_COMPLETION_ROUTINE CompletionRoutine;
PVOID Context;
-} IO_STACK_LOCATION, *PIO_STACK_LOCATION;
+} EXTENDED_IO_STACK_LOCATION, *PEXTENDED_IO_STACK_LOCATION;
#if !defined(_ALPHA_)
#include <poppack.h>
#endif