ReactOS  0.4.13-dev-482-ge57f103
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 TAG_ROSSYM
Definition: initkm.c:20
IN PVOID IN PVOID IN USHORT IN USHORT Size
Definition: pci.h:359

Referenced by RosSymInitKernelMode().

◆ 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

Referenced by RosSymInitKernelMode().

◆ 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 }
BOOLEAN RosSymIoSeekFile(PVOID FileContext, ULONG_PTR Position)
Definition: iofile.c:28
static VOID RosSymFreeMemKM(PVOID Area)
Definition: initkm.c:29
BOOLEAN RosSymIoReadFile(PVOID FileContext, PVOID Buffer, ULONG Size)
Definition: iofile.c:21
VOID RosSymInit(PROSSYM_CALLBACKS Callbacks)
Definition: init.c:17
static PVOID RosSymAllocMemKM(ULONG_PTR Size)
Definition: initkm.c:23

Referenced by KdbInitialize().