ReactOS  0.4.15-dev-439-g292f67a
mm.h File Reference

Go to the source code of this file.

Macros

#define PTI_SHIFT   12
 
#define PDI_SHIFT   22
 
#define PDE_BASE   0xC0300000
 
#define PTE_BASE   0xC0000000
 
#define PDE_TOP   0xC0300FFF
 
#define PTE_TOP   0xC03FFFFF
 
#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_KSEG0_BASE   MM_SYSTEM_RANGE_START
 
#define MM_SYSTEM_SPACE_END   0xFFFFFFFF
 

Functions

 $if (_NTDDK_) extern NTKERNELAPI PVOID MmHighestUserAddress
 

Variables

NTKERNELAPI PVOID MmSystemRangeStart
 
NTKERNELAPI ULONG MmUserProbeAddress
 

Macro Definition Documentation

◆ MM_HIGHEST_USER_ADDRESS

#define MM_HIGHEST_USER_ADDRESS   MmHighestUserAddress

Definition at line 15 of file mm.h.

◆ MM_KSEG0_BASE

#define MM_KSEG0_BASE   MM_SYSTEM_RANGE_START

Definition at line 24 of file mm.h.

◆ MM_LOWEST_USER_ADDRESS

#define MM_LOWEST_USER_ADDRESS   (PVOID)0x10000

Definition at line 23 of file mm.h.

◆ MM_SYSTEM_RANGE_START

#define MM_SYSTEM_RANGE_START   MmSystemRangeStart

Definition at line 16 of file mm.h.

◆ MM_SYSTEM_SPACE_END

#define MM_SYSTEM_SPACE_END   0xFFFFFFFF

Definition at line 25 of file mm.h.

◆ MM_USER_PROBE_ADDRESS

#define MM_USER_PROBE_ADDRESS   MmUserProbeAddress

Definition at line 21 of file mm.h.

◆ PDE_BASE

#define PDE_BASE   0xC0300000

◆ PDE_TOP

#define PDE_TOP   0xC0300FFF

◆ PDI_SHIFT

#define PDI_SHIFT   22

◆ PTE_BASE

#define PTE_BASE   0xC0000000

◆ PTE_TOP

#define PTE_TOP   0xC03FFFFF

◆ PTI_SHIFT

#define PTI_SHIFT   12

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:918
#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 ULONG MmUserProbeAddress

Definition at line 50 of file init.c.