ReactOS  r75636
mmtypes.h File Reference

Go to the source code of this file.

Classes

struct  _READ_LIST
 
union  _MM_PREFETCH_FLAGS
 

Macros

#define MM_ANY_NODE_OK   0x80000000
 
#define MM_DONT_ZERO_ALLOCATION   0x00000001
 
#define MM_ALLOCATE_FROM_LOCAL_NODE_ONLY   0x00000002
 
#define MM_ALLOCATE_FULLY_REQUIRED   0x00000004
 
#define MM_ALLOCATE_NO_WAIT   0x00000008
 
#define MM_ALLOCATE_PREFER_CONTIGUOUS   0x00000010
 
#define MM_ALLOCATE_REQUIRE_CONTIGUOUS_CHUNKS   0x00000020
 
#define MDL_MAPPED_TO_SYSTEM_VA   0x0001
 
#define MDL_PAGES_LOCKED   0x0002
 
#define MDL_SOURCE_IS_NONPAGED_POOL   0x0004
 
#define MDL_ALLOCATED_FIXED_SIZE   0x0008
 
#define MDL_PARTIAL   0x0010
 
#define MDL_PARTIAL_HAS_BEEN_MAPPED   0x0020
 
#define MDL_IO_PAGE_READ   0x0040
 
#define MDL_WRITE_OPERATION   0x0080
 
#define MDL_PARENT_MAPPED_SYSTEM_VA   0x0100
 
#define MDL_FREE_EXTRA_PTES   0x0200
 
#define MDL_DESCRIBES_AWE   0x0400
 
#define MDL_IO_SPACE   0x0800
 
#define MDL_NETWORK_HEADER   0x1000
 
#define MDL_MAPPING_CAN_FAIL   0x2000
 
#define MDL_ALLOCATED_MUST_SUCCEED   0x4000
 
#define MDL_INTERNAL   0x8000
 
#define MDL_MAPPING_FLAGS
 
#define FLUSH_MULTIPLE_MAXIMUM   32
 
#define SECTION_QUERY   0x0001
 
#define SECTION_MAP_WRITE   0x0002
 
#define SECTION_MAP_READ   0x0004
 
#define SECTION_MAP_EXECUTE   0x0008
 
#define SECTION_EXTEND_SIZE   0x0010
 
#define SECTION_MAP_EXECUTE_EXPLICIT   0x0020
 
#define SECTION_ALL_ACCESS
 
#define SESSION_QUERY_ACCESS   0x0001
 
#define SESSION_MODIFY_ACCESS   0x0002
 
#define SESSION_ALL_ACCESS
 
#define SEGMENT_ALL_ACCESS   SECTION_ALL_ACCESS
 
#define PAGE_NOACCESS   0x01
 
#define PAGE_READONLY   0x02
 
#define PAGE_READWRITE   0x04
 
#define PAGE_WRITECOPY   0x08
 
#define PAGE_EXECUTE   0x10
 
#define PAGE_EXECUTE_READ   0x20
 
#define PAGE_EXECUTE_READWRITE   0x40
 
#define PAGE_EXECUTE_WRITECOPY   0x80
 
#define PAGE_GUARD   0x100
 
#define PAGE_NOCACHE   0x200
 
#define PAGE_WRITECOMBINE   0x400
 
#define MEM_COMMIT   0x1000
 
#define MEM_RESERVE   0x2000
 
#define MEM_DECOMMIT   0x4000
 
#define MEM_RELEASE   0x8000
 
#define MEM_FREE   0x10000
 
#define MEM_PRIVATE   0x20000
 
#define MEM_MAPPED   0x40000
 
#define MEM_RESET   0x80000
 
#define MEM_TOP_DOWN   0x100000
 
#define MEM_LARGE_PAGES   0x20000000
 
#define MEM_4MB_PAGES   0x80000000
 
#define SEC_RESERVE   0x4000000
 
#define SEC_COMMIT   0x8000000
 
#define SEC_LARGE_PAGES   0x80000000
 
