ReactOS  0.4.15-dev-3299-gbe8e5fc
initum.c File Reference
#include <precomp.h>
Include dependency graph for initum.c:

Go to the source code of this file.

Functions

static PVOID RosSymAllocMemUM (ULONG_PTR Size)
 
static VOID RosSymFreeMemUM (PVOID Area)
 
static BOOLEAN RosSymGetMemUM (PVOID FileContext, ULONG_PTR *Target, PVOID SourceMem, ULONG Size)
 
VOID RosSymInitUserMode (VOID)
 

Function Documentation

◆ RosSymAllocMemUM()

static PVOID RosSymAllocMemUM ( ULONG_PTR  Size)
static

Definition at line 13 of file initum.c.

14 {
15  return RtlAllocateHeap(RtlGetProcessHeap(), 0, Size);
16 }
IN PVOID IN PVOID IN USHORT IN USHORT Size
Definition: pci.h:361
PVOID NTAPI RtlAllocateHeap(IN PVOID HeapHandle, IN ULONG Flags, IN SIZE_T Size)
Definition: heap.c:588

Referenced by RosSymInitUserMode().

◆ RosSymFreeMemUM()

static VOID RosSymFreeMemUM ( PVOID  Area)
static

Definition at line 19 of file initum.c.

20 {
21  RtlFreeHeap(RtlGetProcessHeap(), 0, Area);
22 }
BOOLEAN NTAPI RtlFreeHeap(IN PVOID HeapHandle, IN ULONG Flags, IN PVOID HeapBase)
Definition: heap.c:606

Referenced by RosSymInitUserMode().

◆ RosSymGetMemUM()

static BOOLEAN RosSymGetMemUM ( PVOID  FileContext,
ULONG_PTR Target,
PVOID  SourceMem,
ULONG  Size 
)
static

Definition at line 25 of file initum.c.

26 {
27  return FALSE;
28 }
#define FALSE
Definition: types.h:117

Referenced by RosSymInitUserMode().

◆ RosSymInitUserMode()

VOID RosSymInitUserMode ( VOID  )

Definition at line 31 of file initum.c.

32 {
33  static ROSSYM_CALLBACKS KmCallbacks =
34  {
40  };
41 
42  RosSymInit(&KmCallbacks);
43 }
static VOID RosSymFreeMemUM(PVOID Area)
Definition: initum.c:19
BOOLEAN RosSymZwReadFile(PVOID FileContext, PVOID Buffer, ULONG Size)
Definition: zwfile.c:16
BOOLEAN RosSymZwSeekFile(PVOID FileContext, ULONG_PTR Position)
Definition: zwfile.c:32
VOID RosSymInit(PROSSYM_CALLBACKS Callbacks)
Definition: init.c:17
static BOOLEAN RosSymGetMemUM(PVOID FileContext, ULONG_PTR *Target, PVOID SourceMem, ULONG Size)
Definition: initum.c:25
static PVOID RosSymAllocMemUM(ULONG_PTR Size)
Definition: initum.c:13