ReactOS  0.4.15-dev-3303-g1ade494
initum.c File Reference
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <reactos/rossym.h>
#include "rossympriv.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)
 
VOID RosSymInitUserMode (VOID)
 

Function Documentation

◆ RosSymAllocMemUM()

static PVOID RosSymAllocMemUM ( ULONG_PTR  Size)
static

Definition at line 17 of file initum.c.

18 {
19  return HeapAlloc(GetProcessHeap(), 0, Size);
20 }
IN PVOID IN PVOID IN USHORT IN USHORT Size
Definition: pci.h:361
#define GetProcessHeap()
Definition: compat.h:595
PVOID WINAPI HeapAlloc(HANDLE, DWORD, SIZE_T)

Referenced by RosSymInitUserMode().

◆ RosSymFreeMemUM()

static VOID RosSymFreeMemUM ( PVOID  Area)
static

Definition at line 23 of file initum.c.

24 {
25  HeapFree(GetProcessHeap(), 0, Area);
26 }
#define GetProcessHeap()
Definition: compat.h:595
#define HeapFree(x, y, z)
Definition: compat.h:594

Referenced by RosSymInitUserMode().

◆ RosSymInitUserMode()

VOID RosSymInitUserMode ( VOID  )

Definition at line 29 of file initum.c.

30 {
31  static ROSSYM_CALLBACKS KmCallbacks =
32  {
37  };
38 
39  RosSymInit(&KmCallbacks);
40 }
static VOID RosSymFreeMemUM(PVOID Area)
Definition: initum.c:23
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 PVOID RosSymAllocMemUM(ULONG_PTR Size)
Definition: initum.c:17