Author: cwittich
Date: Fri Jul 6 22:14:23 2007
New Revision: 27430
URL:
http://svn.reactos.org/svn/reactos?rev=27430&view=rev
Log:
-some minor changes to be able to build the driver with PREfast
-declare I8042InterruptService* routines as KSERVICE_ROUTINE
Modified:
trunk/reactos/drivers/input/i8042prt/i8042prt.c
trunk/reactos/drivers/input/i8042prt/i8042prt.h
trunk/reactos/drivers/input/i8042prt/keyboard.c
trunk/reactos/drivers/input/i8042prt/mouse.c
trunk/reactos/drivers/input/i8042prt/ps2pp.c
trunk/reactos/drivers/input/i8042prt/registry.c
Modified: trunk/reactos/drivers/input/i8042prt/i8042prt.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/input/i8042prt/i80…
==============================================================================
--- trunk/reactos/drivers/input/i8042prt/i8042prt.c (original)
+++ trunk/reactos/drivers/input/i8042prt/i8042prt.c Fri Jul 6 22:14:23 2007
@@ -10,10 +10,12 @@
/* INCLUDES ****************************************************************/
+#include "i8042prt.h"
+
+#ifndef NDEBUG
#define NDEBUG
+#endif
#include <debug.h>
-
-#include "i8042prt.h"
/* GLOBALS *******************************************************************/
Modified: trunk/reactos/drivers/input/i8042prt/i8042prt.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/input/i8042prt/i80…
==============================================================================
--- trunk/reactos/drivers/input/i8042prt/i8042prt.h (original)
+++ trunk/reactos/drivers/input/i8042prt/i8042prt.h Fri Jul 6 22:14:23 2007
@@ -320,6 +320,7 @@
UCHAR Value,
BOOLEAN WaitForAck);
+KSERVICE_ROUTINE I8042InterruptServiceKbd;
BOOLEAN STDCALL I8042InterruptServiceKbd(struct _KINTERRUPT *Interrupt,
VOID * Context);
@@ -354,6 +355,7 @@
PVOID SystemArgument1,
PVOID SystemArgument2);
+KSERVICE_ROUTINE I8042InterruptServiceMouse;
BOOLEAN STDCALL I8042InterruptServiceMouse(struct _KINTERRUPT *Interrupt,
VOID *Context);
Modified: trunk/reactos/drivers/input/i8042prt/keyboard.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/input/i8042prt/key…
==============================================================================
--- trunk/reactos/drivers/input/i8042prt/keyboard.c (original)
+++ trunk/reactos/drivers/input/i8042prt/keyboard.c Fri Jul 6 22:14:23 2007
@@ -12,9 +12,14 @@
/* INCLUDES ****************************************************************/
#include "i8042prt.h"
+
+#ifdef __REACTOS__
#include "kdfuncs.h"
-
+#endif
+
+#ifndef NDEBUG
#define NDEBUG
+#endif
#include <debug.h>
/* GLOBALS *******************************************************************/
Modified: trunk/reactos/drivers/input/i8042prt/mouse.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/input/i8042prt/mou…
==============================================================================
--- trunk/reactos/drivers/input/i8042prt/mouse.c (original)
+++ trunk/reactos/drivers/input/i8042prt/mouse.c Fri Jul 6 22:14:23 2007
@@ -13,7 +13,9 @@
#include "i8042prt.h"
+#ifndef NDEBUG
#define NDEBUG
+#endif
#include <debug.h>
/*
Modified: trunk/reactos/drivers/input/i8042prt/ps2pp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/input/i8042prt/ps2…
==============================================================================
--- trunk/reactos/drivers/input/i8042prt/ps2pp.c (original)
+++ trunk/reactos/drivers/input/i8042prt/ps2pp.c Fri Jul 6 22:14:23 2007
@@ -9,13 +9,12 @@
/* INCLUDES ****************************************************************/
+#include "i8042prt.h"
+
#ifndef NDEBUG
#define NDEBUG
#endif
#include <debug.h>
-
-#include "i8042prt.h"
-
VOID I8042MouseHandlePs2pp(PDEVICE_EXTENSION DevExt, UCHAR Input)
{
Modified: trunk/reactos/drivers/input/i8042prt/registry.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/input/i8042prt/reg…
==============================================================================
--- trunk/reactos/drivers/input/i8042prt/registry.c (original)
+++ trunk/reactos/drivers/input/i8042prt/registry.c Fri Jul 6 22:14:23 2007
@@ -11,12 +11,12 @@
/* INCLUDES ****************************************************************/
+#include "i8042prt.h"
+
#ifndef NDEBUG
#define NDEBUG
#endif
#include <debug.h>
-
-#include "i8042prt.h"
/* FUNCTIONS *****************************************************************/