#define MM_PREFETCH_FLAGS_MASK   ((1 << (2*SYSTEM_PAGE_PRIORITY_BITS)) - 1)
 
#define HEAP_NO_SERIALIZE   0x00000001
 
#define HEAP_GROWABLE   0x00000002
 
#define HEAP_GENERATE_EXCEPTIONS   0x00000004
 
#define HEAP_ZERO_MEMORY   0x00000008
 
#define HEAP_REALLOC_IN_PLACE_ONLY   0x00000010
 
#define HEAP_TAIL_CHECKING_ENABLED   0x00000020
 
#define HEAP_FREE_CHECKING_ENABLED   0x00000040
 
#define HEAP_DISABLE_COALESCE_ON_FREE   0x00000080
 
#define HEAP_CREATE_ALIGN_16   0x00010000
 
#define HEAP_CREATE_ENABLE_TRACING   0x00020000
 
#define HEAP_CREATE_ENABLE_EXECUTE   0x00040000
 
#define HEAP_SETTABLE_USER_VALUE   0x00000100
 
#define HEAP_SETTABLE_USER_FLAG1   0x00000200
 
#define HEAP_SETTABLE_USER_FLAG2   0x00000400
 
#define HEAP_SETTABLE_USER_FLAG3   0x00000800
 
#define HEAP_SETTABLE_USER_FLAGS   0x00000E00
 
#define HEAP_CLASS_0   0x00000000
 
#define HEAP_CLASS_1   0x00001000
 
#define HEAP_CLASS_2   0x00002000
 
#define HEAP_CLASS_3   0x00003000
 
#define HEAP_CLASS_4   0x00004000
 
#define HEAP_CLASS_5   0x00005000
 
#define HEAP_CLASS_6   0x00006000
 
#define HEAP_CLASS_7   0x00007000
 
#define HEAP_CLASS_8   0x00008000
 
#define HEAP_CLASS_MASK   0x0000F000
 
#define HEAP_MAXIMUM_TAG   0x0FFF
 
#define HEAP_GLOBAL_TAG   0x0800
 
#define HEAP_PSEUDO_TAG_FLAG   0x8000
 
#define HEAP_TAG_SHIFT   18
 
#define HEAP_TAG_MASK   (HEAP_MAXIMUM_TAG << HEAP_TAG_SHIFT)
 
#define HEAP_CREATE_VALID_MASK
 

Typedefs

typedef enum _SECTION_INHERIT SECTION_INHERIT
 
typedef ULONG PFN_COUNT
 
typedef LONG_PTR SPFN_NUMBER
 
typedef LONG_PTRPSPFN_NUMBER
 
typedef ULONG_PTR PFN_NUMBER
 
typedef ULONG_PTRPPFN_NUMBER
 
typedef MDLPMDLX
 
typedef enum
_MEMORY_CACHING_TYPE_ORIG 
MEMORY_CACHING_TYPE_ORIG
 
typedef enum _MEMORY_CACHING_TYPE MEMORY_CACHING_TYPE
 
typedef enum _MM_PAGE_PRIORITY MM_PAGE_PRIORITY
 
typedef enum _MM_SYSTEM_SIZE MM_SYSTEMSIZE
 
typedef NTSTATUS(NTAPIPMM_ROTATE_COPY_CALLBACK_FUNCTION )(_In_ PMDL DestinationMdl, _In_ PMDL SourceMdl, _In_ PVOID Context)
 
typedef enum _MM_ROTATE_DIRECTION MM_ROTATE_DIRECTION
 
typedef enum _MM_ROTATE_DIRECTIONPMM_ROTATE_DIRECTION
 
typedef struct _READ_LIST READ_LIST
 
typedef struct _READ_LISTPREAD_LIST
 
typedef union _MM_PREFETCH_FLAGS MM_PREFETCH_FLAGS
 
typedef union _MM_PREFETCH_FLAGSPMM_PREFETCH_FLAGS
 

Enumerations

