Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

mialpha.h File Reference

Go to the source code of this file.

Classes

struct  _MMCOLOR_TABLES
struct  _MMPRIMARY_COLOR_TABLES
struct  _MMPTE_SOFTWARE
struct  _MMPTE_TRANSITION
struct  _MMPTE_PROTOTYPE
struct  _MMPTE_LIST
struct  _MMPTE_SUBSECTION
struct  _MMPTE

Defines

#define MM_EMPTY_LIST   ((ULONG)0xFFFFFFFF)
#define MM_EMPTY_PTE_LIST   ((ULONG)0xFFFFF)
#define MI_PTE_BASE_FOR_LOWEST_KERNEL_ADDRESS   (MiGetPteAddress (0x80000000))
#define MM_KSEG0_BASE   ((ULONG)0x80000000)
#define MmProtopte_Base   ((ULONG)0xE1000000)
#define PDE_TOP   (0xC01FFFFF)
#define PDE_BASE64   ((ULONG)0xC0184000)
#define PTE_BASE64   ((ULONG)0xC2000000)
#define MM_PAGES_IN_KSEG0   (((ULONG)KSEG2_BASE - (ULONG)KSEG0_BASE) >> PAGE_SHIFT)
#define MM_USER_ADDRESS_RANGE_LIMIT   0xFFFFFFFF
#define MM_MAXIMUM_ZERO_BITS   21
#define MM_SYSTEM_SPACE_START   (0xC3000000)
#define MM_SYSTEM_CACHE_START   (0xC4000000)
#define MM_SYSTEM_CACHE_END   (0xDE000000)
#define MM_SESSION_SPACE_DEFAULT   (0xDE000000)
#define MM_MAXIMUM_SYSTEM_CACHE_SIZE   ( ((ULONG)MM_SYSTEM_CACHE_END - (ULONG)MM_SYSTEM_CACHE_START) >> PAGE_SHIFT )
#define MM_SYSTEM_CACHE_WORKING_SET   (0xC3000000)
#define MM_SYSTEM_VIEW_START   (0xDE000000)
#define MM_SYSTEM_VIEW_SIZE   (48*1024*1024)
#define MM_SYSTEM_VIEW_START_IF_HYDRA   (0xDD000000)
#define MM_SYSTEM_VIEW_SIZE_IF_HYDRA   (16*1024*1024)
#define MM_PAGED_POOL_START   ((PVOID)0xE1000000)
#define MM_LOWEST_NONPAGED_SYSTEM_START   ((PVOID)0xEB000000)
#define MM_NONPAGED_POOL_END   ((PVOID)(0xFE000000-(16*PAGE_SIZE)))
#define NON_PAGED_SYSTEM_END   ((PVOID)0xFFFFFFF0)
#define MM_SYSTEM_SPACE_END   (0xFFFFFFFF)
#define HYPER_SPACE_END   (0xC1FFFFFF)
#define MM_MINIMUM_SYSTEM_PTES   5000
#define MM_MAXIMUM_SYSTEM_PTES   20000
#define MM_DEFAULT_SYSTEM_PTES   11000
#define MM_MAX_INITIAL_NONPAGED_POOL   ((ULONG)(128*1024*1024))
#define MM_MAX_ADDITIONAL_NONPAGED_POOL   ((ULONG)(128*1024*1024))
#define MM_MAX_PAGED_POOL   ((ULONG)(240*1024*1024))
#define MM_MAX_DEFAULT_NONPAGED_POOL   ((ULONG)(128*1024*1024))
#define MM_MAX_DEFAULT_PAGED_POOL   ((ULONG)(128*1024*1024))
#define MM_MAX_TOTAL_POOL   (((ULONG)MM_NONPAGED_POOL_END) - ((ULONG)MM_PAGED_POOL_START))
#define GH3   (3)
#define GH3_PAGE_SIZE   (PAGE_SIZE << 9)
#define GH2   (2)
#define GH2_PAGE_SIZE   (PAGE_SIZE << 6)
#define GH1   (1)
#define GH1_PAGE_SIZE   (PAGE_SIZE << 3)
#define GH0   (0)
#define GH0_PAGE_SIZE   PAGE_SIZE
#define __1GB   (0x40000000)
#define MM_VIRTUAL_PAGE_FILLER   1
#define MM_VIRTUAL_PAGE_SIZE   19
#define MM_PROTO_PTE_ALIGNMENT   ((ULONG)MM_MAXIMUM_NUMBER_OF_COLORS * (ULONG)PAGE_SIZE)
#define MAX_PAGE_FILES   (8)
#define PAGE_DIRECTORY_MASK   ((ULONG)0x00FFFFFF)
#define MM_VA_MAPPED_BY_PDE   (0x1000000)
#define LOWEST_IO_ADDRESS   (0)
#define PTE_SHIFT   (2)
#define MM_HIGHEST_VAD_ADDRESS64   ((PVOID64)(0x800000000))
#define PHYSICAL_ADDRESS_BITS   (48)
#define MM_MAXIMUM_NUMBER_OF_COLORS   (1)
#define MM_NUMBER_OF_COLORS   (1)
#define MM_COLOR_MASK   (0)
#define MM_COLOR_ALIGNMENT   (0)
#define MM_COLOR_MASK_VIRTUAL   (0)
#define MM_SECONDARY_COLORS_DEFAULT   ((1024*1024) >> PAGE_SHIFT)
#define MM_SECONDARY_COLORS_MIN   (2)
#define MM_SECONDARY_COLORS_MAX   (2048)
#define HYPER_SPACE   ((PVOID)0xC1000000)
#define FIRST_MAPPING_PTE   ((ULONG)0xC1000000)
#define NUMBER_OF_MAPPING_PTES   (1023)
#define LAST_MAPPING_PTE   ((ULONG)((ULONG)FIRST_MAPPING_PTE + (NUMBER_OF_MAPPING_PTES * PAGE_SIZE)))
#define IMAGE_MAPPING_PTE   ((PMMPTE)((ULONG)LAST_MAPPING_PTE + PAGE_SIZE))
#define ZEROING_PAGE_PTE   ((PMMPTE)((ULONG)IMAGE_MAPPING_PTE + PAGE_SIZE))
#define WORKING_SET_LIST   ((PVOID)((ULONG)ZEROING_PAGE_PTE + PAGE_SIZE))
#define MM_MAXIMUM_WORKING_SET   ((ULONG)((ULONG)2*1024*1024*1024 - 64*1024*1024) >> PAGE_SHIFT)
#define MM_WORKING_SET_END   ((ULONG)0xC2000000)
#define MM_PTE_VALID_MASK   (0x1)
#define MM_PTE_PROTOTYPE_MASK   (0x2)
#define MM_PTE_DIRTY_MASK   (0x4)
#define MM_PTE_TRANSITION_MASK   (0x4)
#define MM_PTE_GLOBAL_MASK   (0x10)
#define MM_PTE_WRITE_MASK   (0x80)
#define MM_PTE_COPY_ON_WRITE_MASK   (0x100)
#define MM_PTE_OWNER_MASK   (0x2)
#define MM_PTE_NOACCESS   (0x0)
#define MM_PTE_READONLY   (0x0)
#define MM_PTE_READWRITE   (MM_PTE_WRITE_MASK)
#define MM_PTE_WRITECOPY   (MM_PTE_WRITE_MASK | MM_PTE_COPY_ON_WRITE_MASK)
#define MM_PTE_EXECUTE   (0x0)
#define MM_PTE_EXECUTE_READ   (0x0)
#define MM_PTE_EXECUTE_READWRITE   (MM_PTE_WRITE_MASK)
#define MM_PTE_EXECUTE_WRITECOPY   (MM_PTE_WRITE_MASK | MM_PTE_COPY_ON_WRITE_MASK)
#define MM_PTE_NOCACHE   (0x0)
#define MM_PTE_GUARD   (0x0)
#define MM_PTE_CACHE   (0x0)
#define MM_PROTECT_FIELD_SHIFT   3
#define MI_MAXIMUM_PTE_WORKING_SET_INDEX   0
#define MM_ZERO_PTE   0
#define MM_ZERO_KERNEL_PTE   0
#define MM_DEMAND_ZERO_WRITE_PTE   (MM_READWRITE << MM_PROTECT_FIELD_SHIFT)
#define MM_KERNEL_DEMAND_ZERO_PTE   (MM_READWRITE << MM_PROTECT_FIELD_SHIFT)
#define MM_KERNEL_NOACCESS_PTE   (MM_NOACCESS << MM_PROTECT_FIELD_SHIFT)
#define MM_PTE_CLEAN   0
#define MM_PTE_DIRTY   1
#define MM_STACK_ALIGNMENT   (0x0)
#define MM_STACK_OFFSET   (0x0)
#define PDE_PER_PAGE   ((ULONG)256)
#define PTE_PER_PAGE   ((ULONG)2048)
#define MM_USER_PAGE_TABLE_PAGES   (128)
#define MI_MAKE_VALID_PTE(OUTPTE, FRAME, PMASK, PPTE)
#define MI_MAKE_VALID_PTE_TRANSITION(OUTPTE, PROTECT)
#define MI_MAKE_TRANSITION_PTE(OUTPTE, PAGE, PROTECT, PPTE)
#define MI_MAKE_TRANSITION_PTE_VALID(OUTPTE, PPTE)
#define MI_SET_PTE_IN_WORKING_SET(PTE, WSINDEX)
#define MI_GET_WORKING_SET_FROM_PTE(PTE)   0
#define MI_SET_PTE_WRITE_COMBINE(PTE)
#define MI_SET_PTE_DIRTY(PTE)   (PTE).u.Hard.Dirty = MM_PTE_DIRTY
#define MI_SET_PTE_CLEAN(PTE)   (PTE).u.Hard.Dirty = MM_PTE_CLEAN
#define MI_IS_PTE_DIRTY(PTE)   ((PTE).u.Hard.Dirty != MM_PTE_CLEAN)
#define MI_SET_GLOBAL_BIT_IF_SYSTEM(OUTPTE, PPTE)
#define MI_SET_GLOBAL_STATE(PTE, STATE)   (PTE).u.Hard.Global = STATE;
#define MI_ENABLE_CACHING(PTE)
#define MI_DISABLE_CACHING(PTE)
#define MI_IS_CACHING_DISABLED(PPTE)   (FALSE)
#define MI_SET_PFN_DELETED(PPFN)   (((ULONG)(PPFN)->PteAddress &= (ULONG)0x7FFFFFFF))
#define MI_IS_PFN_DELETED(PPFN)   ( ( (ULONG)((PPFN)->PteAddress) & 0x80000000 ) == 0 )
#define MI_CHECK_PAGE_ALIGNMENT(PAGE, COLOR)
#define MI_INITIALIZE_HYPERSPACE_MAP(HYPER_PAGE)
#define MI_GET_PAGE_COLOR_FROM_PTE(PTEADDRESS)   ((ULONG)((MmSystemPageColor++) & MmSecondaryColorMask))
#define MI_GET_PAGE_COLOR_FROM_VA(ADDRESS)   ((ULONG)((MmSystemPageColor++) & MmSecondaryColorMask))
#define MI_GET_PAGE_COLOR_FROM_SESSION(_SessionSpace)   ((ULONG)((_SessionSpace->Color++) & MmSecondaryColorMask))
#define MI_PAGE_COLOR_PTE_PROCESS(PTE, COLOR)   ((ULONG)((*(COLOR))++) & MmSecondaryColorMask)
#define MI_PAGE_COLOR_VA_PROCESS(ADDRESS, COLOR)   ((ULONG)((*(COLOR))++) & MmSecondaryColorMask)
#define MI_GET_NEXT_COLOR(COLOR)   ((COLOR+1) & MM_COLOR_MASK)
#define MI_GET_PREVIOUS_COLOR(COLOR)   ((COLOR-1) & MM_COLOR_MASK)
#define MI_GET_SECONDARY_COLOR(PAGE, PFN)   (PAGE & MmSecondaryColorMask)
#define MI_GET_COLOR_FROM_SECONDARY(SECONDARY_COLOR)   (0)
#define MI_GET_MODIFIED_PAGE_BY_COLOR(PAGE, COLOR)   PAGE = MmModifiedPageListByColor[COLOR].Flink
#define MI_GET_MODIFIED_PAGE_ANY_COLOR(PAGE, COLOR)
#define MI_MAKE_VALID_PTE_WRITE_COPY(PPTE)
#define MI_DETERMINE_OWNER(PPTE)   (((PMMPTE)(PPTE) <= MiHighestUserPte) ? 1 : 0)
#define MI_SET_ACCESSED_IN_PTE(PPTE, ACCESSED)
#define MI_GET_ACCESSED_IN_PTE(PPTE)   0
#define MI_SET_OWNER_IN_PTE(PPTE, OWNER)   ( (PPTE)->u.Hard.Owner = OWNER )
#define MI_GET_OWNER_IN_PTE(PPTE)   ( (PPTE)->u.Hard.Owner )
#define CLEAR_FOR_PROTO_PTE_ADDRESS   ((ULONG)0x7)
#define CLEAR_FOR_PAGE_FILE   0x000000F8
#define MI_SET_PAGING_FILE_INFO(OUTPTE, PPTE, FILEINFO, OFFSET)
#define MiPteToProto(lpte)
#define MiProtoAddressForPte(proto_va)
#define MiProtoAddressForKernelPte(proto_va)   MiProtoAddressForPte(proto_va)
#define MM_SUBSECTION_MAP   (128*1024*1024)
#define MiGetSubsectionAddress(lpte)
#define MiGetSubsectionAddressForPte(VA)
#define MiGetPpeAddress(va)   ((PMMPTE)0)
#define MiGetPdeAddress(va)   ((PMMPTE)(((((ULONG)(va)) >> PDI_SHIFT) << 2) + PDE_BASE))
#define MiGetPdeAddress64(va)   ((PMMPTE)((ULONG)((((ULONGLONG)(va)) >> PDI_SHIFT) << 2) + PDE_BASE64))
#define MiGetPteAddress(va)   ((PMMPTE)(((((ULONG)(va)) >> PTI_SHIFT) << 2) + PTE_BASE))
#define MiGetPteAddress64(va)   ((PMMPTE)((ULONG)((((ULONGLONG)(va)) >> PTI_SHIFT) << 2) + PTE_BASE64))
#define MiGetPpeOffset(va)   (0)
#define MiGetPdeOffset(va)   (((ULONG)(va)) >> PDI_SHIFT)
#define MiGetPpePdeOffset   MiGetPdeOffset
#define MiGetPteOffset(va)   ( (((ULONG)(va)) << (32-PDI_SHIFT)) >> ((32-PDI_SHIFT) + PTI_SHIFT) )
#define MiGetVirtualAddressMappedByPpe(PPE)   (NULL)
#define MiGetVirtualAddressMappedByPde(va)   ((PVOID)((ULONG)(va) << (PDI_SHIFT-2)))
#define MiGetVirtualAddressMappedByPte(va)   ((PVOID)((ULONG)(va) << (PAGE_SHIFT-2)))
#define MiGetVirtualAddressMappedByPte64(PTE)   ((PVOID64)(((ULONGLONG)((ULONG)(PTE) - PTE_BASE64)) << 11))
#define MiGetVirtualPageNumberMappedByPte64(PTE)   (((ULONG)(PTE) - PTE_BASE64) >> 2)
#define MiIsVirtualAddressOnPpeBoundary(VA)   (FALSE)
#define MiIsVirtualAddressOnPdeBoundary(VA)   (((ULONG_PTR)(VA) & PAGE_DIRECTORY_MASK) == 0)
#define MiIsPteOnPpeBoundary(PTE)   (FALSE)
#define MiIsPteOnPdeBoundary(PTE)   (((ULONG_PTR)(PTE) & (PAGE_SIZE - 1)) == 0)
#define MiDoesPpeExistAndMakeValid(PPE, TARGETPROCESS, PFNMUTEXHELD, WAITED)   (1)
#define GET_PAGING_FILE_NUMBER(PTE)   ( ((PTE).u.Long << 20) >> 28 )
#define GET_PAGING_FILE_OFFSET(PTE)   ((((PTE).u.Long) >> 12) & 0x000FFFFF)
#define IS_PTE_NOT_DEMAND_ZERO(PTE)   ((PTE).u.Long & (ULONG)0xFFFFFF01)
#define MI_MAKING_VALID_PTE_INVALID(SYSTEM_WIDE)
#define MI_MAKING_MULTIPLE_PTES_INVALID(SYSTEM_WIDE)
#define MI_MAKE_PROTECT_WRITE_COPY(PTE)
#define MI_SET_PAGE_DIRTY(PPTE, VA, PFNHELD)
#define MI_NO_FAULT_FOUND(TEMP, PPTE, VA, PFNHELD)
#define MI_CAPTURE_DIRTY_BIT_TO_PFN(PPTE, PPFN)
#define MI_IS_PHYSICAL_ADDRESS(Va)   ( ((ULONG)Va >= KSEG0_BASE) && ((ULONG)Va < KSEG2_BASE) )
#define MI_CONVERT_PHYSICAL_TO_PFN(Va)   (((ULONG)Va << 2) >> (PAGE_SHIFT + 2))
#define MI_CONVERT_PHYSICAL_BUS_TO_PFN(Pa)   ((ULONG)( (Pa).QuadPart >> ((CCHAR)PAGE_SHIFT)))
#define MI_PTE_LOOKUP_NEEDED   (0xfffff)
#define MI_GET_PAGE_FRAME_FROM_PTE(PTE)   ((PTE)->u.Hard.PageFrameNumber)
#define MI_GET_PAGE_FRAME_FROM_TRANSITION_PTE(PTE)   ((PTE)->u.Trans.PageFrameNumber)
#define MI_GET_PROTECTION_FROM_SOFT_PTE(PTE)   ((PTE)->u.Soft.Protection)
#define MI_GET_PROTECTION_FROM_TRANSITION_PTE(PTE)   ((PTE)->u.Trans.Protection)
#define MI_WRITE_VALID_PTE(_PointerPte, _PteContents)   (*(_PointerPte) = (_PteContents))
#define MI_WRITE_INVALID_PTE(_PointerPte, _PteContents)   (*(_PointerPte) = (_PteContents))
#define MI_WRITE_VALID_PTE_NEW_PROTECTION(_PointerPte, _PteContents)   (*(_PointerPte) = (_PteContents))
#define MiFillMemoryPte(Destination, Length, Pattern)   RtlFillMemoryUlong ((Destination), (Length), (Pattern))
#define MI_IS_PAGE_TABLE_ADDRESS(VA)   ((PVOID)(VA) >= (PVOID)PTE_BASE && (PVOID)(VA) <= (PVOID)PDE_TOP)
#define MI_IS_KERNEL_PAGE_TABLE_ADDRESS(VA)   ((PVOID)(VA) >= (PVOID)MiGetPteAddress(MmSystemRangeStart) && (PVOID)(VA) <= (PVOID)PDE_TOP)
#define MI_IS_PAGE_DIRECTORY_ADDRESS(VA)   ((PVOID)(VA) >= (PVOID)PDE_BASE && (PVOID)(VA) <= (PVOID)PDE_TOP)
#define MI_IS_HYPER_SPACE_ADDRESS(VA)   ((PVOID)(VA) >= (PVOID)HYPER_SPACE && (PVOID)(VA) <= (PVOID)HYPER_SPACE_END)
#define MI_IS_PROCESS_SPACE_ADDRESS(VA)
#define MI_IS_PTE_PROTOTYPE(PTE)   ((PTE) > (PMMPTE)PDE_TOP)
#define MI_IS_SYSTEM_CACHE_ADDRESS(VA)
#define MI_BARRIER_SYNCHRONIZE(TimeStamp)
#define MI_BARRIER_STAMP_ZEROED_PAGE(PointerTimeStamp)   (*(PULONG)PointerTimeStamp = KeReadMbTimeStamp())
#define MI_FLUSH_SINGLE_SESSION_TB(Virtual, Invalid, AllProcessors, PtePointer, PteValue, PreviousPte)
#define MI_FLUSH_ENTIRE_SESSION_TB(Invalid, AllProcessors)   KeFlushEntireTb (Invalid, AllProcessors);

