ReactOS  0.4.13-dev-651-g5dbc677
initkm.c
Go to the documentation of this file.
1 /*
2  * COPYRIGHT: See COPYING in the top level directory
3  * PROJECT: ReactOS kernel
4  * FILE: lib/rossym/initkm.c
5  * PURPOSE: Initialize library for use in kernel mode
6  *
7  * PROGRAMMERS: Ge van Geldorp (gvg@reactos.com)
8  */
9 
10 #include <ntdef.h>
11 #undef DECLSPEC_IMPORT
12 #define DECLSPEC_IMPORT
13 #include <ntddk.h>
14 #include <reactos/rossym.h>
15 #include "rossympriv.h"
16 
17 #define NDEBUG
18 #include <debug.h>
19 
20 #define TAG_ROSSYM 'MYSR'
21 
22 static PVOID
24 {
26 }
27 
28 static VOID
30 {
31  ExFreePool(Area);
32 }
33 
34 VOID
36 {
37  static ROSSYM_CALLBACKS KmCallbacks =
38  {
43  };
44 
45  RosSymInit(&KmCallbacks);
46 }
47 
48 /* EOF */
BOOLEAN RosSymIoSeekFile(PVOID FileContext, ULONG_PTR Position)
Definition: iofile.c:28
uint32_t ULONG_PTR
Definition: typedefs.h:63
static VOID RosSymFreeMemKM(PVOID Area)
Definition: initkm.c:29
BOOLEAN RosSymIoReadFile(PVOID FileContext, PVOID Buffer, ULONG Size)
Definition: iofile.c:21
VOID RosSymInitKernelMode(VOID)
Definition: initkm.c:32
VOID RosSymInit(PROSSYM_CALLBACKS Callbacks)
Definition: init.c:17
#define ExAllocatePoolWithTag(hernya, size, tag)
Definition: env_spec_w32.h:350
#define TAG_ROSSYM
Definition: initkm.c:20
IN PVOID IN PVOID IN USHORT IN USHORT Size
Definition: pci.h:359
static PVOID RosSymAllocMemKM(ULONG_PTR Size)
Definition: initkm.c:23
#define ExFreePool(addr)
Definition: env_spec_w32.h:352