enum  _SECTION_INHERIT {
  ViewShare = 1, ViewUnmap = 2, ViewShare = 1, ViewUnmap = 2,
  ViewShare = 1, ViewUnmap = 2
}
 
enum  _MEMORY_CACHING_TYPE_ORIG { MmFrameBufferCached = 2 }
 
enum  _MEMORY_CACHING_TYPE {
  MmNonCached = FALSE, MmCached = TRUE, MmWriteCombined = MmFrameBufferCached, MmHardwareCoherentCached,
  MmNonCachedUnordered, MmUSWCCached, MmMaximumCacheType
}
 
enum  _MM_PAGE_PRIORITY { LowPagePriority, NormalPagePriority = 16, HighPagePriority = 32 }
 
enum  _MM_SYSTEM_SIZE { MmSmallSystem, MmMediumSystem, MmLargeSystem }
 
enum  _MM_ROTATE_DIRECTION {
  MmToFrameBuffer, MmToFrameBufferNoCopy, MmToRegularMemory, MmToRegularMemoryNoCopy,
  MmMaximumRotateDirection
}
 

Functions

 $if (_WDMDDK_) typedef ULONG NODE_REQUIREMENT
 
 _Struct_size_bytes_ (_Inexpressible_(sizeof(struct _MDL)+(ByteOffset+ByteCount+PAGE_SIZE-1)/PAGE_SIZE *sizeof(PFN_NUMBER))) typedef struct _MDL
 
 $endif (_WDMDDK_) $if(_NTDDK_) typedef struct _PHYSICAL_MEMORY_RANGE
 
 $endif (_NTDDK_) $if(_NTIFS_) typedef enum _MMFLUSH_TYPE
 

Variables

 MDL
 
PMDL
 
PBOOLEAN Mm64BitPhysicalAddress
 
NTKERNELAPI PVOID MmBadPointer
 
 PHYSICAL_MEMORY_RANGE
 
PPHYSICAL_MEMORY_RANGE
 
 MMFLUSH_TYPE
 

Macro Definition Documentation

#define FLUSH_MULTIPLE_MAXIMUM   32

Definition at line 43 of file mmtypes.h.

#define HEAP_CLASS_0   0x00000000

Definition at line 225 of file mmtypes.h.

#define HEAP_CLASS_1   0x00001000

Definition at line 226 of file mmtypes.h.

#define HEAP_CLASS_2   0x00002000

Definition at line 227 of file mmtypes.h.

#define HEAP_CLASS_3   0x00003000

Definition at line 228 of file mmtypes.h.

#define HEAP_CLASS_4   0x00004000

Definition at line 229 of file mmtypes.h.

#define HEAP_CLASS_5   0x00005000

Definition at line 230 of file mmtypes.h.

#define HEAP_CLASS_6   0x00006000

Definition at line 231 of file mmtypes.h.

#define HEAP_CLASS_7   0x00007000

Definition at line 232 of file mmtypes.h.

#define HEAP_CLASS_8   0x00008000

Definition at line 233 of file mmtypes.h.

#define HEAP_CLASS_MASK   0x0000F000

Definition at line 234 of file mmtypes.h.

#define HEAP_CREATE_ALIGN_16   0x00010000

Definition at line 215 of file mmtypes.h.

#define HEAP_CREATE_ENABLE_EXECUTE   0x00040000

Definition at line 217 of file mmtypes.h.

Referenced by runtimehost_init().

#define HEAP_CREATE_ENABLE_TRACING   0x00020000

Definition at line 216 of file mmtypes.h.