Typedefs

typedef _MMCOLOR_TABLES MMCOLOR_TABLES
typedef _MMCOLOR_TABLESPMMCOLOR_TABLES
typedef _MMPRIMARY_COLOR_TABLES MMPRIMARY_COLOR_TABLES
typedef _MMPRIMARY_COLOR_TABLESPMMPRIMARY_COLOR_TABLES
typedef _MMPTE_SOFTWARE MMPTE_SOFTWARE
typedef _MMPTE_TRANSITION MMPTE_TRANSITION
typedef _MMPTE_PROTOTYPE MMPTE_PROTOTYPE
typedef _MMPTE_LIST MMPTE_LIST
typedef _MMPTE_SUBSECTION MMPTE_SUBSECTION
typedef _MMPTE MMPTE
typedef MMPTEPMMPTE

Variables

ULONG MmSecondaryColorMask
PMMCOLOR_TABLES MmFreePagesByColor [2]
ULONG MmTotalPagesForPagingFile


Define Documentation

#define __1GB   (0x40000000)
 

Definition at line 256 of file alpha/mialpha.h.

#define CLEAR_FOR_PAGE_FILE   0x000000F8
 

Definition at line 1396 of file alpha/mialpha.h.

#define CLEAR_FOR_PROTO_PTE_ADDRESS   ((ULONG)0x7)
 

Definition at line 1391 of file alpha/mialpha.h.

#define FIRST_MAPPING_PTE   ((ULONG)0xC1000000)
 

Definition at line 351 of file alpha/mialpha.h.

Referenced by MiInitMachineDependent().

#define GET_PAGING_FILE_NUMBER PTE   )     ( ((PTE).u.Long << 20) >> 28 )
 

Definition at line 2003 of file alpha/mialpha.h.

Referenced by MiMakeOutswappedPageResident(), MiReleasePageFileSpace(), MiResolvePageFileFault(), and MiWriteComplete().

#define GET_PAGING_FILE_OFFSET PTE   )     ((((PTE).u.Long) >> 12) & 0x000FFFFF)
 

Definition at line 2026 of file alpha/mialpha.h.

Referenced by MiMakeOutswappedPageResident(), MiReleasePageFileSpace(), MiResolvePageFileFault(), and MiWriteComplete().

#define GH0   (0)
 

Definition at line 248 of file alpha/mialpha.h.

Referenced by AggregatePages().

#define GH0_PAGE_SIZE   PAGE_SIZE
 

Definition at line 249 of file alpha/mialpha.h.

#define GH1   (1)
 

Definition at line 241 of file alpha/mialpha.h.

Referenced by AggregatePages().

#define GH1_PAGE_SIZE   (PAGE_SIZE << 3)
 

Definition at line 242 of file alpha/mialpha.h.

Referenced by AggregatePages(), and MaximumAlignment().

#define GH2   (2)
 

Definition at line 234 of file alpha/mialpha.h.

Referenced by AggregatePages().

#define GH2_PAGE_SIZE   (PAGE_SIZE << 6)
 

Definition at line 235 of file alpha/mialpha.h.

Referenced by AggregatePages(), and MaximumAlignment().

#define GH3   (3)
 

Definition at line 227 of file alpha/mialpha.h.

Referenced by AggregatePages().

#define GH3_PAGE_SIZE   (PAGE_SIZE << 9)
 

Definition at line 228 of file alpha/mialpha.h.

Referenced by AggregatePages(), and MaximumAlignment().

#define HYPER_SPACE   ((PVOID)0xC1000000)
 

Definition at line 349 of file alpha/mialpha.h.

Referenced by MiEnsureAvailablePageOrWait(), MiInitializeWorkingSetList(), MiInitMachineDependent(), MmAccessFault(), MmCreateProcessAddressSpace(), MmDeleteProcessAddressSpace(), MmInitializeProcessAddressSpace(), and MmInSwapProcess().

#define HYPER_SPACE_END   (0xC1FFFFFF)
 

Definition at line 170 of file alpha/mialpha.h.

Referenced by MiInitializeWorkingSetList(), and MiInitMachineDependent().

#define IMAGE_MAPPING_PTE   ((PMMPTE)((ULONG)LAST_MAPPING_PTE + PAGE_SIZE))
 

Definition at line 358 of file alpha/mialpha.h.

Referenced by MiMapImageHeaderInHyperSpace(), and MiUnmapImageHeaderInHyperSpace().

#define IS_PTE_NOT_DEMAND_ZERO PTE   )     ((PTE).u.Long & (ULONG)0xFFFFFF01)
 

Definition at line 2050 of file alpha/mialpha.h.

Referenced by MiCleanSection(), MiCloneProcessAddressSpace(), MiDecrementCloneBlockReference(), MiDeleteVirtualAddresses(), MiResolveProtoPteFault(), and MiSegmentDelete().

#define LAST_MAPPING_PTE   ((ULONG)((ULONG)FIRST_MAPPING_PTE + (NUMBER_OF_MAPPING_PTES * PAGE_SIZE)))
 

Definition at line 355 of file alpha/mialpha.h.

Referenced by MiInitMachineDependent().

#define LOWEST_IO_ADDRESS   (0)
 

Definition at line 280 of file alpha/mialpha.h.

#define MAX_PAGE_FILES   (8)
 

Definition at line 273 of file alpha/mialpha.h.

Referenced by NtCreatePagingFile().

#define MI_BARRIER_STAMP_ZEROED_PAGE PointerTimeStamp   )     (*(PULONG)PointerTimeStamp = KeReadMbTimeStamp())
 

Definition at line 2799 of file alpha/mialpha.h.

Referenced by MiInsertPageInList(), MiRemoveZeroPage(), MiResolveDemandZeroFault(), and MmAccessFault().

#define MI_BARRIER_SYNCHRONIZE TimeStamp   ) 
 

Value:

if ((ULONG)TimeStamp == KeReadMbTimeStamp()) { \ KeSynchronizeMemoryAccess(); \ }

Definition at line 2767 of file alpha/mialpha.h.

Referenced by MiResolveDemandZeroFault(), MmAccessFault(), and MmCheckCachedPageState().

#define MI_CAPTURE_DIRTY_BIT_TO_PFN PPTE,
PPFN   ) 
 

Value:

if (((PPFN)->u3.e1.Modified == 0) && \ ((PPTE)->u.Hard.Dirty == MM_PTE_DIRTY)) { \ (PPFN)->u3.e1.Modified = 1; \ if (((PPFN)->OriginalPte.u.Soft.Prototype == 0) && \ ((PPFN)->u3.e1.WriteInProgress == 0)) { \ MiReleasePageFileSpace ((PPFN)->OriginalPte); \ (PPFN)->OriginalPte.u.Soft.PageFileHigh = 0; \ } \ }

Definition at line 2228 of file alpha/mialpha.h.

Referenced by MiCopyOnWrite(), MiDeletePte(), MiDeleteSystemPagableVm(), MiDeleteValidAddress(), MiEliminateWorkingSetEntry(), MiFlushTbAndCapture(), MiProtectSpecialPool(), MiRemoveMappedPtes(), MiSetPagingOfDriver(), MiSetSystemCodeProtection(), and MmUnmapViewInSystemCache().

#define MI_CHECK_PAGE_ALIGNMENT PAGE,
COLOR   ) 
 

Definition at line 964 of file alpha/mialpha.h.

Referenced by MiFindContiguousMemory(), MiRemoveAnyPage(), and MiRemoveZeroPage().

#define MI_CONVERT_PHYSICAL_BUS_TO_PFN Pa   )     ((ULONG)( (Pa).QuadPart >> ((CCHAR)PAGE_SHIFT)))
 

Definition at line 2312 of file alpha/mialpha.h.

Referenced by MiMapViewOfPhysicalSection().

#define MI_CONVERT_PHYSICAL_TO_PFN Va   )     (((ULONG)Va << 2) >> (PAGE_SHIFT + 2))
 

Definition at line 2287 of file alpha/mialpha.h.

Referenced by MiAllocatePoolPages(), MiBuildPageTableForDrivers(), MiCheckForContiguousMemory(), MiFindContiguousMemory(), MiFreeInitializationCode(), MiFreePoolPages(), MiInitializeNonPagedPool(), MiInitMachineDependent(), MmBuildMdlForNonPagedPool(), MmGetPhysicalAddress(), MmInSwapProcess(), MmOutSwapProcess(), MmProbeAndLockPages(), and ViReleasePoolAllocation().

#define MI_DETERMINE_OWNER PPTE   )     (((PMMPTE)(PPTE) <= MiHighestUserPte) ? 1 : 0)
 

Definition at line 1289 of file alpha/mialpha.h.

Referenced by MmCheckCachedPageState(), and MmCopyToCachedPage().

#define MI_DISABLE_CACHING PTE   ) 
 

Definition at line 861 of file alpha/mialpha.h.

Referenced by MiMapLockedPagesInUserSpace(), MiMapSinglePage(), MmAllocateNonCachedMemory(), MmMapIoSpace(), MmMapLockedPagesSpecifyCache(), and MmMapVideoDisplay().

#define MI_ENABLE_CACHING PTE   ) 
 

Definition at line 837 of file alpha/mialpha.h.

#define MI_FLUSH_ENTIRE_SESSION_TB Invalid,
AllProcessors   )     KeFlushEntireTb (Invalid, AllProcessors);
 

Definition at line 2870 of file alpha/mialpha.h.

Referenced by MiDeleteSystemPagableVm(), MiEnablePagingOfDriverAtInit(), MiRemoveMappedPtes(), MiRemoveWorkingSetPages(), and MiSetPagingOfDriver().

#define MI_FLUSH_SINGLE_SESSION_TB Virtual,
Invalid,
AllProcessors,
PtePointer,
PteValue,
PreviousPte   ) 
 

Value:

PreviousPte.u.Flush = *PtePointer; \ *PtePointer = PteValue; \ KeFlushEntireTb (TRUE, TRUE);

Definition at line 2841 of file alpha/mialpha.h.

Referenced by MiDereferenceSession(), MiEliminateWorkingSetEntry(), MiInitializeSessionPool(), MiSessionCopyOnWrite(), MiSessionCreateInternal(), and MiSetSystemCodeProtection().

#define MI_GET_ACCESSED_IN_PTE PPTE   )     0
 

Definition at line 1336 of file alpha/mialpha.h.

Referenced by MiReplaceWorkingSetEntryUsingFaultInfo(), and MiTrimWorkingSet().

#define MI_GET_COLOR_FROM_SECONDARY SECONDARY_COLOR   )     (0)
 

Definition at line 1167 of file alpha/mialpha.h.

Referenced by MiInitMachineDependent(), MiInsertPageInList(), and MiUnlinkFreeOrZeroedPage().

#define MI_GET_MODIFIED_PAGE_ANY_COLOR PAGE,
COLOR   ) 
 

Value:

{ \ if( MmTotalPagesForPagingFile == 0 ){ \ PAGE = MM_EMPTY_LIST; \ } else { \ while( MmModifiedPageListByColor[COLOR].Flink == MM_EMPTY_LIST ){ \ COLOR = MI_GET_NEXT_COLOR(COLOR); \ } \ PAGE = MmModifiedPageListByColor[COLOR].Flink; \ } \ }

Definition at line 1227 of file alpha/mialpha.h.

Referenced by MiModifiedPageWriterWorker().

#define MI_GET_MODIFIED_PAGE_BY_COLOR PAGE,
COLOR   )     PAGE = MmModifiedPageListByColor[COLOR].Flink
 

Definition at line 1196 of file alpha/mialpha.h.

Referenced by MiGatherPagefilePages().

#define MI_GET_NEXT_COLOR COLOR   )     ((COLOR+1) & MM_COLOR_MASK)
 

Definition at line 1141 of file alpha/mialpha.h.

Referenced by MiGatherPagefilePages().

#define MI_GET_OWNER_IN_PTE PPTE   )     ( (PPTE)->u.Hard.Owner )
 

Definition at line 1384 of file alpha/mialpha.h.

#define MI_GET_PAGE_COLOR_FROM_PTE PTEADDRESS   )     ((ULONG)((MmSystemPageColor++) & MmSecondaryColorMask))
 

Definition at line 1013 of file alpha/mialpha.h.

Referenced by MiAddWorkingSetPage(), MiAddWsleHash(), MiAllocatePoolPages(), MiAllocateSpecialPool(), MiBuildPagedPool(), MiFillSystemPageDirectory(), MiInitializeSessionPool(), MiInitializeSystemCache(), MiInitMachineDependent(), MiLoadImageSection(), MiMakeOutswappedPageResident(), MiReloadBootLoadedDrivers(), MiResolveMappedFileFault(), MmAddPhysicalMemory(), MmAllocateIndependentPages(), MmAllocateNonCachedMemory(), MmCheckCachedPageState(), MmCopyToCachedPage(), MmCreateKernelStack(), MmGatherMemoryForHibernate(), MmGrowKernelStack(), and MmInitSystem().

#define MI_GET_PAGE_COLOR_FROM_SESSION _SessionSpace   )     ((ULONG)((_SessionSpace->Color++) & MmSecondaryColorMask))
 

Definition at line 1063 of file alpha/mialpha.h.

Referenced by MiResolveMappedFileFault(), MiResolvePageFileFault(), MiSessionCommitImagePages(), and MiSessionCommitPageTables().

#define MI_GET_PAGE_COLOR_FROM_VA ADDRESS   )     ((ULONG)((MmSystemPageColor++) & MmSecondaryColorMask))
 

Definition at line 1038 of file alpha/mialpha.h.

Referenced by MiFindContiguousMemory(), MiResolvePageFileFault(), MiSessionCreateInternal(), and MiSessionInitializeWorkingSetList().

#define MI_GET_PAGE_FRAME_FROM_PTE PTE   )     ((PTE)->u.Hard.PageFrameNumber)
 

Definition at line 2410 of file alpha/mialpha.h.

Referenced by MiAllocatePoolPages(), MiBuildPagedPool(), MiCheckForContiguousMemory(), MiCheckProtoPtePageState(), MiCloneProcessAddressSpace(), MiCompleteProtoPteFault(), MiCopyOnWrite(), MiDeletePte(), MiDeleteSystemPagableVm(), MiDeleteValidAddress(), MiDereferenceSession(), MiEliminateWorkingSetEntry(), MiEmptyWorkingSet(), MiEnablePagingOfDriverAtInit(), MiFindContiguousMemory(), MiFlushSectionInternal(), MiFreeNonPagedPool(), MiFreePoolPages(), MiHandleForkTransitionPte(), MiInitializeCopyOnWritePfn(), MiInitializeNonPagedPool(), MiInitializePfn(), MiInitializeReadInProgressPfn(), MiInitializeTransitionPfn(), MiInitMachineDependent(), MiInsertPageInList(), MiInsertStandbyListAtFront(), MiLoadImageSection(), MiMapPageInHyperSpace(), MiProcessValidPteList(), MiReloadBootLoadedDrivers(), MiRemoveMappedPtes(), MiRemoveMappedView(), MiRemoveUserPhysicalPagesVad(), MiRemoveWorkingSetPages(), MiResolveProtoPteFault(), MiSessionCommitPageTables(), MiSessionCopyOnWrite(), MiSessionDeletePde(), MiSessionInSwapProcess(), MiSessionOutSwapProcess(), MiSetDirtyBit(), MiSetPagingOfDriver(), MiUnlockPagedAddress(), MiUnmapLockedPagesInUserSpace(), MmBuildMdlForNonPagedPool(), MmCheckCachedPageState(), MmCleanProcessAddressSpace(), MmCopyToCachedPage(), MmCreateProcessAddressSpace(), MmDeleteKernelStack(), MmDeleteProcessAddressSpace(), MmFreeNonCachedMemory(), MmFreeSpecialPool(), MmGetPhysicalAddress(), MmInitializeProcessAddressSpace(), MmInitSystem(), MmInPageKernelStack(), MmInSwapProcess(), MmOutPageKernelStack(), MmOutSwapProcess(), MmProbeAndLockPages(), MmRemovePhysicalMemory(), MmSetBankedSection(), MmUnlockPagableImageSection(), MmUnlockPagedPool(), MmUnmapLockedPages(), MmUnmapViewInSystemCache(), and ViReleasePoolAllocation().

#define MI_GET_PAGE_FRAME_FROM_TRANSITION_PTE PTE   )     ((PTE)->u.Trans.PageFrameNumber)
 

Definition at line 2411 of file alpha/mialpha.h.

Referenced by MiCheckProtoPtePageState(), MiCleanSection(), MiCloneProcessAddressSpace(), MiDecommitPages(), MiDecrementCloneBlockReference(), MiDeletePte(), MiDeleteSystemPagableVm(), MiFlushSectionInternal(), MiGatherMappedPages(), MiInsertPageInList(), MiInsertStandbyListAtFront(), MiLockCode(), MiMakeOutswappedPageResident(), MiMakeSpecialPoolPagable(), MiPurgeImageSection(), MiResetVirtualMemory(), MiResolveTransitionFault(), MiRestoreTransitionPte(), MiSegmentDelete(), MmCheckCachedPageState(), MmCopyToCachedPage(), and MmPurgeSection().

#define MI_GET_PREVIOUS_COLOR COLOR   )     ((COLOR-1) & MM_COLOR_MASK)
 

Definition at line 1163 of file alpha/mialpha.h.

#define MI_GET_PROTECTION_FROM_SOFT_PTE PTE   )     ((PTE)->u.Soft.Protection)
 

Definition at line 2412 of file alpha/mialpha.h.

Referenced by MiCloneProcessAddressSpace(), MiCompleteProtoPteFault(), MiCreateImageFileMap(), MiGetWorkingSetInfo(), MiResolveProtoPteFault(), MmAccessFault(), and MmExtendSection().

#define MI_GET_PROTECTION_FROM_TRANSITION_PTE PTE   )     ((PTE)->u.Trans.Protection)
 

Definition at line 2413 of file alpha/mialpha.h.

#define MI_GET_SECONDARY_COLOR PAGE,
PFN   )     (PAGE & MmSecondaryColorMask)
 

Definition at line 1165 of file alpha/mialpha.h.

Referenced by MiCopyOnWrite(), MiInsertPageInList(), MiRemoveAnyPage(), MiRemovePageFromList(), MiRemoveZeroPage(), MiSessionCopyOnWrite(), MiUnlinkFreeOrZeroedPage(), and MmZeroPageThread().

#define MI_GET_WORKING_SET_FROM_PTE PTE   )     0
 

Definition at line 665 of file alpha/mialpha.h.

Referenced by MiLocateWsle(), MiProtectVirtualMemory(), and MiSetProtectionOnSection().

#define MI_INITIALIZE_HYPERSPACE_MAP HYPER_PAGE   ) 
 

Definition at line 989 of file alpha/mialpha.h.

Referenced by MmCreateProcessAddressSpace().

#define MI_IS_CACHING_DISABLED PPTE   )     (FALSE)
 

Definition at line 884 of file alpha/mialpha.h.

Referenced by MiInitializePfn(), and MiMapViewOfPhysicalSection().

#define MI_IS_HYPER_SPACE_ADDRESS VA   )     ((PVOID)(VA) >= (PVOID)HYPER_SPACE && (PVOID)(VA) <= (PVOID)HYPER_SPACE_END)
 

Definition at line 2642 of file alpha/mialpha.h.

Referenced by MiEnsureAvailablePageOrWait(), and MmAccessFault().

#define MI_IS_KERNEL_PAGE_TABLE_ADDRESS VA   )     ((PVOID)(VA) >= (PVOID)MiGetPteAddress(MmSystemRangeStart) && (PVOID)(VA) <= (PVOID)PDE_TOP)
 

