ReactOS  0.4.15-dev-1206-g731eddf
mm.h File Reference

Go to the source code of this file.

Macros

#define PTI_SHIFT   12L
 
#define PDI_SHIFT   21L
 
#define PPI_SHIFT   30L
 
#define PXI_SHIFT   39L
 
#define PTE_PER_PAGE   512
 
#define PDE_PER_PAGE   512
 
#define PPE_PER_PAGE   512
 
#define PXE_PER_PAGE   512
 
#define PTI_MASK_AMD64   (PTE_PER_PAGE - 1)
 
#define PDI_MASK_AMD64   (PDE_PER_PAGE - 1)
 
#define PPI_MASK   (PPE_PER_PAGE - 1)
 
#define PXI_MASK   (PXE_PER_PAGE - 1)
 
#define PXE_BASE   0xFFFFF6FB7DBED000ULL
 
#define PXE_SELFMAP   0xFFFFF6FB7DBEDF68ULL
 
#define PPE_BASE   0xFFFFF6FB7DA00000ULL
 
#define PDE_BASE   0xFFFFF6FB40000000ULL
 
#define PTE_BASE   0xFFFFF68000000000ULL
 
#define PXE_TOP   0xFFFFF6FB7DBEDFFFULL
 
#define PPE_TOP   0xFFFFF6FB7DBFFFFFULL
 
#define PDE_TOP   0xFFFFF6FB7FFFFFFFULL
 
#define PTE_TOP   0xFFFFF6FFFFFFFFFFULL
 
#define MM_HIGHEST_USER_ADDRESS   MmHighestUserAddress
 
#define MM_SYSTEM_RANGE_START   MmSystemRangeStart
 
#define MM_USER_PROBE_ADDRESS   MmUserProbeAddress
 
#define MM_LOWEST_USER_ADDRESS   (PVOID)0x10000
 
#define MM_LOWEST_SYSTEM_ADDRESS   (PVOID)0xFFFF080000000000ULL
 

Functions

 $if (_NTDDK_) extern NTKERNELAPI PVOID MmHighestUserAddress
 

Variables

NTKERNELAPI PVOID MmSystemRangeStart
 
NTKERNELAPI ULONG64 MmUserProbeAddress
 

Macro Definition Documentation

◆ MM_HIGHEST_USER_ADDRESS

#define MM_HIGHEST_USER_ADDRESS   MmHighestUserAddress

Definition at line 30 of file mm.h.

◆ MM_LOWEST_SYSTEM_ADDRESS

#define MM_LOWEST_SYSTEM_ADDRESS   (PVOID)0xFFFF080000000000ULL

Definition at line 39 of file mm.h.

◆ MM_LOWEST_USER_ADDRESS

#define MM_LOWEST_USER_ADDRESS   (PVOID)0x10000

Definition at line 38 of file mm.h.

◆ MM_SYSTEM_RANGE_START

#define MM_SYSTEM_RANGE_START   MmSystemRangeStart

Definition at line 31 of file mm.h.

◆ MM_USER_PROBE_ADDRESS

#define MM_USER_PROBE_ADDRESS   MmUserProbeAddress

Definition at line 36 of file mm.h.

◆ PDE_BASE

#define PDE_BASE   0xFFFFF6FB40000000ULL

◆ PDE_PER_PAGE

#define PDE_PER_PAGE   512

◆ PDE_TOP

#define PDE_TOP   0xFFFFF6FB7FFFFFFFULL

◆ PDI_MASK_AMD64

#define PDI_MASK_AMD64   (PDE_PER_PAGE - 1)

◆ PDI_SHIFT

#define PDI_SHIFT   21L

◆ PPE_BASE

#define PPE_BASE   0xFFFFF6FB7DA00000ULL

◆ PPE_PER_PAGE

#define PPE_PER_PAGE   512

◆ PPE_TOP

#define PPE_TOP   0xFFFFF6FB7DBFFFFFULL

◆ PPI_MASK

#define PPI_MASK   (PPE_PER_PAGE - 1)

◆ PPI_SHIFT

#define PPI_SHIFT   30L

◆ PTE_BASE

#define PTE_BASE   0xFFFFF68000000000ULL