#define HEAP_CREATE_VALID_MASK
Value:
#define HEAP_ZERO_MEMORY
Definition: mmtypes.h:209
#define HEAP_FREE_CHECKING_ENABLED
Definition: mmtypes.h:212
#define HEAP_DISABLE_COALESCE_ON_FREE
Definition: mmtypes.h:213
#define HEAP_NO_SERIALIZE
Definition: mmtypes.h:206
#define HEAP_TAIL_CHECKING_ENABLED
Definition: mmtypes.h:211
#define HEAP_REALLOC_IN_PLACE_ONLY
Definition: mmtypes.h:210
#define HEAP_GROWABLE
Definition: mmtypes.h:207
#define HEAP_GENERATE_EXCEPTIONS
Definition: mmtypes.h:208
#define HEAP_CREATE_ENABLE_TRACING
Definition: mmtypes.h:216
#define HEAP_CLASS_MASK
Definition: mmtypes.h:234
#define HEAP_CREATE_ENABLE_EXECUTE
Definition: mmtypes.h:217
#define HEAP_CREATE_ALIGN_16
Definition: mmtypes.h:215

Definition at line 242 of file mmtypes.h.

#define HEAP_DISABLE_COALESCE_ON_FREE   0x00000080

Definition at line 213 of file mmtypes.h.

#define HEAP_FREE_CHECKING_ENABLED   0x00000040

Definition at line 212 of file mmtypes.h.

#define HEAP_GENERATE_EXCEPTIONS   0x00000004

Definition at line 208 of file mmtypes.h.

#define HEAP_GLOBAL_TAG   0x0800

Definition at line 237 of file mmtypes.h.

#define HEAP_GROWABLE   0x00000002

Definition at line 207 of file mmtypes.h.

#define HEAP_MAXIMUM_TAG   0x0FFF

Definition at line 236 of file mmtypes.h.

#define HEAP_NO_SERIALIZE   0x00000001

Definition at line 206 of file mmtypes.h.

#define HEAP_PSEUDO_TAG_FLAG   0x8000

Definition at line 238 of file mmtypes.h.

#define HEAP_REALLOC_IN_PLACE_ONLY   0x00000010

Definition at line 210 of file mmtypes.h.

#define HEAP_SETTABLE_USER_FLAG1   0x00000200

Definition at line 220 of file mmtypes.h.

#define HEAP_SETTABLE_USER_FLAG2   0x00000400

Definition at line 221 of file mmtypes.h.

#define HEAP_SETTABLE_USER_FLAG3   0x00000800

Definition at line 222 of file mmtypes.h.

#define HEAP_SETTABLE_USER_FLAGS   0x00000E00

Definition at line 223 of file mmtypes.h.

#define HEAP_SETTABLE_USER_VALUE   0x00000100

Definition at line 219 of file mmtypes.h.

#define HEAP_TAG_MASK   (HEAP_MAXIMUM_TAG << HEAP_TAG_SHIFT)

Definition at line 240 of file mmtypes.h.

#define HEAP_TAG_SHIFT   18

Definition at line 239 of file mmtypes.h.

#define HEAP_TAIL_CHECKING_ENABLED   0x00000020

Definition at line 211 of file mmtypes.h.

#define HEAP_ZERO_MEMORY   0x00000008

Definition at line 209 of file mmtypes.h.

#define MDL_ALLOCATED_FIXED_SIZE   0x0008

Definition at line 21 of file mmtypes.h.

Referenced by IoAllocateMdl(), IoBuildPartialMdl(), and IoFreeMdl().

#define MDL_ALLOCATED_MUST_SUCCEED   0x4000

Definition at line 32 of file mmtypes.h.

Referenced by IoBuildPartialMdl().

#define MDL_DESCRIBES_AWE   0x0400

Definition at line 28 of file mmtypes.h.

Referenced by MmProbeAndLockPages(), and MmUnlockPages().

#define MDL_FREE_EXTRA_PTES   0x0200

Definition at line 27 of file mmtypes.h.

Referenced by MmUnmapLockedPages().

#define MDL_INTERNAL   0x8000

Definition at line 33 of file mmtypes.h.

