My Project
Loading...
Searching...
No Matches
pool.c File Reference
#include "../../includes/mm.h"
#include "../../includes/me.h"
#include "../../includes/mg.h"
#include "../../assert.h"

Go to the source code of this file.

Macros

#define POOL_TYPE_GLOBAL   9999
#define POOL_TYPE_PAGED   1234

Functions

MTSTATUS MiInitializePoolSystem (void)
void * MmAllocatePoolWithTag (IN enum _POOL_TYPE PoolType, IN size_t NumberOfBytes, IN uint32_t Tag)
void MmFreePool (IN void *buf)

Variables

POOL_DESCRIPTOR GlobalPool
uintptr_t MmNonPagedPoolStart = 0
uintptr_t MmNonPagedPoolEnd = 0
uintptr_t MmPagedPoolStart = 0
uintptr_t MmPagedPoolEnd = 0

Macro Definition Documentation

◆ POOL_TYPE_GLOBAL

#define POOL_TYPE_GLOBAL   9999

Definition at line 27 of file pool.c.

◆ POOL_TYPE_PAGED

#define POOL_TYPE_PAGED   1234

Definition at line 28 of file pool.c.

Function Documentation

◆ MiInitializePoolSystem()

MTSTATUS MiInitializePoolSystem ( void )

Definition at line 36 of file pool.c.

◆ MmAllocatePoolWithTag()

void * MmAllocatePoolWithTag ( IN enum _POOL_TYPE PoolType,
IN size_t NumberOfBytes,
IN uint32_t Tag )

Definition at line 427 of file pool.c.

◆ MmFreePool()

void MmFreePool ( IN void * buf)

Definition at line 586 of file pool.c.

Variable Documentation

◆ GlobalPool

POOL_DESCRIPTOR GlobalPool

Definition at line 25 of file pool.c.

◆ MmNonPagedPoolEnd

uintptr_t MmNonPagedPoolEnd = 0

Definition at line 31 of file pool.c.

◆ MmNonPagedPoolStart

uintptr_t MmNonPagedPoolStart = 0

Definition at line 30 of file pool.c.

◆ MmPagedPoolEnd

uintptr_t MmPagedPoolEnd = 0

Definition at line 33 of file pool.c.

◆ MmPagedPoolStart

uintptr_t MmPagedPoolStart = 0

Definition at line 32 of file pool.c.