◆ PTE_PER_PAGE

#define PTE_PER_PAGE   512

◆ PTE_TOP

#define PTE_TOP   0xFFFFF6FFFFFFFFFFULL

◆ PTI_MASK_AMD64

#define PTI_MASK_AMD64   (PTE_PER_PAGE - 1)

◆ PTI_SHIFT

#define PTI_SHIFT   12L

◆ PXE_BASE

#define PXE_BASE   0xFFFFF6FB7DBED000ULL

◆ PXE_PER_PAGE

#define PXE_PER_PAGE   512

◆ PXE_SELFMAP

#define PXE_SELFMAP   0xFFFFF6FB7DBEDF68ULL

◆ PXE_TOP

#define PXE_TOP   0xFFFFF6FB7DBEDFFFULL

◆ PXI_MASK

#define PXI_MASK   (PXE_PER_PAGE - 1)

◆ PXI_SHIFT

#define PXI_SHIFT   39L

Function Documentation

◆ $if()

$if ( _NTDDK_  )

Definition at line 176 of file ke.h.

215  {
216  ULONG64 P1Home;
217  ULONG64 P2Home;
218  ULONG64 P3Home;
219  ULONG64 P4Home;
220  ULONG64 P5Home;
221  ULONG64 P6Home;
222  ULONG ContextFlags;
223  ULONG MxCsr;
224  USHORT SegCs;
225  USHORT SegDs;
226  USHORT SegEs;
227  USHORT SegFs;
228  USHORT SegGs;
229  USHORT SegSs;
230  ULONG EFlags;
231  ULONG64 Dr0;
232  ULONG64 Dr1;
233  ULONG64 Dr2;
234  ULONG64 Dr3;
235  ULONG64 Dr6;
236  ULONG64 Dr7;
237  ULONG64 Rax;
238  ULONG64 Rcx;
239  ULONG64 Rdx;
240  ULONG64 Rbx;
241  ULONG64 Rsp;
242  ULONG64 Rbp;
243  ULONG64 Rsi;
244  ULONG64 Rdi;
245  ULONG64 R8;
246  ULONG64 R9;
247  ULONG64 R10;
248  ULONG64 R11;
249  ULONG64 R12;
250  ULONG64 R13;
251  ULONG64 R14;
252  ULONG64 R15;
253  ULONG64 Rip;
254  union {
255  XMM_SAVE_AREA32 FltSave;
256  struct {
257  M128A Header[2];
258  M128A Legacy[8];
259  M128A Xmm0;
260  M128A Xmm1;
261  M128A Xmm2;
262  M128A Xmm3;
263  M128A Xmm4;
264  M128A Xmm5;
265  M128A Xmm6;
266  M128A Xmm7;
267  M128A Xmm8;
268  M128A Xmm9;
269  M128A Xmm10;
270  M128A Xmm11;
271  M128A Xmm12;
272  M128A Xmm13;
273  M128A Xmm14;
274  M128A Xmm15;
275  } DUMMYSTRUCTNAME;
276  } DUMMYUNIONNAME;
277  M128A VectorRegister[26];
278  ULONG64 VectorControl;
279  ULONG64 DebugControl;
280  ULONG64 LastBranchToRip;
281  ULONG64 LastBranchFromRip;
282  ULONG64 LastExceptionToRip;
283  ULONG64 LastExceptionFromRip;
284 } CONTEXT;
M128A
Definition: ketypes.h:924
#define DUMMYUNIONNAME
Definition: ntbasedef.h:32
Definition: Header.h:8
unsigned __int64 ULONG64
Definition: imports.h:198
struct _CONTEXT CONTEXT
unsigned short USHORT
Definition: pedump.c:61
XSAVE_FORMAT XMM_SAVE_AREA32
Definition: ke.h:35
unsigned int ULONG
Definition: retypes.h:1
#define DUMMYSTRUCTNAME
Definition: ntbasedef.h:58

Variable Documentation

◆ MmSystemRangeStart

NTKERNELAPI PVOID MmSystemRangeStart

Definition at line 52 of file init.c.

◆ MmUserProbeAddress

NTKERNELAPI ULONG64 MmUserProbeAddress

Definition at line 50 of file init.c.