#define MDL_IO_PAGE_READ   0x0040
#define MDL_MAPPING_CAN_FAIL   0x2000
#define MDL_MAPPING_FLAGS
Value:
MDL_SYSTEM_VA | \
#define MDL_MAPPED_TO_SYSTEM_VA
Definition: mmtypes.h:18
#define MDL_IO_SPACE
Definition: mmtypes.h:29
#define MDL_PARENT_MAPPED_SYSTEM_VA
Definition: mmtypes.h:26
#define MDL_SOURCE_IS_NONPAGED_POOL
Definition: mmtypes.h:20
#define MDL_PAGES_LOCKED
Definition: mmtypes.h:19
#define MDL_PARTIAL_HAS_BEEN_MAPPED
Definition: mmtypes.h:23

Definition at line 35 of file mmtypes.h.

#define MDL_NETWORK_HEADER   0x1000

Definition at line 30 of file mmtypes.h.

#define MDL_PARENT_MAPPED_SYSTEM_VA   0x0100

Definition at line 26 of file mmtypes.h.

Referenced by MmUnmapLockedPages().

#define MDL_PARTIAL_HAS_BEEN_MAPPED   0x0020
#define MDL_WRITE_OPERATION   0x0080

Definition at line 25 of file mmtypes.h.

Referenced by MmProbeAndLockPages().

#define MEM_4MB_PAGES   0x80000000

Definition at line 90 of file mmtypes.h.

#define MEM_COMMIT   0x1000

Definition at line 80 of file mmtypes.h.

#define MEM_DECOMMIT   0x4000

Definition at line 82 of file mmtypes.h.

#define MEM_FREE   0x10000

Definition at line 84 of file mmtypes.h.

#define MEM_LARGE_PAGES   0x20000000

Definition at line 89 of file mmtypes.h.

#define MEM_MAPPED   0x40000

Definition at line 86 of file mmtypes.h.

#define MEM_PRIVATE   0x20000

Definition at line 85 of file mmtypes.h.

#define MEM_RELEASE   0x8000

Definition at line 83 of file mmtypes.h.

#define MEM_RESERVE   0x2000

Definition at line 81 of file mmtypes.h.

#define MEM_RESET   0x80000

Definition at line 87 of file mmtypes.h.

#define MEM_TOP_DOWN   0x100000

Definition at line 88 of file mmtypes.h.

#define MM_ALLOCATE_FROM_LOCAL_NODE_ONLY   0x00000002

Definition at line 12 of file mmtypes.h.

Referenced by MmAllocatePagesForMdlEx().

#define MM_ALLOCATE_FULLY_REQUIRED   0x00000004

Definition at line 13 of file mmtypes.h.

#define MM_ALLOCATE_NO_WAIT   0x00000008

Definition at line 14 of file mmtypes.h.

#define MM_ALLOCATE_PREFER_CONTIGUOUS   0x00000010

Definition at line 15 of file mmtypes.h.

#define MM_ALLOCATE_REQUIRE_CONTIGUOUS_CHUNKS   0x00000020

Definition at line 16 of file mmtypes.h.

#define MM_ANY_NODE_OK   0x80000000

Definition at line 8 of file mmtypes.h.

#define MM_DONT_ZERO_ALLOCATION   0x00000001

Definition at line 11 of file mmtypes.h.

Referenced by MmAllocatePagesForMdlEx().

#define MM_PREFETCH_FLAGS_MASK   ((1 << (2*SYSTEM_PAGE_PRIORITY_BITS)) - 1)

Definition at line 202 of file mmtypes.h.

#define PAGE_EXECUTE   0x10

Definition at line 72 of file mmtypes.h.

#define PAGE_EXECUTE_READ   0x20

Definition at line 73 of file mmtypes.h.

#define PAGE_EXECUTE_READWRITE   0x40

Definition at line 74 of file mmtypes.h.

#define PAGE_EXECUTE_WRITECOPY   0x80

Definition at line 75 of file mmtypes.h.

#define PAGE_GUARD   0x100

Definition at line 76 of file mmtypes.h.

#define PAGE_NOACCESS   0x01

Definition at line 68 of file mmtypes.h.

#define PAGE_NOCACHE   0x200

Definition at line 77 of file mmtypes.h.

#define PAGE_READONLY   0x02

