ReactOS 0.4.15-dev-8417-gb6b82fe
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 <wdm.h>
14#include <reactos/rossym.h>
15#include "rossympriv.h"
16
17#define TAG_ROSSYM 'MYSR'
18
19static PVOID
21{
23}
24
25static VOID
27{
28 ExFreePool(Area);
29}
30
31VOID
33{
34 static ROSSYM_CALLBACKS KmCallbacks =
35 {
40 };
41
42 RosSymInit(&KmCallbacks);
43}
44
45/* EOF */
#define ExAllocatePoolWithTag(hernya, size, tag)
Definition: env_spec_w32.h:350
#define ExFreePool(addr)
Definition: env_spec_w32.h:352
#define NonPagedPool
Definition: env_spec_w32.h:307
static PVOID RosSymAllocMemKM(ULONG_PTR Size)
Definition: initkm.c:20
VOID RosSymInitKernelMode(VOID)
Definition: initkm.c:32
#define TAG_ROSSYM
Definition: initkm.c:17
static VOID RosSymFreeMemKM(PVOID Area)
Definition: initkm.c:26
BOOLEAN RosSymZwReadFile(PVOID FileContext, PVOID Buffer, ULONG Size)
Definition: zwfile.c:15
BOOLEAN RosSymZwSeekFile(PVOID FileContext, ULONG_PTR Position)
Definition: zwfile.c:31
VOID RosSymInit(PROSSYM_CALLBACKS Callbacks)
Definition: init.c:17
uint32_t ULONG_PTR
Definition: typedefs.h:65
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
Definition: wdfdevice.h:4533