ReactOS 0.4.15-dev-7906-g1b85a5f
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
22static PVOID
24{
26}
27
28static VOID
30{
31 ExFreePool(Area);
32}
33
34VOID
36{
37 static ROSSYM_CALLBACKS KmCallbacks =
38 {
43 };
44
45 RosSymInit(&KmCallbacks);
46}
47
48/* 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 RosSymIoReadFile(PVOID FileContext, PVOID Buffer, ULONG Size)
Definition: iofile.c:20
BOOLEAN RosSymIoSeekFile(PVOID FileContext, ULONG_PTR Position)
Definition: iofile.c:27
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