Definition at line 69 of file mmtypes.h.

#define PAGE_READWRITE   0x04

Definition at line 70 of file mmtypes.h.

#define PAGE_WRITECOPY   0x08

Definition at line 71 of file mmtypes.h.

#define SEC_COMMIT   0x8000000

Definition at line 93 of file mmtypes.h.

#define SEC_LARGE_PAGES   0x80000000

Definition at line 94 of file mmtypes.h.

#define SEC_RESERVE   0x4000000

Definition at line 92 of file mmtypes.h.

#define SECTION_ALL_ACCESS
Value:
#define SECTION_EXTEND_SIZE
Definition: mmtypes.h:50
#define SECTION_MAP_READ
Definition: mmtypes.h:48
#define SECTION_QUERY
Definition: mmtypes.h:46
#define SECTION_MAP_WRITE
Definition: mmtypes.h:47
#define SECTION_MAP_EXECUTE
Definition: mmtypes.h:49
#define STANDARD_RIGHTS_REQUIRED
Definition: nt_native.h:63

Definition at line 53 of file mmtypes.h.

#define SECTION_EXTEND_SIZE   0x0010

Definition at line 50 of file mmtypes.h.

#define SECTION_MAP_EXECUTE   0x0008

Definition at line 49 of file mmtypes.h.

#define SECTION_MAP_EXECUTE_EXPLICIT   0x0020

Definition at line 51 of file mmtypes.h.

Referenced by map_prot_to_access().

#define SECTION_MAP_READ   0x0004

Definition at line 48 of file mmtypes.h.

#define SECTION_MAP_WRITE   0x0002

Definition at line 47 of file mmtypes.h.

#define SECTION_QUERY   0x0001

Definition at line 46 of file mmtypes.h.

#define SEGMENT_ALL_ACCESS   SECTION_ALL_ACCESS

Definition at line 66 of file mmtypes.h.

#define SESSION_ALL_ACCESS
Value:
#define SESSION_QUERY_ACCESS
Definition: mmtypes.h:59
#define STANDARD_RIGHTS_REQUIRED
Definition: nt_native.h:63
#define SESSION_MODIFY_ACCESS
Definition: mmtypes.h:60

Definition at line 62 of file mmtypes.h.

#define SESSION_MODIFY_ACCESS   0x0002

Definition at line 60 of file mmtypes.h.

#define SESSION_QUERY_ACCESS   0x0001

Definition at line 59 of file mmtypes.h.

Typedef Documentation

typedef ULONG PFN_COUNT

Definition at line 102 of file mmtypes.h.

Definition at line 104 of file mmtypes.h.

typedef MDL* PMDLX

Definition at line 121 of file mmtypes.h.

typedef NTSTATUS(NTAPI * PMM_ROTATE_COPY_CALLBACK_FUNCTION)(_In_ PMDL DestinationMdl, _In_ PMDL SourceMdl, _In_ PVOID Context)

Definition at line 165 of file mmtypes.h.

Definition at line 104 of file mmtypes.h.

Definition at line 103 of file mmtypes.h.

Definition at line 103 of file mmtypes.h.

Enumeration Type Documentation

Enumerator
MmNonCached 
MmCached 
MmWriteCombined 
MmHardwareCoherentCached 
MmNonCachedUnordered 
MmUSWCCached 
MmMaximumCacheType 

Definition at line 128 of file mmtypes.h.

Enumerator
MmFrameBufferCached 

Definition at line 124 of file mmtypes.h.

