ReactOS 0.4.15-dev-7924-g5949c20
initkm.c File Reference
#include <ntdef.h>
#include <ntddk.h>
#include <reactos/rossym.h>
#include "rossympriv.h"
#include <debug.h>
Include dependency graph for initkm.c:

Go to the source code of this file.

Macros

#define DECLSPEC_IMPORT
 
#define NDEBUG
 
#define TAG_ROSSYM   'MYSR'
 

Functions

static PVOID RosSymAllocMemKM (ULONG_PTR Size)
 
static VOID RosSymFreeMemKM (PVOID Area)
 
VOID RosSymInitKernelMode (VOID)
 

Macro Definition Documentation

◆ DECLSPEC_IMPORT

#define DECLSPEC_IMPORT

Definition at line 12 of file initkm.c.

◆ NDEBUG

#define NDEBUG

Definition at line 17 of file initkm.c.

◆ TAG_ROSSYM

#define TAG_ROSSYM   'MYSR'

Definition at line 20 of file initkm.c.

Function Documentation

◆ RosSymAllocMemKM()

static PVOID RosSymAllocMemKM ( ULONG_PTR  Size)
static

Definition at line 23 of file initkm.c.

24{
26}
#define ExAllocatePoolWithTag(hernya, size, tag)
Definition: env_spec_w32.h:350
#define NonPagedPool
Definition: env_spec_w32.h:307
#define TAG_ROSSYM
Definition: initkm.c:17
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
Definition: wdfdevice.h:4533

◆ RosSymFreeMemKM()

static VOID RosSymFreeMemKM ( PVOID  Area)
static

Definition at line 29 of file initkm.c.

30{
31 ExFreePool(Area);
32}
#define ExFreePool(addr)
Definition: env_spec_w32.h:352

◆ RosSymInitKernelMode()

VOID RosSymInitKernelMode ( VOID  )

Definition at line 35 of file initkm.c.

36{
37 static ROSSYM_CALLBACKS KmCallbacks =
38 {
43 };
44
45 RosSymInit(&KmCallbacks);
46}
static PVOID RosSymAllocMemKM(ULONG_PTR Size)
Definition: initkm.c:20
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

Referenced by KdbSymInit().