ReactOS  0.4.13-dev-698-g77671f0
hooks.h
Go to the documentation of this file.
1 /*++
2 
3 Copyright (c) 1998-2001 Klaus P. Gerlicher
4 
5 Module Name:
6 
7  hooks.h
8 
9 Abstract:
10 
11  HEADER for hooks.c
12 
13 Environment:
14 
15  LINUX 2.2.X
16  Kernel mode only
17 
18 Author:
19 
20  Klaus P. Gerlicher
21 
22 Revision History:
23 
24  15-Nov-2000: general cleanup of source files
25 
26 Copyright notice:
27 
28  This file may be distributed under the terms of the GNU Public License.
29 
30 --*/
31 void DeinstallHooks(void);
32 //ULONG HookInt(ULONG dwInt,ULONG NewIntHandler);
33 //void UnhookInt(ULONG dwInt);
34 void MaskIrqs(void);
35 void UnmaskIrqs(void);
36 ULONG SetGlobalInt(ULONG dwInt,ULONG NewIntHandler);
37 ULONG GetIRQVector(ULONG dwInt);
38 void TakeIdtSnapshot(void);
39 void RestoreIdt(void);
40 
41 // structure of an IDT entry
42 typedef struct IdtEntry
43 {
49 
ULONG GetIRQVector(ULONG dwInt)
USHORT SegSel
Definition: hooks.h:45
USHORT Flags
Definition: hooks.h:46
void RestoreIdt(void)
Definition: hooks.c:156
struct IdtEntry * PIDTENTRY
Definition: hooks.h:42
struct IdtEntry IDTENTRY
USHORT HiOffset
Definition: hooks.h:47
unsigned short USHORT
Definition: pedump.c:61
USHORT LoOffset
Definition: hooks.h:44
void UnmaskIrqs(void)
Definition: hooks.c:82
ULONG SetGlobalInt(ULONG dwInt, ULONG NewIntHandler)
Definition: hooks.c:95
void MaskIrqs(void)
Definition: hooks.c:68
unsigned int ULONG
Definition: retypes.h:1
void TakeIdtSnapshot(void)
Definition: hooks.c:131
void DeinstallHooks(void)