124  {
enum _MEMORY_CACHING_TYPE_ORIG MEMORY_CACHING_TYPE_ORIG
Enumerator
LowPagePriority 
NormalPagePriority 
HighPagePriority 

Definition at line 138 of file mmtypes.h.

138  {
140  NormalPagePriority = 16,
141  HighPagePriority = 32
enum _MM_PAGE_PRIORITY MM_PAGE_PRIORITY
Enumerator
MmToFrameBuffer 
MmToFrameBufferNoCopy 
MmToRegularMemory 
MmToRegularMemoryNoCopy 
MmMaximumRotateDirection 

Definition at line 170 of file mmtypes.h.

Enumerator
MmSmallSystem 
MmMediumSystem 
MmLargeSystem 

Definition at line 144 of file mmtypes.h.

144  {
148 } MM_SYSTEMSIZE;
enum _MM_SYSTEM_SIZE MM_SYSTEMSIZE
Enumerator
ViewShare 
ViewUnmap 
ViewShare 
ViewUnmap 
ViewShare 
ViewUnmap 

Definition at line 97 of file mmtypes.h.

97  {
98  ViewShare = 1,
99  ViewUnmap = 2
enum _SECTION_INHERIT SECTION_INHERIT

Function Documentation

$endif ( _WDMDDK_  )

Definition at line 156 of file mmtypes.h.

159  {
PHYSICAL_MEMORY_RANGE
Definition: mmtypes.h:162
* PPHYSICAL_MEMORY_RANGE
Definition: mmtypes.h:162
_In_ HANDLE _Outptr_result_bytebuffer_ ViewSize PVOID * BaseAddress
Definition: mmfuncs.h:404
IN SIZE_T NumberOfBytes
Definition: ndis.h:3914
$endif ( _NTDDK_  )

Definition at line 178 of file mmtypes.h.

180  {
181  MmFlushForDelete,
182  MmFlushForWrite
183 } MMFLUSH_TYPE;
MMFLUSH_TYPE
Definition: mmtypes.h:183
$if ( _WDMDDK_  )

Kernel definitions for AMD64

Kernel definitions for ARM

Kernel definitions for AMD64

Kernel definitions for ARM

Kernel definitions for x86

Definition at line 1 of file ke.h.

31 {
32  ULONG Dummy;
struct _KFLOATING_SAVE KFLOATING_SAVE
struct _KFLOATING_SAVE * PKFLOATING_SAVE
unsigned int ULONG
Definition: retypes.h:1
_Struct_size_bytes_ ( _Inexpressible_(sizeof(struct _MDL)+(ByteOffset+ByteCount+PAGE_SIZE-1)/PAGE_SIZE *sizeof(PFN_NUMBER))  )

Definition at line 106 of file mmtypes.h.

108  {
109  struct _MDL *Next;
110  CSHORT Size;
111  CSHORT MdlFlags;
112  struct _EPROCESS *Process;
113  PVOID MappedSystemVa;
114  PVOID StartVa;
117 } MDL, *PMDL;
DWORD *typedef PVOID
Definition: winlogon.h:52
_Must_inspect_result_ typedef _In_ PHYSICAL_ADDRESS _In_ LARGE_INTEGER ByteCount
Definition: iotypes.h:1060
UINTN Size
Definition: acefiex.h:555
MDL
Definition: mmtypes.h:117
_In_ PLARGE_INTEGER ByteOffset
Definition: mrx.h:173
_Must_inspect_result_ _In_ PLARGE_INTEGER _In_ PLARGE_INTEGER _In_ ULONG _In_ PFILE_OBJECT _In_ PVOID Process
Definition: fsrtlfuncs.h:219
unsigned int ULONG
Definition: retypes.h:1
short CSHORT
Definition: umtypes.h:115
* PMDL
Definition: mmtypes.h:117

Variable Documentation

PBOOLEAN Mm64BitPhysicalAddress

Definition at line 25 of file mminit.c.

NTKERNELAPI PVOID MmBadPointer

Referenced by START_TEST().

MMFLUSH_TYPE

Definition at line 183 of file mmtypes.h.

PHYSICAL_MEMORY_RANGE

Definition at line 162 of file mmtypes.h.

Referenced by MmGetPhysicalMemoryRanges().

* PMDL

Definition at line 117 of file mmtypes.h.

* PPHYSICAL_MEMORY_RANGE

Definition at line 162 of file mmtypes.h.

Referenced by MmGetPhysicalMemoryRanges().