-some minor changes to be able to build the driver with PREfast

-declare I8042InterruptService* routines as KSERVICE_ROUTINE

svn path=/trunk/; revision=27430
This commit is contained in:
Christoph von Wittich 2007-07-06 18:14:23 +00:00
parent 9f79a749af
commit ea6b02f501
6 changed files with 19 additions and 9 deletions

View file

@ -10,11 +10,13 @@
/* INCLUDES ****************************************************************/ /* INCLUDES ****************************************************************/
#define NDEBUG
#include <debug.h>
#include "i8042prt.h" #include "i8042prt.h"
#ifndef NDEBUG
#define NDEBUG
#endif
#include <debug.h>
/* GLOBALS *******************************************************************/ /* GLOBALS *******************************************************************/
/* /*

View file

@ -320,6 +320,7 @@ NTSTATUS STDCALL I8042SynchWritePortKbd(PVOID Context,
UCHAR Value, UCHAR Value,
BOOLEAN WaitForAck); BOOLEAN WaitForAck);
KSERVICE_ROUTINE I8042InterruptServiceKbd;
BOOLEAN STDCALL I8042InterruptServiceKbd(struct _KINTERRUPT *Interrupt, BOOLEAN STDCALL I8042InterruptServiceKbd(struct _KINTERRUPT *Interrupt,
VOID * Context); VOID * Context);
@ -354,6 +355,7 @@ VOID STDCALL I8042DpcRoutineMouseTimeout(PKDPC Dpc,
PVOID SystemArgument1, PVOID SystemArgument1,
PVOID SystemArgument2); PVOID SystemArgument2);
KSERVICE_ROUTINE I8042InterruptServiceMouse;
BOOLEAN STDCALL I8042InterruptServiceMouse(struct _KINTERRUPT *Interrupt, BOOLEAN STDCALL I8042InterruptServiceMouse(struct _KINTERRUPT *Interrupt,
VOID *Context); VOID *Context);

View file

@ -12,9 +12,14 @@
/* INCLUDES ****************************************************************/ /* INCLUDES ****************************************************************/
#include "i8042prt.h" #include "i8042prt.h"
#include "kdfuncs.h"
#ifdef __REACTOS__
#include "kdfuncs.h"
#endif
#ifndef NDEBUG
#define NDEBUG #define NDEBUG
#endif
#include <debug.h> #include <debug.h>
/* GLOBALS *******************************************************************/ /* GLOBALS *******************************************************************/

View file

@ -13,7 +13,9 @@
#include "i8042prt.h" #include "i8042prt.h"
#ifndef NDEBUG
#define NDEBUG #define NDEBUG
#endif
#include <debug.h> #include <debug.h>
/* /*

View file

@ -9,14 +9,13 @@
/* INCLUDES ****************************************************************/ /* INCLUDES ****************************************************************/
#include "i8042prt.h"
#ifndef NDEBUG #ifndef NDEBUG
#define NDEBUG #define NDEBUG
#endif #endif
#include <debug.h> #include <debug.h>
#include "i8042prt.h"
VOID I8042MouseHandlePs2pp(PDEVICE_EXTENSION DevExt, UCHAR Input) VOID I8042MouseHandlePs2pp(PDEVICE_EXTENSION DevExt, UCHAR Input)
{ {
UCHAR PktType; UCHAR PktType;

View file

@ -11,13 +11,13 @@
/* INCLUDES ****************************************************************/ /* INCLUDES ****************************************************************/
#include "i8042prt.h"
#ifndef NDEBUG #ifndef NDEBUG
#define NDEBUG #define NDEBUG
#endif #endif
#include <debug.h> #include <debug.h>
#include "i8042prt.h"
/* FUNCTIONS *****************************************************************/ /* FUNCTIONS *****************************************************************/
/* /*