Author: akhaldi
Date: Wed Jul 27 12:41:50 2011
New Revision: 52921
URL:
http://svn.reactos.org/svn/reactos?rev=52921&view=rev
Log:
[MUP]
* Use mup.h as a PCH.
Modified:
trunk/reactos/drivers/filesystems/mup/CMakeLists.txt
trunk/reactos/drivers/filesystems/mup/create.c
trunk/reactos/drivers/filesystems/mup/mup.c
trunk/reactos/drivers/filesystems/mup/mup.h
Modified: trunk/reactos/drivers/filesystems/mup/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/mup/CM…
==============================================================================
--- trunk/reactos/drivers/filesystems/mup/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/mup/CMakeLists.txt [iso-8859-1] Wed Jul 27 12:41:50
2011
@@ -6,5 +6,5 @@
set_module_type(mup kernelmodedriver)
add_importlibs(mup ntoskrnl hal)
-
+add_pch(mup mup.h)
add_cd_file(TARGET mup DESTINATION reactos/system32/drivers FOR all)
Modified: trunk/reactos/drivers/filesystems/mup/create.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/mup/cr…
==============================================================================
--- trunk/reactos/drivers/filesystems/mup/create.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/mup/create.c [iso-8859-1] Wed Jul 27 12:41:50 2011
@@ -27,13 +27,10 @@
/* INCLUDES *****************************************************************/
-#include <ntifs.h>
+#include "mup.h"
//#define NDEBUG
#include <debug.h>
-
-#include "mup.h"
-
/* FUNCTIONS ****************************************************************/
Modified: trunk/reactos/drivers/filesystems/mup/mup.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/mup/mu…
==============================================================================
--- trunk/reactos/drivers/filesystems/mup/mup.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/mup/mup.c [iso-8859-1] Wed Jul 27 12:41:50 2011
@@ -27,13 +27,10 @@
/* INCLUDES *****************************************************************/
-#include <ntddk.h>
+#include "mup.h"
//#define NDEBUG
#include <debug.h>
-
-#include "mup.h"
-
/* GLOBALS *****************************************************************/
Modified: trunk/reactos/drivers/filesystems/mup/mup.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/mup/mu…
==============================================================================
--- trunk/reactos/drivers/filesystems/mup/mup.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/mup/mup.h [iso-8859-1] Wed Jul 27 12:41:50 2011
@@ -1,16 +1,13 @@
-#pragma once
+
+#include <ntddk.h>
#define ROUND_UP(N, S) ((((N) + (S) - 1) / (S)) * (S))
-
-
typedef struct
{
ULONG Dummy;
} DEVICE_EXTENSION, *PDEVICE_EXTENSION, VCB, *PVCB;
-
-
/* create.c */
DRIVER_DISPATCH MupCreate;
@@ -19,7 +16,6 @@
PIRP Irp);
/* mup.c */
-
NTSTATUS NTAPI
DriverEntry(PDRIVER_OBJECT DriverObject,
PUNICODE_STRING RegistryPath);