Definition at line 2592 of file alpha/mialpha.h.

Referenced by MiCheckPdeForPagedPool().

#define MI_IS_PAGE_DIRECTORY_ADDRESS VA   )     ((PVOID)(VA) >= (PVOID)PDE_BASE && (PVOID)(VA) <= (PVOID)PDE_TOP)
 

Definition at line 2617 of file alpha/mialpha.h.

#define MI_IS_PAGE_TABLE_ADDRESS VA   )     ((PVOID)(VA) >= (PVOID)PTE_BASE && (PVOID)(VA) <= (PVOID)PDE_TOP)
 

Definition at line 2568 of file alpha/mialpha.h.

Referenced by MiAddValidPageToWorkingSet(), MiCheckVirtualAddress(), MiResolveDemandZeroFault(), MiResolvePageFileFault(), and MmAccessFault().

#define MI_IS_PFN_DELETED PPFN   )     ( ( (ULONG)((PPFN)->PteAddress) & 0x80000000 ) == 0 )
 

Definition at line 934 of file alpha/mialpha.h.

Referenced by MiCleanSection(), MiDecrementReferenceCount(), MiWriteComplete(), and MmFreePagesFromMdl().

#define MI_IS_PHYSICAL_ADDRESS Va   )     ( ((ULONG)Va >= KSEG0_BASE) && ((ULONG)Va < KSEG2_BASE) )
 

Definition at line 2262 of file alpha/mialpha.h.

Referenced by MiAllocatePoolPages(), MiBuildPagedPool(), MiCheckForContiguousMemory(), MiDispatchFault(), MiEnablePagingTheExecutive(), MiFindActualFaultingPte(), MiFindContiguousMemory(), MiFreeInitializationCode(), MiFreePoolPages(), MiInitializeNonPagedPool(), MiInitMachineDependent(), MiLockCode(), MiMapSinglePage(), MiProtectFreeNonPagedPool(), MiSetPagingOfDriver(), MiSetSystemCodeProtection(), MiUnmapSinglePage(), MiUnProtectFreeNonPagedPool(), MiWriteProtectSystemImage(), MmAccessFault(), MmAddPhysicalMemory(), MmBuildMdlForNonPagedPool(), MmDbgReadCheck(), MmDbgWriteCheck(), MmFreeLoaderBlock(), MmGetPhysicalAddress(), MmInSwapProcess(), MmIsAddressValid(), MmLockPagableDataSection(), MmLockPagableSectionByHandle(), MmMakeKernelResourceSectionWritable(), MmOutSwapProcess(), MmProbeAndLockPages(), MmRemovePhysicalMemory(), MmResetDriverPaging(), MmSetKernelDumpRange(), MmSetPageProtection(), MmUnlockPagableImageSection(), MmUnmapLockedPages(), and ViReleasePoolAllocation().

#define MI_IS_PROCESS_SPACE_ADDRESS VA   ) 
 

Value:

(((PVOID)(VA) <= (PVOID)MM_HIGHEST_USER_ADDRESS) || \ ((PVOID)(VA) >= (PVOID)PTE_BASE && (PVOID)(VA) <= (PVOID)HYPER_SPACE_END))

Definition at line 2668 of file alpha/mialpha.h.

Referenced by MiAddValidPageToWorkingSet().

#define MI_IS_PTE_DIRTY PTE   )     ((PTE).u.Hard.Dirty != MM_PTE_CLEAN)
 

Definition at line 757 of file alpha/mialpha.h.

Referenced by MiEliminateWorkingSetEntry(), MiFlushDirtyBitsToPfn(), MiFlushTbAndCapture(), MiResetVirtualMemory(), MiSessionCopyOnWrite(), MiSetPageModified(), MiSetSystemCodeProtection(), and MmSetAddressRangeModified().

#define MI_IS_PTE_PROTOTYPE PTE   )     ((PTE) > (PMMPTE)PDE_TOP)
 

Definition at line 2693 of file alpha/mialpha.h.

Referenced by MiGetPageProtection().

#define MI_IS_SYSTEM_CACHE_ADDRESS VA   ) 
 

Value:

(((PVOID)(VA) >= (PVOID)MmSystemCacheStart && \ (PVOID)(VA) <= (PVOID)MmSystemCacheEnd))

Definition at line 2717 of file alpha/mialpha.h.

Referenced by MiAddValidPageToWorkingSet(), MiRemoveWsle(), MiUpdateWsle(), MiWaitForInPageComplete(), MmFlushVirtualMemory(), MmLockPagableSectionByHandle(), and MmProbeAndLockPages().

#define MI_MAKE_PROTECT_WRITE_COPY PTE   ) 
 

Value:

if ((PTE).u.Long & 0x20) { \ ((PTE).u.Long |= 0x8); \ }

Definition at line 2123 of file alpha/mialpha.h.

Referenced by MiCloneProcessAddressSpace(), and MiHandleForkTransitionPte().

#define MI_MAKE_TRANSITION_PTE OUTPTE,
PAGE,
PROTECT,
PPTE   ) 
 

Value:

(OUTPTE).u.Long = 0; \ (OUTPTE).u.Trans.PageFrameNumber = PAGE; \ (OUTPTE).u.Trans.Transition = 1; \ (OUTPTE).u.Trans.Protection = PROTECT;

Definition at line 571 of file alpha/mialpha.h.

Referenced by MiInitializeReadInProgressPfn(), and MiInitializeTransitionPfn().

#define MI_MAKE_TRANSITION_PTE_VALID OUTPTE,
PPTE   ) 
 

Value:

(OUTPTE).u.Long = (((PPTE)->u.Long & 0xFFFFFE00) | \ (MmProtectToPteMask[(PPTE)->u.Trans.Protection]) | \ MM_PTE_VALID_MASK); \ (OUTPTE).u.Hard.Owner = MI_DETERMINE_OWNER( PPTE ); \ if (((PMMPTE)PPTE) >= MiGetPteAddress(MM_SYSTEM_SPACE_START)) { \ if (MI_IS_SESSION_PTE((PMMPTE)PPTE)) { \ (OUTPTE).u.Hard.Global = 0; \ } else { \ (OUTPTE).u.Hard.Global = 1; \ } \ } else { \ (OUTPTE).u.Hard.Global = 0; \ }

Definition at line 601 of file alpha/mialpha.h.

Referenced by MiDispatchFault(), MiMakeOutswappedPageResident(), and MiResolveTransitionFault().

#define MI_MAKE_VALID_PTE OUTPTE,
FRAME,
PMASK,
PPTE   ) 
 

Value:

{ \ (OUTPTE).u.Long = ( (FRAME << 9) | \ (MmProtectToPteMask[PMASK]) | \ MM_PTE_VALID_MASK ); \ (OUTPTE).u.Hard.Owner = MI_DETERMINE_OWNER(PPTE); \ if (((PMMPTE)PPTE) >= MiGetPteAddress(MM_SYSTEM_SPACE_START)) { \ if (MI_IS_SESSION_PTE((PMMPTE)PPTE)) { \ (OUTPTE).u.Hard.Global = 0; \ } else { \ (OUTPTE).u.Hard.Global = 1; \ } \ } else { \ (OUTPTE).u.Hard.Global = 0; \ } \ }

Definition at line 494 of file alpha/mialpha.h.

Referenced by MiAddWorkingSetPage(), MiAddWsleHash(), MiCompleteProtoPteFault(), MiInitializeWorkingSetList(), MiLockCode(), MiMakeOutswappedPageResident(), MiMapViewOfPhysicalSection(), MiProtectSpecialPool(), MiProtectVirtualMemory(), MiReloadBootLoadedDrivers(), MiResolveDemandZeroFault(), MiSetProtectionOnSection(), MiSetSystemCodeProtection(), MmAccessFault(), MmAllocateIndependentPages(), MmAllocateNonCachedMemory(), MmCheckCachedPageState(), MmCopyToCachedPage(), MmCreateKernelStack(), MmDbgWriteCheck(), MmGrowKernelStack(), MmInitializeProcessAddressSpace(), MmInitSystem(), MmMakeKernelResourceSectionWritable(), MmSetBankedSection(), MmSetPageProtection(), NtMapUserPhysicalPages(), and NtMapUserPhysicalPagesScatter().

#define MI_MAKE_VALID_PTE_TRANSITION OUTPTE,
PROTECT   ) 
 

Value:

(OUTPTE).u.Soft.Transition = 1; \ (OUTPTE).u.Soft.Valid = 0; \ (OUTPTE).u.Soft.Prototype = 0; \ (OUTPTE).u.Soft.Protection = PROTECT;

Definition at line 535 of file alpha/mialpha.h.

Referenced by MiDecrementShareCount(), MiEliminateWorkingSetEntry(), MiEnablePagingOfDriverAtInit(), MiSetPagingOfDriver(), MmOutPageKernelStack(), and MmOutSwapProcess().

#define MI_MAKE_VALID_PTE_WRITE_COPY PPTE   ) 
 

Value:

if ((PPTE)->u.Hard.Write == 1) { \ (PPTE)->u.Hard.CopyOnWrite = 1; \ (PPTE)->u.Hard.Dirty = MM_PTE_CLEAN; \ }

Definition at line 1261 of file alpha/mialpha.h.

Referenced by MiCloneProcessAddressSpace().

#define MI_MAKING_MULTIPLE_PTES_INVALID SYSTEM_WIDE   ) 
 

Definition at line 2099 of file alpha/mialpha.h.

Referenced by MiFreeNonPagedPool(), MiMapPageInHyperSpace(), MmFreeNonCachedMemory(), and MmFreePagesFromMdl().

#define MI_MAKING_VALID_PTE_INVALID SYSTEM_WIDE   ) 
 

Definition at line 2074 of file alpha/mialpha.h.

Referenced by MiEliminateWorkingSetEntry().

#define MI_MAXIMUM_PTE_WORKING_SET_INDEX   0
 

Definition at line 400 of file alpha/mialpha.h.

Referenced by MiLocateWsle().

#define MI_NO_FAULT_FOUND TEMP,
PPTE,
VA,
PFNHELD   ) 
 

Value:

if (StoreInstruction && ((PPTE)->u.Hard.Dirty == MM_PTE_CLEAN)) { \ MiSetDirtyBit ((VA),(PPTE),(PFNHELD)); \ } else { \ KiFlushSingleTb( 1, VA ); \ }

Definition at line 2192 of file alpha/mialpha.h.

Referenced by MmAccessFault().

#define MI_PAGE_COLOR_PTE_PROCESS PTE,
COLOR   )     ((ULONG)((*(COLOR))++) & MmSecondaryColorMask)
 

Definition at line 1089 of file alpha/mialpha.h.

Referenced by MiDoneWithThisPageGetAnother(), MiInitializeWorkingSetList(), MiResolveMappedFileFault(), and MmCreateProcessAddressSpace().

#define MI_PAGE_COLOR_VA_PROCESS ADDRESS,
COLOR   )     ((ULONG)((*(COLOR))++) & MmSecondaryColorMask)
 

Definition at line 1116 of file alpha/mialpha.h.

Referenced by MiGetPageForHeader(), MiResolveDemandZeroFault(), MiResolvePageFileFault(), MmAccessFault(), and MmCreateProcessAddressSpace().

#define MI_PTE_BASE_FOR_LOWEST_KERNEL_ADDRESS   (MiGetPteAddress (0x80000000))
 

Definition at line 110 of file alpha/mialpha.h.

Referenced by MiInitializeSystemCache(), and MiInitializeSystemPtes().

#define MI_PTE_LOOKUP_NEEDED   (0xfffff)
 

Definition at line 2336 of file alpha/mialpha.h.

Referenced by MiCloneProcessAddressSpace(), MiCompleteProtoPteFault(), MiDeletePte(), MiEliminateWorkingSetEntry(), MiFindActualFaultingPte(), MiGetPageProtection(), MiInitMachineDependent(), MiIsPteDecommittedPage(), MiResolveProtoPteFault(), MiSetProtectionOnSection(), MiWaitForInPageComplete(), and MmAccessFault().

#define MI_SET_ACCESSED_IN_PTE PPTE,
ACCESSED   ) 
 

Definition at line 1313 of file alpha/mialpha.h.

Referenced by MiCopyOnWrite(), MiReloadBootLoadedDrivers(), MiReplaceWorkingSetEntryUsingFaultInfo(), MiSessionCopyOnWrite(), MiSetDirtyBit(), and MiTrimWorkingSet().

#define MI_SET_GLOBAL_BIT_IF_SYSTEM OUTPTE,
PPTE   ) 
 

Definition at line 784 of file alpha/mialpha.h.

#define MI_SET_GLOBAL_STATE PTE,
STATE   )     (PTE).u.Hard.Global = STATE;
 

Definition at line 808 of file alpha/mialpha.h.

Referenced by MiMakeOutswappedPageResident(), MmCheckCachedPageState(), MmCopyToCachedPage(), MmCreateProcessAddressSpace(), and MmMapVideoDisplay().

#define MI_SET_OWNER_IN_PTE PPTE,
OWNER   )     ( (PPTE)->u.Hard.Owner = OWNER )
 

Definition at line 1360 of file alpha/mialpha.h.

Referenced by MiBuildForkPageTable().

#define MI_SET_PAGE_DIRTY PPTE,
VA,
PFNHELD   ) 
 

Value:

if ((PPTE)->u.Hard.Dirty == MM_PTE_CLEAN) { \ MiSetDirtyBit ((VA),(PPTE),(PFNHELD)); \ }

Definition at line 2157 of file alpha/mialpha.h.

Referenced by MmAccessFault().

#define MI_SET_PAGING_FILE_INFO OUTPTE,
PPTE,
FILEINFO,
OFFSET   ) 
 

Value:

(OUTPTE).u.Long = (PPTE).u.Long; \ (OUTPTE).u.Long &= CLEAR_FOR_PAGE_FILE; \ (OUTPTE).u.Long |= ((((FILEINFO) & 0xF) << 8) | ((OFFSET) << 12));

Definition at line 1428 of file alpha/mialpha.h.

Referenced by MiCheckForCrashDump(), and MiGatherPagefilePages().

#define MI_SET_PFN_DELETED PPFN   )     (((ULONG)(PPFN)->PteAddress &= (ULONG)0x7FFFFFFF))
 

Definition at line 909 of file alpha/mialpha.h.

Referenced by MiCleanPhysicalProcessPages(), MiCleanSection(), MiDecommitPages(), MiDecrementCloneBlockReference(), MiDeletePte(), MiDeleteSystemPagableVm(), MiDeleteValidAddress(), MiDereferenceSession(), MiFreeInitializationCode(), MiFreeNonPagedPool(), MiGetPageForHeader(), MiInitializeSessionPool(), MiInitMachineDependent(), MiLoadImageSection(), MiProcessValidPteList(), MiPurgeImageSection(), MiReloadBootLoadedDrivers(), MiSegmentDelete(), MiSessionCreateInternal(), MiSessionDeletePde(), MmAllocatePagesForMdl(), MmDeleteKernelStack(), MmDeleteProcessAddressSpace(), MmFreeLoaderBlock(), MmFreeNonCachedMemory(), MmFreeSpecialPool(), MmGatherMemoryForHibernate(), MmOutPageKernelStack(), MmPurgeSection(), MmRemovePhysicalMemory(), MmShutdownSystem(), MmTrimAllSystemPagableMemory(), NtAllocateUserPhysicalPages(), and NtFreeUserPhysicalPages().

#define MI_SET_PTE_CLEAN PTE   )     (PTE).u.Hard.Dirty = MM_PTE_CLEAN
 

Definition at line 733 of file alpha/mialpha.h.

Referenced by MiFlushDirtyBitsToPfn(), MiResetVirtualMemory(), MiResolveTransitionFault(), MiSetPageModified(), and MmSetAddressRangeModified().

#define MI_SET_PTE_DIRTY PTE   )     (PTE).u.Hard.Dirty = MM_PTE_DIRTY
 

Definition at line 710 of file alpha/mialpha.h.

Referenced by MiAddWorkingSetPage(), MiAddWsleHash(), MiAllocateSpecialPool(), MiCompleteProtoPteFault(), MiCopyOnWrite(), MiDispatchFault(), MiInitializeWorkingSetList(), MiMakeOutswappedPageResident(), MiMapViewOfPhysicalSection(), MiReloadBootLoadedDrivers(), MiResolveDemandZeroFault(), MiResolveTransitionFault(), MiSessionCopyOnWrite(), MiSessionInitializeWorkingSetList(), MiSetDirtyBit(), MmAccessFault(), MmAllocateIndependentPages(), MmAllocateNonCachedMemory(), MmCopyToCachedPage(), MmCreateKernelStack(), MmGrowKernelStack(), MmInitializeProcessAddressSpace(), MmSetBankedSection(), NtMapUserPhysicalPages(), and NtMapUserPhysicalPagesScatter().

#define MI_SET_PTE_IN_WORKING_SET PTE,
WSINDEX   ) 
 

Definition at line 641 of file alpha/mialpha.h.

Referenced by MiAddValidPageToWorkingSet(), MiAddWorkingSetPage(), MiAddWsleHash(), MiDecommitPages(), MiInitializeWorkingSetList(), MiLockCode(), MiProtectVirtualMemory(), MiRemoveMappedPtes(), MiRemoveWorkingSetPages(), MiSessionInitializeWorkingSetList(), MiSetProtectionOnSection(), MiSwapWslEntries(), MmAccessFault(), MmCheckCachedPageState(), MmCopyToCachedPage(), and MmUnmapViewInSystemCache().

#define MI_SET_PTE_WRITE_COMBINE PTE   ) 
 

Definition at line 687 of file alpha/mialpha.h.

Referenced by MiMapLockedPagesInUserSpace(), MiMapSinglePage(), MiMapViewOfPhysicalSection(), MiSweepCacheMachineDependent(), MmMapIoSpace(), and MmMapLockedPagesSpecifyCache().

#define MI_WRITE_INVALID_PTE _PointerPte,
_PteContents   )     (*(_PointerPte) = (_PteContents))
 

Definition at line 2486 of file alpha/mialpha.h.

Referenced by MiBuildForkPageTable(), MiCheckForCrashDump(), MiCloneProcessAddressSpace(), MiCreateImageFileMap(), MiCreatePagingFileMap(), MiDecommitPages(), MiDecrementShareCount(), MiDeletePte(), MiDeleteSystemPagableVm(), MiDeleteVirtualAddresses(), MiDereferenceSession(), MiHandleForkTransitionPte(), MiInitializeReadInProgressPfn(), MiInitializeSystemPtes(), MiInitializeTransitionPfn(), MiInitMachineDependent(), MiLoadImageSection(), MiMapSinglePage(), MiMapViewOfDataSection(), MiPurgeImageSection(), MiRemoveMappedPtes(), MiRemoveMappedView(), MiRemoveUserPhysicalPagesVad(), MiRestoreTransitionPte(), MiSegmentDelete(), MiSetProtectionOnSection(), MmAccessFault(), MmCreateProcessAddressSpace(), MmExtendSection(), MmFreeLoaderBlock(), MmPurgeSection(), MmUnmapViewInSystemCache(), NtAllocateUserPhysicalPages(), NtAllocateVirtualMemory(), NtFreeUserPhysicalPages(), NtMapUserPhysicalPages(), and NtMapUserPhysicalPagesScatter().

#define MI_WRITE_VALID_PTE _PointerPte,
_PteContents   )     (*(_PointerPte) = (_PteContents))
 

Definition at line 2459 of file alpha/mialpha.h.

Referenced by MiAddWorkingSetPage(), MiAddWsleHash(), MiAllocatePoolPages(), MiAllocateSpecialPool(), MiAttachSession(), MiBuildPagedPool(), MiBuildPageTableForDrivers(), MiBuildPageTableForLoaderMemory(), MiCheckPdeForPagedPool(), MiCompleteProtoPteFault(), MiConvertBackToStandardPages(), MiDispatchFault(), MiFillSystemPageDirectory(), MiFindContiguousMemory(), MiGetKSegAddress(), MiInitializeSessionPool(), MiInitializeSystemCache(), MiInitializeWorkingSetList(), MiInitMachineDependent(), MiLoadImageSection(), MiLockCode(), MiMakeOutswappedPageResident(), MiMapBBTMemory(), MiMapImageHeaderInHyperSpace(), MiMapLockedPagesInUserSpace(), MiMapSinglePage(), MiMapViewOfPhysicalSection(), MiReloadBootLoadedDrivers(), MiRemoveMappedPtes(), MiResolveDemandZeroFault(), MiResolveTransitionFault(), MiSessionCommitImagePages(), MiSessionCommitPageTables(), MiSessionCreateInternal(), MiSessionInitializeWorkingSetList(), MiSweepCacheMachineDependent(), MiUnProtectFreeNonPagedPool(), MmAccessFault(), MmAllocateIndependentPages(), MmAllocateNonCachedMemory(), MmCheckCachedPageState(), MmCopyToCachedPage(), MmCreateKernelStack(), MmCreateProcessAddressSpace(), MmInitializeProcessAddressSpace(), MmInitSystem(), MmMapIoSpace(), MmMapLockedPagesSpecifyCache(), MmMapVideoDisplay(), NtMapUserPhysicalPages(), and NtMapUserPhysicalPagesScatter().

#define MI_WRITE_VALID_PTE_NEW_PROTECTION _PointerPte,
_PteContents   )     (*(_PointerPte) = (_PteContents))
 

Definition at line 2513 of file alpha/mialpha.h.

Referenced by MiCopyOnWrite(), MiProtectSpecialPool(), MiSetDirtyBit(), MmAccessFault(), MmMakeKernelResourceSectionWritable(), and MmSetAddressRangeModified().

#define MiDoesPpeExistAndMakeValid PPE,
TARGETPROCESS,
PFNMUTEXHELD,
WAITED   )     (1)
 

Definition at line 1980 of file alpha/mialpha.h.

Referenced by MiCalculatePageCommitment(), MiCloneProcessAddressSpace(), MiDeletePte(), MiDeleteVirtualAddresses(), MiFlushDirtyBitsToPfn(), MiIsEntireRangeCommitted(), MiProtectVirtualMemory(), MiQueryAddressState(), MiResetVirtualMemory(), MiSetProtectionOnSection(), MmFlushVirtualMemory(), MmSecureVirtualMemory(), and NtLockVirtualMemory().

#define MiFillMemoryPte Destination,
Length,
Pattern   )     RtlFillMemoryUlong ((Destination), (Length), (Pattern))
 

Definition at line 2543 of file alpha/mialpha.h.

Referenced by MiAddSystemPtes(), MiAllocatePoolPages(), MiBuildPagedPool(), MiCreateDataFileMap(), MiFillSystemPageDirectory(), MiInitializeSessionPool(), MiInitializeSystemPtes(), MiReleaseSystemPtes(), MiSessionInitializeWorkingSetList(), MmInitSystem(), MmMapUserAddressesToPage(), and MmMapVideoDisplay().

#define MiGetPdeAddress va   )     ((PMMPTE)(((((ULONG)(va)) >> PDI_SHIFT) << 2) + PDE_BASE))
 

Definition at line 1643 of file alpha/mialpha.h.

Referenced by MiAllocatePoolPages(), MiAttachSession(), MiBuildPagedPool(), MiBuildPageTableForDrivers(), MiBuildPageTableForLoaderMemory(), MiCalculatePageCommitment(), MiCheckPdeForPagedPool(), MiCheckPdeForSessionSpace(), MiCheckProtoPtePageState(), MiCheckSessionPoolAllocations(), MiCloneProcessAddressSpace(), MiCreatePageTablesForPhysicalRange(), MiDecommitPages(), MiDeleteAddressesInWorkingSet(), MiDeletePageTablesForPhysicalRange(), MiDeleteValidAddress(), MiDeleteVirtualAddresses(), MiDereferenceSession(), MiDetachSession(), MiDetermineUserGlobalPteMask(), MiDispatchFault(), MiFillSystemPageDirectory(), MiFindActualFaultingPte(), MiGrowWsleHash(), MiInitializeSessionPool(), MiInitializeWorkingSetList(), MiInitMachineDependent(), MiIsEntireRangeCommitted(), MiMapLockedPagesInUserSpace(), MiMapViewOfPhysicalSection(), MiProtectVirtualMemory(), MiQueryAddressState(), MiRemoveMappedView(), MiRemoveWorkingSetPages(), MiResetVirtualMemory(), MiSessionCommitPageTables(), MiSessionCreateInternal(), MiSessionInitializeWorkingSetList(), MiSetPageModified(), MiSetProtectionOnSection(), MiUnmapLockedPagesInUserSpace(), MmAccessFault(), MmCleanProcessAddressSpace(), MmCreateProcessAddressSpace(), MmDbgReleaseAddress(), MmDbgWriteCheck(), MmFlushVirtualMemory(), MmFreeLoaderBlock(), MmInitializeProcessAddressSpace(), MmInitSystem(), MmInSwapProcess(), MmIsAddressValid(), MmProbeAndLockPages(), MmSecureVirtualMemory(), MmSessionCreate(), NtAllocateVirtualMemory(), and NtLockVirtualMemory().

#define MiGetPdeAddress64 va   )     ((PMMPTE)((ULONG)((((ULONGLONG)(va)) >> PDI_SHIFT) << 2) + PDE_BASE64))
 

Definition at line 1646 of file alpha/mialpha.h.

#define MiGetPdeOffset va   )     (((ULONG)(va)) >> PDI_SHIFT)
 

Definition at line 1722 of file alpha/mialpha.h.

Referenced by MiCloneProcessAddressSpace(), MiSessionInSwapProcess(), MiSessionOutSwapProcess(), MmCreateProcessAddressSpace(), MmInSwapProcess(), and MmOutSwapProcess().

#define MiGetPpeAddress va   )     ((PMMPTE)0)
 

Definition at line 1619 of file alpha/mialpha.h.

Referenced by MiAttachSession(), MiBuildPagedPool(), MiCalculatePageCommitment(), MiCreatePageTablesForPhysicalRange(), MiDecommitPages(), MiDeleteAddressesInWorkingSet(), MiDeleteValidAddress(), MiDeleteVirtualAddresses(), MiDereferenceSession(), MiDetachSession(), MiFindActualFaultingPte(), MiGrowWsleHash(), MiInitializeWorkingSetList(), MiInitMachineDependent(), MiLoadSystemImage(), MiMapViewOfPhysicalSection(), MiProtectVirtualMemory(), MiQueryAddressState(), MiRemoveWorkingSetPages(), MiSessionCreateInternal(), MiSetPageModified(), MiSetProtectionOnSection(), MmAccessFault(), MmCreateProcessAddressSpace(), MmFlushVirtualMemory(), MmInitializeProcessAddressSpace(), MmInitSystem(), MmInSwapProcess(), MmIsAddressValid(), MmProbeAndLockPages(), MmSessionCreate(), and NtAllocateVirtualMemory().

#define MiGetPpeOffset va   )     (0)
 

Definition at line 1698 of file alpha/mialpha.h.

Referenced by MiSessionInSwapProcess(), MiSessionOutSwapProcess(), MmCreateProcessAddressSpace(), MmDeleteProcessAddressSpace(), MmInSwapProcess(), and MmOutSwapProcess().

#define MiGetPpePdeOffset   MiGetPdeOffset
 

Definition at line 1746 of file alpha/mialpha.h.

Referenced by MiCloneProcessAddressSpace(), MiInsertVad(), and MiReturnPageTablePageCommitment().

#define MiGetPteAddress va   )     ((PMMPTE)(((((ULONG)(va)) >> PTI_SHIFT) << 2) + PTE_BASE))
 

Definition at line 1671 of file alpha/mialpha.h.

Referenced by ExFreePool(), MiAddWorkingSetPage(), MiAllocatePoolPages(), MiBuildPagedPool(), MiBuildPageTableForDrivers(), MiBuildPageTableForLoaderMemory(), MiCalculatePageCommitment(), MiCheckForContiguousMemory(), MiCheckPdeForPagedPool(), MiCheckPdeForSessionSpace(), MiCheckProtoPtePageState(), MiCheckVirtualAddress(), MiCloneProcessAddressSpace(), MiCompleteProtoPteFault(), MiConvertBackToStandardPages(), MiConvertToSuperPages(), MiCopyOnWrite(), MiCreatePageTablesForPhysicalRange(), MiDecommitPages(), MiDeleteAddressesInWorkingSet(), MiDeletePageTablesForPhysicalRange(), MiDeletePte(), MiDeleteSystemPagableVm(), MiDeleteValidAddress(), MiDeleteVirtualAddresses(), MiDereferenceSession(), MiDetermineUserGlobalPteMask(), MiDispatchFault(), MiEliminateWorkingSetEntry(), MiEmptyWorkingSet(), MiEnablePagingOfDriver(), MiEnablePagingTheExecutive(), MiEnsureAvailablePageOrWait(), MiFindActualFaultingPte(), MiFindContiguousMemory(), MiFlushDirtyBitsToPfn(), MiFreeInitializationCode(), MiFreeNonPagedPool(), MiFreePoolPages(), MiGetSystemCacheSubsection(), MiGetWorkingSetInfo(), MiGrowWsleHash(), MiHandleBankedSection(), MiHandleForkTransitionPte(), MiInitializeCopyOnWritePfn(), MiInitializeNonPagedPool(), MiInitializePfn(), MiInitializeReadInProgressPfn(), MiInitializeSessionPool(), MiInitializeSystemCache(), MiInitializeTransitionPfn(), MiInitializeWorkingSetList(), MiInitMachineDependent(), MiInsertPteTracker(), MiInsertWsle(), MiIsEntireRangeCommitted(), MiLoadImageSection(), MiLocateKernelSections(), MiLocateWsle(), MiLockCode(), MiLockPagedAddress(), MiMakePdeExistAndMakeValid(), MiMapBBTMemory(), MiMapImageHeaderInHyperSpace(), MiMapLockedPagesInUserSpace(), MiMapPageToZeroInHyperSpace(), MiMapSinglePage(), MiMapViewInSystemSpace(), MiMapViewOfPhysicalSection(), MiProtectFreeNonPagedPool(), MiProtectSpecialPool(), MiProtectVirtualMemory(), MiQueryAddressState(), MiReloadBootLoadedDrivers(), MiRemoveMappedPtes(), MiRemoveMappedView(), MiRemovePageFromWorkingSet(), MiRemoveUserPhysicalPagesVad(), MiRemoveWorkingSetPages(), MiReplaceWorkingSetEntryUsingFaultInfo(), MiResetVirtualMemory(), MiResolvePageFileFault(), MiResolveTransitionFault(), MiRestoreTransitionPte(), MiSessionCommitImagePages(), MiSessionCreateInternal(), MiSessionInitializeWorkingSetList(), MiSessionInSwapProcess(), MiSessionOutSwapProcess(), MiSetPageModified(), MiSetProtectionOnSection(), MiSetSystemCodeProtection(), MiShareSessionImage(), MiSwapWslEntries(), MiSweepCacheMachineDependent(), MiTrimWorkingSet(), MiUnlockPagedAddress(), MiUnmapImageHeaderInHyperSpace(), MiUnmapLockedPagesInUserSpace(), MiUnmapSinglePage(), MiUnProtectFreeNonPagedPool(), MiWriteComplete(), MiWriteProtectSystemImage(), MmAccessFault(), MmAddPhysicalMemory(), MmAdjustWorkingSetSize(), MmAllocateContiguousMemorySpecifyCache(), MmBuildMdlForNonPagedPool(), MmCheckCachedPageState(), MmCleanProcessAddressSpace(), MmCopyToCachedPage(), MmCreateProcessAddressSpace(), MmDbgReleaseAddress(), MmDbgWriteCheck(), MmDeleteKernelStack(), MmFlushVirtualMemory(), MmFreeContiguousMemorySpecifyCache(), MmFreeDriverInitialization(), MmFreeNonCachedMemory(), MmFreeSpecialPool(), MmGetPhysicalAddress(), MmGrowKernelStack(), MmInitializeProcessAddressSpace(), MmInitSystem(), MmInPageKernelStack(), MmInSwapProcess(), MmIsAddressValid(), MmIsSpecialPoolAddressFree(), MmLockPagableSectionByHandle(), MmLockPagedPool(), MmMapLockedPagesSpecifyCache(), MmMapUserAddressesToPage(), MmMapViewInSystemCache(), MmOutPageKernelStack(), MmOutSwapProcess(), MmPageEntireDriver(), MmProbeAndLockPages(), MmProbeForWrite(), MmRemovePhysicalMemory(), MmResetDriverPaging(), MmSecureVirtualMemory(), MmSetAddressRangeModified(), MmSetBankedSection(), MmSetPageProtection(), MmUnloadSystemImage(), MmUnlockCachedPage(), MmUnlockPagableImageSection(), MmUnlockPagedPool(), MmUnmapIoSpace(), MmUnmapLockedPages(), MmUnmapVideoDisplay(), MmUnmapViewInSystemCache(), NtAllocateVirtualMemory(), NtFreeVirtualMemory(), NtLockVirtualMemory(), NtMapUserPhysicalPages(), NtMapUserPhysicalPagesScatter(), NtUnlockVirtualMemory(), and ViReleasePoolAllocation().

#define MiGetPteAddress64 va   )     ((PMMPTE)((ULONG)((((ULONGLONG)(va)) >> PTI_SHIFT) << 2) + PTE_BASE64))
 

Definition at line 1674 of file alpha/mialpha.h.

Referenced by MmDbgWriteCheck64().

#define MiGetPteOffset va   )     ( (((ULONG)(va)) << (32-PDI_SHIFT)) >> ((32-PDI_SHIFT) + PTI_SHIFT) )
 

Definition at line 1769 of file alpha/mialpha.h.

Referenced by MiCloneProcessAddressSpace(), MiSessionInSwapProcess(), MiSessionOutSwapProcess(), MmInSwapProcess(), and MmOutSwapProcess().

#define MiGetSubsectionAddress lpte   ) 
 

Value:

( ((lpte)->u.Subsect.WhichPool == 1) ? \ ((PSUBSECTION)((ULONG)MmSubsectionBase + \ (((lpte)->u.Long >> 8) << 3) )) \ : ((PSUBSECTION)((ULONG)MM_NONPAGED_POOL_END - \ (((lpte)->u.Long >> 8) << 3))) )

Definition at line 1559 of file alpha/mialpha.h.

Referenced by MiCleanSection(), MiCompleteProtoPteFault(), MiCreateImageFileMap(), MiGatherMappedPages(), MiGetSubsectionAndProtoFromPte(), MiModifiedPageWriterWorker(), MiResolveMappedFileFault(), MiResolveProtoPteFault(), MiRestoreTransitionPte(), MmCheckCachedPageState(), MmCopyToCachedPage(), MmInitSystem(), MmShutdownSystem(), and MmUnmapVideoDisplay().

#define MiGetSubsectionAddressForPte VA   ) 
 

Value:

( ((ULONG)VA < (ULONG)KSEG2_BASE) ? \ ( (((ULONG)VA - (ULONG)MmSubsectionBase) << 5) | 0x4 ) \ : ( (((ULONG)MM_NONPAGED_POOL_END - (ULONG)VA) << 5 ) ) )

Definition at line 1591 of file alpha/mialpha.h.

Referenced by MiCreateDataFileMap(), MiCreateImageFileMap(), MiMapViewOfPhysicalSection(), MiPurgeImageSection(), MmExtendSection(), MmInitSystem(), and MmMapVideoDisplay().

#define MiGetVirtualAddressMappedByPde va   )     ((PVOID)((ULONG)(va) << (PDI_SHIFT-2)))
 

Definition at line 1817 of file alpha/mialpha.h.

Referenced by MiInitMachineDependent(), and MmIsAddressValid().

#define MiGetVirtualAddressMappedByPpe PPE   )     (NULL)
 

Definition at line 1793 of file alpha/mialpha.h.

#define MiGetVirtualAddressMappedByPte va   )     ((PVOID)((ULONG)(va) << (PAGE_SHIFT-2)))
 

Definition at line 1842 of file alpha/mialpha.h.

Referenced by AggregatePages(), ExAllocatePool(), MiAddWorkingSetPage(), MiAddWsleHash(), MiAllocatePoolPages(), MiAllocateSpecialPool(), MiBuildPagedPool(), MiCalculatePageCommitment(), MiCheckForContiguousMemory(), MiCheckPdeForPagedPool(), MiCheckPdeForSessionSpace(), MiCheckSessionPoolAllocations(), MiCloneProcessAddressSpace(), MiCompleteProtoPteFault(), MiCopyOnWrite(), MiCreatePageTablesForPhysicalRange(), MiDeletePageTablesForPhysicalRange(), MiDeletePte(), MiDeleteSystemPagableVm(), MiDeleteVirtualAddresses(), MiDoesPdeExistAndMakeValid(), MiEliminateWorkingSetEntry(), MiEnablePagingOfDriverAtInit(), MiFillSystemPageDirectory(), MiFindContiguousMemory(), MiFlushDirtyBitsToPfn(), MiFlushTbAndCapture(), MiFreePoolPages(), MiGetPageProtection(), MiGrowWsleHash(), MiHandleForkTransitionPte(), MiInitializeCopyOnWritePfn(), MiInitializePfn(), MiInitializeReadInProgressPfn(), MiInitializeSpecialPool(), MiInitializeTransitionPfn(), MiInitMachineDependent(), MiIsEntireRangeCommitted(), MiLoadImageSection(), MiLockCode(), MiLockPagedAddress(), MiMakeOutswappedPageResident(), MiMakePdeExistAndMakeValid(), MiMapBBTMemory(), MiMapImageHeaderInHyperSpace(), MiMapPageInHyperSpace(), MiMapPageToZeroInHyperSpace(), MiMapSinglePage(), MiMapViewOfPhysicalSection(), MiProcessValidPteList(), MiProtectVirtualMemory(), MiReleaseSystemPtes(), MiReloadBootLoadedDrivers(), MiRemoveMappedView(), MiRemovePageFromWorkingSet(), MiRemovePteTracker(), MiRemoveUserPhysicalPagesVad(), MiRemoveWorkingSetPages(), MiReserveSystemPtes2(), MiResetVirtualMemory(), MiResolveMappedFileFault(), MiSessionCommitPageTables(), MiSessionCopyOnWrite(), MiSessionCreateInternal(), MiSessionInitializeWorkingSetList(), MiSetPagingOfDriver(), MiSetProtectionOnSection(), MiSetSystemCodeProtection(), MiUnmapLockedPagesInUserSpace(), MmAllocateIndependentPages(), MmAllocateNonCachedMemory(), MmCheckCachedPageState(), MmCleanProcessAddressSpace(), MmCopyToCachedPage(), MmCreateKernelStack(), MmDbgTranslatePhysicalAddress(), MmDbgTranslatePhysicalAddress64(), MmFlushVirtualMemory(), MmFreeLoaderBlock(), MmGetVirtualForPhysical(), MmGrowKernelStack(), MmHibernateInformation(), MmInitSystem(), MmInPageKernelStack(), MmMakeKernelResourceSectionWritable(), MmMapIoSpace(), MmMapLockedPagesSpecifyCache(), MmMapMemoryDumpMdl(), MmMapVideoDisplay(), MmMapViewInSystemCache(), MmReleaseDumpAddresses(), MmSecureVirtualMemory(), NtAllocateUserPhysicalPages(), NtAllocateVirtualMemory(), and NtFreeUserPhysicalPages().

#define MiGetVirtualAddressMappedByPte64 PTE   )     ((PVOID64)(((ULONGLONG)((ULONG)(PTE) - PTE_BASE64)) << 11))
 

Definition at line 1845 of file alpha/mialpha.h.

#define MiGetVirtualPageNumberMappedByPte64 PTE   )     (((ULONG)(PTE) - PTE_BASE64) >> 2)
 

Definition at line 1848 of file alpha/mialpha.h.

#define MiIsPteOnPdeBoundary PTE   )     (((ULONG_PTR)(PTE) & (PAGE_SIZE - 1)) == 0)
 

Definition at line 1945 of file alpha/mialpha.h.

Referenced by MiBuildPageTableForDrivers(), MiBuildPageTableForLoaderMemory(), MiCalculatePageCommitment(), MiCleanSection(), MiCloneProcessAddressSpace(), MiCreatePageTablesForPhysicalRange(), MiDecommitPages(), MiDeletePageTablesForPhysicalRange(), MiDeleteVirtualAddresses(), MiFlushDirtyBitsToPfn(), MiFlushSectionInternal(), MiGrowWsleHash(), MiInitMachineDependent(), MiIsEntireRangeCommitted(), MiMapViewOfPhysicalSection(), MiProtectVirtualMemory(), MiPurgeImageSection(), MiRemoveMappedView(), MiRemoveWorkingSetPages(), MiResetVirtualMemory(), MiResolveMappedFileFault(), MiSegmentDelete(), MiSetProtectionOnSection(), MmCleanProcessAddressSpace(), MmFlushVirtualMemory(), MmInitSystem(), MmProbeAndLockPages(), MmPurgeSection(), MmSecureVirtualMemory(), and NtAllocateVirtualMemory().

#define MiIsPteOnPpeBoundary PTE   )     (FALSE)
 

Definition at line 1921 of file alpha/mialpha.h.

Referenced by MiBuildPageTableForDrivers(), MiBuildPageTableForLoaderMemory(), MiCreatePageTablesForPhysicalRange(), MiDeletePageTablesForPhysicalRange(), MiInitMachineDependent(), MiMapViewOfPhysicalSection(), MiRemoveWorkingSetPages(), MiResetVirtualMemory(), MmCleanProcessAddressSpace(), MmProbeAndLockPages(), and NtAllocateVirtualMemory().

#define MiIsVirtualAddressOnPdeBoundary VA   )     (((ULONG_PTR)(VA) & PAGE_DIRECTORY_MASK) == 0)
 

Definition at line 1897 of file alpha/mialpha.h.

Referenced by MiDeleteVirtualAddresses().

#define MiIsVirtualAddressOnPpeBoundary VA   )     (FALSE)
 

Definition at line 1873 of file alpha/mialpha.h.

Referenced by MiDeleteVirtualAddresses().

#define MiProtoAddressForKernelPte proto_va   )     MiProtoAddressForPte(proto_va)
 

Definition at line 1527 of file alpha/mialpha.h.

Referenced by MiAddMappedPtes(), and MmMapViewInSystemCache().

#define MiProtoAddressForPte proto_va   ) 
 

Value:

(((((ULONG)proto_va - MmProtopte_Base) << 2) & 0xfffffff0) | \ MM_PTE_PROTOTYPE_MASK )

Definition at line 1495 of file alpha/mialpha.h.

Referenced by MiCloneProcessAddressSpace(), MiEliminateWorkingSetEntry(), MiHandleForkTransitionPte(), MiMapViewOfPhysicalSection(), MmAccessFault(), MmInitSystem(), and MmMapVideoDisplay().

#define MiPteToProto lpte   ) 
 

Value:

( (PMMPTE)( ( ((lpte)->u.Long >> 4 ) << 2 ) + \ MmProtopte_Base ) )

Definition at line 1466 of file alpha/mialpha.h.

Referenced by MiCloneProcessAddressSpace(), MiDeletePte(), MiFindActualFaultingPte(), MiGetPageProtection(), MiGetSubsectionAndProtoFromPte(), MiSetProtectionOnSection(), MiSetSystemCodeProtection(), MiWaitForInPageComplete(), MmAccessFault(), MmCheckCachedPageState(), MmCopyToCachedPage(), MmInitSystem(), and MmUnmapVideoDisplay().

#define MM_COLOR_ALIGNMENT   (0)
 

Definition at line 321 of file alpha/mialpha.h.

Referenced by MiBuildPagedPool(), MiMapSinglePage(), MmMapIoSpace(), and MmMapLockedPagesSpecifyCache().

#define MM_COLOR_MASK   (0)
 

Definition at line 315 of file alpha/mialpha.h.

Referenced by MiAddMappedPtes(), MiFindContiguousMemory(), MiInitMachineDependent(), MiMapPageInHyperSpace(), MiRemoveAnyPage(), MiRemoveZeroPage(), MiZeroPhysicalPage(), MmDbgTranslatePhysicalAddress(), MmMapLockedPagesSpecifyCache(), and MmMapViewInSystemCache().

#define MM_COLOR_MASK_VIRTUAL   (0)
 

Definition at line 327 of file alpha/mialpha.h.

Referenced by MiBuildPagedPool(), MmMapIoSpace(), and MmMapLockedPagesSpecifyCache().

#define MM_DEFAULT_SYSTEM_PTES   11000
 

Definition at line 180 of file alpha/mialpha.h.

Referenced by MmInitSystem().

#define MM_DEMAND_ZERO_WRITE_PTE   (MM_READWRITE << MM_PROTECT_FIELD_SHIFT)
 

Definition at line 418 of file alpha/mialpha.h.

Referenced by MiAddWorkingSetPage(), MiAddWsleHash(), MiAllocatePoolPages(), MiBuildPagedPool(), MiDeleteValidAddress(), MiFindContiguousMemory(), MiInitializePfn(), MiInitializePfnForOtherProcess(), MiInitializeWorkingSetList(), MiInitMachineDependent(), MiResolveProtoPteFault(), MiSessionCreateInternal(), MiSessionInitializeWorkingSetList(), MmAccessFault(), MmAllocatePagesForMdl(), MmGatherMemoryForHibernate(), MmInitializeProcessAddressSpace(), and MmInitSystem().

#define MM_EMPTY_LIST   ((ULONG)0xFFFFFFFF)
 

Definition at line 107 of file alpha/mialpha.h.

Referenced by ExFreePool(), MiGatherPagefilePages(), MiInitializeSystemPtes(), MiInitMachineDependent(), MiInsertFrontModifiedNoWrite(), MiInsertPageInList(), MiInsertStandbyListAtFront(), MiMapLockedPagesInUserSpace(), MiModifiedPageWriterWorker(), MiRemoveAnyPage(), MiRemovePageByColor(), MiRemovePageFromList(), MiRemovePhysicalPages(), MiRemoveZeroPage(), MiUnlinkFreeOrZeroedPage(), MiUnlinkPageFromList(), MiUnmapLockedPagesInUserSpace(), MmAllocatePagesForMdl(), MmFreePagesFromMdl(), MmMapLockedPagesSpecifyCache(), MmMapViewInSystemCache(), MmProbeAndLockPages(), MmShutdownSystem(), MmUnlockPages(), and MmZeroPageThread().

#define MM_EMPTY_PTE_LIST   ((ULONG)0xFFFFF)
 

Definition at line 108 of file alpha/mialpha.h.

Referenced by MiAllocateSpecialPool(), MiInitializeSpecialPool(), MiInitializeSystemCache(), MiInitializeSystemPtes(), MiReleaseSystemPtes(), MiReserveSystemPtes(), MiReserveSystemPtes2(), MmFreeSpecialPool(), MmMapViewInSystemCache(), and MmUnmapViewInSystemCache().

#define MM_HIGHEST_VAD_ADDRESS64   ((PVOID64)(0x800000000))
 

Definition at line 294 of file alpha/mialpha.h.

#define MM_KERNEL_DEMAND_ZERO_PTE   (MM_READWRITE << MM_PROTECT_FIELD_SHIFT)
 

Definition at line 425 of file alpha/mialpha.h.

Referenced by MiAllocatePoolPages(), MiEnablePagingOfDriverAtInit(), MiLoadImageSection(), MiMakeOutswappedPageResident(), MiSetPagingOfDriver(), MmCreateKernelStack(), MmGrowKernelStack(), MmInPageKernelStack(), and MmMapMemoryDumpMdl().

#define MM_KERNEL_NOACCESS_PTE   (MM_NOACCESS << MM_PROTECT_FIELD_SHIFT)
 

Definition at line 431 of file alpha/mialpha.h.

Referenced by MiAddSystemPtes(), MiAllocatePoolPages(), MiBuildPagedPool(), MiCheckSessionPoolAllocations(), MiFreePoolPages(), MiInitializeSessionPool(), MiReleaseSystemPtes(), MiReserveSystemPtes(), MiSessionDeletePde(), and MmFreeSpecialPool().

#define MM_KSEG0_BASE   ((ULONG)0x80000000)
 

Definition at line 116 of file alpha/mialpha.h.

Referenced by MiInitMachineDependent(), MiMapPageInHyperSpace(), MiMapPageToZeroInHyperSpace(), MmCreateProcessAddressSpace(), and MmMapLockedPagesSpecifyCache().

#define MM_LOWEST_NONPAGED_SYSTEM_START   ((PVOID)0xEB000000)
 

Definition at line 162 of file alpha/mialpha.h.

Referenced by MiInitMachineDependent().

#define MM_MAX_ADDITIONAL_NONPAGED_POOL   ((ULONG)(128*1024*1024))
 

Definition at line 196 of file alpha/mialpha.h.

Referenced by MiInitMachineDependent().

#define MM_MAX_DEFAULT_NONPAGED_POOL   ((ULONG)(128*1024*1024))
 

Definition at line 208 of file alpha/mialpha.h.

Referenced by MiInitMachineDependent().

#define MM_MAX_DEFAULT_PAGED_POOL   ((ULONG)(128*1024*1024))
 

Definition at line 210 of file alpha/mialpha.h.

#define MM_MAX_INITIAL_NONPAGED_POOL   ((ULONG)(128*1024*1024))
 

Definition at line 190 of file alpha/mialpha.h.

Referenced by MiInitMachineDependent().

#define MM_MAX_PAGED_POOL   ((ULONG)(240*1024*1024))
 

Definition at line 202 of file alpha/mialpha.h.

Referenced by MiBuildPagedPool().

#define MM_MAX_TOTAL_POOL   (((ULONG)MM_NONPAGED_POOL_END) - ((ULONG)MM_PAGED_POOL_START))
 

Definition at line 216 of file alpha/mialpha.h.

#define MM_MAXIMUM_NUMBER_OF_COLORS   (1)
 

Definition at line 303 of file alpha/mialpha.h.

Referenced by MiInitMachineDependent().

#define MM_MAXIMUM_SYSTEM_CACHE_SIZE   ( ((ULONG)MM_SYSTEM_CACHE_END - (ULONG)MM_SYSTEM_CACHE_START) >> PAGE_SHIFT )
 

Definition at line 143 of file alpha/mialpha.h.

#define MM_MAXIMUM_SYSTEM_PTES   20000
 

Definition at line 178 of file alpha/mialpha.h.

Referenced by MmInitSystem().

#define MM_MAXIMUM_WORKING_SET   ((ULONG)((ULONG)2*1024*1024*1024 - 64*1024*1024) >> PAGE_SHIFT)
 

Definition at line 364 of file alpha/mialpha.h.

Referenced by MiDoReplacement(), MiInitializeSystemCache(), MiInitializeWorkingSetList(), MmCleanProcessAddressSpace(), and MmInitSystem().

#define MM_MAXIMUM_ZERO_BITS   21
 

Definition at line 133 of file alpha/mialpha.h.

Referenced by NtAllocateVirtualMemory(), and NtMapViewOfSection().

#define MM_MINIMUM_SYSTEM_PTES   5000
 

Definition at line 176 of file alpha/mialpha.h.

Referenced by MmInitSystem().

#define MM_NONPAGED_POOL_END   ((PVOID)(0xFE000000-(16*PAGE_SIZE)))
 

Definition at line 164 of file alpha/mialpha.h.

Referenced by MmInitSystem().

#define MM_NUMBER_OF_COLORS   (1)
 

Definition at line 309 of file alpha/mialpha.h.

Referenced by MmDbgTranslatePhysicalAddress().

#define MM_PAGED_POOL_START   ((PVOID)0xE1000000)
 

Definition at line 160 of file alpha/mialpha.h.

Referenced by MiCheckVirtualAddress(), MiMakeSystemAddressValid(), MiRemoveWsle(), and MiUpdateWsle().

#define MM_PAGES_IN_KSEG0   (((ULONG)KSEG2_BASE - (ULONG)KSEG0_BASE) >> PAGE_SHIFT)
 

Definition at line 130 of file alpha/mialpha.h.

Referenced by MiInitMachineDependent(), MiMapPageInHyperSpace(), MiMapPageToZeroInHyperSpace(), MmDbgWriteCheck(), and MmSetKernelDumpRange().

#define MM_PROTECT_FIELD_SHIFT   3
 

Definition at line 394 of file alpha/mialpha.h.

#define MM_PROTO_PTE_ALIGNMENT   ((ULONG)MM_MAXIMUM_NUMBER_OF_COLORS * (ULONG)PAGE_SIZE)
 

Definition at line 267 of file alpha/mialpha.h.

Referenced by MiCreateDataFileMap(), MiCreateImageFileMap(), and MiCreatePagingFileMap().

#define MM_PTE_CACHE   (0x0)
 

Definition at line 392 of file alpha/mialpha.h.

#define MM_PTE_CLEAN   0
 

Definition at line 437 of file alpha/mialpha.h.

#define MM_PTE_COPY_ON_WRITE_MASK   (0x100)
 

Definition at line 375 of file alpha/mialpha.h.

#define MM_PTE_DIRTY   1
 

Definition at line 439 of file alpha/mialpha.h.

Referenced by MiSetDirtyBit().

#define MM_PTE_DIRTY_MASK   (0x4)
 

Definition at line 371 of file alpha/mialpha.h.

#define MM_PTE_EXECUTE   (0x0)
 

Definition at line 386 of file alpha/mialpha.h.

Referenced by MiBuildPageTableForDrivers(), and MiLoadImageSection().

#define MM_PTE_EXECUTE_READ   (0x0)
 

Definition at line 387 of file alpha/mialpha.h.

#define MM_PTE_EXECUTE_READWRITE   (MM_PTE_WRITE_MASK)
 

Definition at line 388 of file alpha/mialpha.h.

#define MM_PTE_EXECUTE_WRITECOPY   (MM_PTE_WRITE_MASK | MM_PTE_COPY_ON_WRITE_MASK)
 

Definition at line 389 of file alpha/mialpha.h.

#define MM_PTE_GLOBAL_MASK   (0x10)
 

Definition at line 373 of file alpha/mialpha.h.

Referenced by MiInitMachineDependent().

#define MM_PTE_GUARD   (0x0)
 

Definition at line 391 of file alpha/mialpha.h.

#define MM_PTE_NOACCESS   (0x0)
 

Definition at line 382 of file alpha/mialpha.h.

#define MM_PTE_NOCACHE   (0x0)
 

Definition at line 390 of file alpha/mialpha.h.

#define MM_PTE_OWNER_MASK   (0x2)
 

Definition at line 376 of file alpha/mialpha.h.

Referenced by MiMapBBTMemory(), MmCheckCachedPageState(), and MmCopyToCachedPage().

#define MM_PTE_PROTOTYPE_MASK   (0x2)
 

Definition at line 370 of file alpha/mialpha.h.

#define MM_PTE_READONLY   (0x0)
 

Definition at line 383 of file alpha/mialpha.h.

#define MM_PTE_READWRITE   (MM_PTE_WRITE_MASK)
 

Definition at line 384 of file alpha/mialpha.h.

#define MM_PTE_TRANSITION_MASK   (0x4)
 

Definition at line 372 of file alpha/mialpha.h.

#define MM_PTE_VALID_MASK   (0x1)
 

Definition at line 369 of file alpha/mialpha.h.

#define MM_PTE_WRITE_MASK   (0x80)
 

Definition at line 374 of file alpha/mialpha.h.

Referenced by MmAccessFault(), and MmProbeAndLockPages().

#define MM_PTE_WRITECOPY   (MM_PTE_WRITE_MASK | MM_PTE_COPY_ON_WRITE_MASK)
 

Definition at line 385 of file alpha/mialpha.h.

#define MM_SECONDARY_COLORS_DEFAULT   ((1024*1024) >> PAGE_SHIFT)
 

Definition at line 333 of file alpha/mialpha.h.

Referenced by MiInitMachineDependent().

#define MM_SECONDARY_COLORS_MAX   (2048)
 

Definition at line 337 of file alpha/mialpha.h.

Referenced by MiInitMachineDependent().

#define MM_SECONDARY_COLORS_MIN   (2)
 

Definition at line 335 of file alpha/mialpha.h.

Referenced by MiInitMachineDependent().

#define MM_SESSION_SPACE_DEFAULT   (0xDE000000)
 

Definition at line 141 of file alpha/mialpha.h.

Referenced by KeDetachSessionSpace(), KiSyncNewRegionId(), KiSyncNewRegionIdTarget(), KiSyncSessionTarget(), MiInitializeWorkingSetList(), MmCreateProcessAddressSpace(), and MmInitSystem().

#define MM_STACK_ALIGNMENT   (0x0)
 

Definition at line 446 of file alpha/mialpha.h.

Referenced by MmCreateKernelStack(), and MmDeleteKernelStack().

#define MM_STACK_OFFSET   (0x0)
 

Definition at line 447 of file alpha/mialpha.h.

Referenced by MmCreateKernelStack().

#define MM_SUBSECTION_MAP   (128*1024*1024)
 

Definition at line 1531 of file alpha/mialpha.h.

Referenced by MiInitMachineDependent().

#define MM_SYSTEM_CACHE_END   (0xDE000000)
 

Definition at line 139 of file alpha/mialpha.h.

Referenced by MmInitSystem().

#define MM_SYSTEM_CACHE_START   (0xC4000000)
 

Definition at line 137 of file alpha/mialpha.h.

Referenced by MiInitializeSystemCache(), and MmInitSystem().

#define MM_SYSTEM_CACHE_WORKING_SET   (0xC3000000)
 

Definition at line 146 of file alpha/mialpha.h.

Referenced by MiDetermineUserGlobalPteMask(), and MmCreateProcessAddressSpace().

#define MM_SYSTEM_SPACE_END   (0xFFFFFFFF)
 

Definition at line 168 of file alpha/mialpha.h.

Referenced by MiInitMachineDependent(), MmAccessFault(), MmCreateProcessAddressSpace(), and MmSetKernelDumpRange().

#define MM_SYSTEM_SPACE_START   (0xC3000000)
 

Definition at line 135 of file alpha/mialpha.h.

Referenced by MiInitMachineDependent(), MiRestoreTransitionPte(), MiUpdateWsle(), and MmCreateProcessAddressSpace().

#define MM_SYSTEM_VIEW_SIZE   (48*1024*1024)
 

Definition at line 154 of file alpha/mialpha.h.

Referenced by MiInitializeSystemSpaceMap(), and MmInitSystem().

#define MM_SYSTEM_VIEW_SIZE_IF_HYDRA   (16*1024*1024)
 

Definition at line 158 of file alpha/mialpha.h.

Referenced by MiInitializeSystemSpaceMap(), and MmInitSystem().

#define MM_SYSTEM_VIEW_START   (0xDE000000)
 

Definition at line 152 of file alpha/mialpha.h.

Referenced by MmInitSystem().

#define MM_SYSTEM_VIEW_START_IF_HYDRA   (0xDD000000)
 

Definition at line 156 of file alpha/mialpha.h.

Referenced by MmInitSystem().

#define MM_USER_ADDRESS_RANGE_LIMIT   0xFFFFFFFF
 

Definition at line 132 of file alpha/mialpha.h.

Referenced by MiMapViewOfDataSection(), MiMapViewOfPhysicalSection(), NtAllocateVirtualMemory(), and NtMapViewOfSection().

#define MM_USER_PAGE_TABLE_PAGES   (128)
 

Definition at line 461 of file alpha/mialpha.h.

#define MM_VA_MAPPED_BY_PDE   (0x1000000)
 

Definition at line 278 of file alpha/mialpha.h.

Referenced by MiGetPageProtection(), MiInitMachineDependent(), MiMapBBTMemory(), MiMapViewOfPhysicalSection(), MiSessionInitializeWorkingSetList(), MmCreateProcessAddressSpace(), and MmMapVideoDisplay().

#define MM_VIRTUAL_PAGE_FILLER   1
 

Definition at line 263 of file alpha/mialpha.h.

#define MM_VIRTUAL_PAGE_SIZE   19
 

Definition at line 264 of file alpha/mialpha.h.

#define MM_WORKING_SET_END   ((ULONG)0xC2000000)
 

Definition at line 367 of file alpha/mialpha.h.

#define MM_ZERO_KERNEL_PTE   0
 

Definition at line 412 of file alpha/mialpha.h.

Referenced by MiFillSystemPageDirectory(), MmAccessFault(), and MmMapVideoDisplay().

#define MM_ZERO_PTE   0
 

Definition at line 406 of file alpha/mialpha.h.

Referenced by MmAccessFault(), and MmReleaseDumpAddresses().

#define MmProtopte_Base   ((ULONG)0xE1000000)
 

Definition at line 122 of file alpha/mialpha.h.

#define NON_PAGED_SYSTEM_END   ((PVOID)0xFFFFFFF0)
 

Definition at line 166 of file alpha/mialpha.h.

Referenced by MiInitMachineDependent(), MmCreateProcessAddressSpace(), and MmInitSystem().

#define NUMBER_OF_MAPPING_PTES   (1023)
 

Definition at line 353 of file alpha/mialpha.h.

Referenced by MiInitMachineDependent(), and MiMapPageInHyperSpace().

#define PAGE_DIRECTORY_MASK   ((ULONG)0x00FFFFFF)
 

Definition at line 276 of file alpha/mialpha.h.

Referenced by MiInitMachineDependent().

#define PDE_BASE64   ((ULONG)0xC0184000)
 

Definition at line 126 of file alpha/mialpha.h.

#define PDE_PER_PAGE   ((ULONG)256)
 

Definition at line 453 of file alpha/mialpha.h.

Referenced by MiAllocatePoolPages(), MiBuildPagedPool(), MiCheckPdeForPagedPool(), MiFillSystemPageDirectory(), MiInitMachineDependent(), MiInsertVad(), and MiRemoveMappedPtes().

#define PDE_TOP   (0xC01FFFFF)
 

Definition at line 124 of file alpha/mialpha.h.

Referenced by MiDetermineUserGlobalPteMask(), MiFreeWsle(), and MiWriteComplete().

#define PHYSICAL_ADDRESS_BITS   (48)
 

Definition at line 301 of file alpha/mialpha.h.

Referenced by MiSectionInitialization().

#define PTE_BASE64   ((ULONG)0xC2000000)
 

Definition at line 128 of file alpha/mialpha.h.

#define PTE_PER_PAGE   ((ULONG)2048)
 

Definition at line 455 of file alpha/mialpha.h.

Referenced by MiAllocatePoolPages(), MiBuildPagedPool(), MiCheckSessionPoolAllocations(), MiInitializeSessionPool(), MiInitializeSpecialPool(), MiInitMachineDependent(), MiMapBBTMemory(), MiSessionDeletePde(), MmCreateProcessAddressSpace(), and MmInitSystem().

#define PTE_SHIFT   (2)
 

Definition at line 282 of file alpha/mialpha.h.

Referenced by MiAddMappedPtes(), MiCreateDataFileMap(), MiCreateImageFileMap(), MiCreatePagingFileMap(), MiHandleBankedSection(), MiInitMachineDependent(), MiInsertVad(), MiMapPageInHyperSpace(), MiRemoveVad(), MiReserveSystemPtes(), MiReserveSystemPtes2(), MmAddPhysicalMemory(), MmDbgTranslatePhysicalAddress(), MmFreeLoaderBlock(), MmInitSystem(), MmMapLockedPagesSpecifyCache(), MmMapVideoDisplay(), MmMapViewInSystemCache(), and MmSetBankedSection().

#define WORKING_SET_LIST   ((PVOID)((ULONG)ZEROING_PAGE_PTE + PAGE_SIZE))
 

Definition at line 362 of file alpha/mialpha.h.

Referenced by MiInitializeWorkingSetList(), and MiInitMachineDependent().

#define ZEROING_PAGE_PTE   ((PMMPTE)((ULONG)IMAGE_MAPPING_PTE + PAGE_SIZE))
 

Definition at line 360 of file alpha/mialpha.h.

Referenced by MiMapPageToZeroInHyperSpace().


Typedef Documentation

typedef struct _MMCOLOR_TABLES MMCOLOR_TABLES
 

Referenced by MiInitMachineDependent().

typedef struct _MMPRIMARY_COLOR_TABLES MMPRIMARY_COLOR_TABLES
 

typedef struct _MMPTE MMPTE
 

Referenced by MiCheckPdeForPagedPool(), MiCreateDataFileMap(), MiCreateImageFileMap(), MiCreatePageTablesForPhysicalRange(), MiDeletePageTablesForPhysicalRange(), MiDereferenceSession(), MiSetImageProtect(), MmCreateProcessAddressSpace(), MmExtendSection(), and MmMapVideoDisplay().

typedef struct _MMPTE_LIST MMPTE_LIST
 

typedef struct _MMPTE_PROTOTYPE MMPTE_PROTOTYPE
 

typedef struct _MMPTE_SOFTWARE MMPTE_SOFTWARE
 

typedef struct _MMPTE_SUBSECTION MMPTE_SUBSECTION
 

typedef struct _MMPTE_TRANSITION MMPTE_TRANSITION
 

typedef struct _MMCOLOR_TABLES * PMMCOLOR_TABLES
 

typedef struct _MMPRIMARY_COLOR_TABLES * PMMPRIMARY_COLOR_TABLES
 

typedef MMPTE* PMMPTE
 

Definition at line 2433 of file alpha/mialpha.h.

Referenced by MmAddPhysicalMemory(), and MmOutSwapProcess().


Variable Documentation

PMMCOLOR_TABLES MmFreePagesByColor[2]
 

Definition at line 2332 of file alpha/mialpha.h.

ULONG MmSecondaryColorMask
 

Definition at line 343 of file alpha/mialpha.h.

ULONG MmTotalPagesForPagingFile
 

Definition at line 2334 of file alpha/mialpha.h.


Generated on Sat May 15 19:44:42 2004 for test by doxygen 1.3.7