My Project
Loading...
Searching...
No Matches
hypermap.c File Reference
#include "../../includes/mm.h"
#include "../../includes/mh.h"
#include "../../assert.h"

Go to the source code of this file.

Macros

#define HYPERMAP_VIRTUAL_ADDRESS   PhysicalMemoryOffset
#define LOCK_HYPERSPACE(PtrOldIrql)
#define UNLOCK_HYPERSPACE(OldIrql)

Functions

void * MiMapPageInHyperspace (IN uint64_t PfnIndex, OUT PIRQL OldIrql)
void MiUnmapHyperSpaceMap (IN IRQL OldIrql)

Variables

SPINLOCK HyperLock
PPFN_ENTRY g_pfnInUse

Macro Definition Documentation

◆ HYPERMAP_VIRTUAL_ADDRESS

#define HYPERMAP_VIRTUAL_ADDRESS   PhysicalMemoryOffset

Definition at line 24 of file hypermap.c.

◆ LOCK_HYPERSPACE

#define LOCK_HYPERSPACE ( PtrOldIrql)
Value:
SPINLOCK HyperLock
Definition hypermap.c:26
void MsAcquireSpinlock(IN PSPINLOCK lock, IN PIRQL OldIrql)
Definition spinlock.c:13

Definition at line 29 of file hypermap.c.

◆ UNLOCK_HYPERSPACE

#define UNLOCK_HYPERSPACE ( OldIrql)
Value:
void MsReleaseSpinlock(IN PSPINLOCK lock, IN IRQL OldIrql)
Definition spinlock.c:45

Definition at line 30 of file hypermap.c.

Function Documentation

◆ MiMapPageInHyperspace()

void * MiMapPageInHyperspace ( IN uint64_t PfnIndex,
OUT PIRQL OldIrql )

Definition at line 33 of file hypermap.c.

◆ MiUnmapHyperSpaceMap()

void MiUnmapHyperSpaceMap ( IN IRQL OldIrql)

Definition at line 83 of file hypermap.c.

Variable Documentation

◆ g_pfnInUse

PPFN_ENTRY g_pfnInUse

Definition at line 27 of file hypermap.c.

◆ HyperLock

SPINLOCK HyperLock

Definition at line 26 of file hypermap.c.