mirror of
https://github.com/reactos/reactos.git
synced 2025-04-21 12:40:33 +00:00
-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:
parent
9f79a749af
commit
ea6b02f501
6 changed files with 19 additions and 9 deletions
|
@ -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 *******************************************************************/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -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);
|
||||||
|
|
||||||
|
|
|
@ -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 *******************************************************************/
|
||||||
|
|
|
@ -13,7 +13,9 @@
|
||||||
|
|
||||||
#include "i8042prt.h"
|
#include "i8042prt.h"
|
||||||
|
|
||||||
|
#ifndef NDEBUG
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
|
#endif
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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 *****************************************************************/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue