#include "mi.h"
Go to the source code of this file.
|
|
|
Definition at line 118 of file mminit.c. Referenced by MmFreeLoaderBlock(). |
|
Definition at line 145 of file mminit.c. Referenced by MmInitSystem(). |
|
Definition at line 147 of file mminit.c. Referenced by MiBuildPagedPool(). |
|
Definition at line 143 of file mminit.c. Referenced by MmInitSystem(). |
|
Definition at line 2184 of file mminit.c. References ActiveAndValid, ASSERT, BYTES_TO_PAGES, InitializePool(), L, LOCK_PFN, MI_GET_PAGE_COLOR_FROM_PTE, MI_GET_PAGE_FRAME_FROM_PTE, MI_IS_PHYSICAL_ADDRESS, MI_PFN_ELEMENT, MI_WRITE_VALID_PTE, MiCreateBitMap, MiFillMemoryPte, MiGetPdeAddress, MiGetPpeAddress, MiGetPteAddress, MiGetVirtualAddressMappedByPte, MiInitializeSpecialPool(), MiInitializeSystemSpaceMap(), MiMapPageInHyperSpace(), MiRemoveAnyPage(), MiReserveSystemPtes(), MiUnmapPageInHyperSpace, MM_COLOR_ALIGNMENT, MM_COLOR_MASK_VIRTUAL, MM_DEMAND_ZERO_WRITE_PTE, MM_KERNEL_NOACCESS_PTE, MM_MAX_PAGED_POOL, MM_MIN_INITIAL_PAGED_POOL, MM_MINIMUM_PAGED_POOL_NTAS, MmIsThisAnNtAsSystem(), MmMaximumNonPagedPoolInBytes, MmNonPagedSystemStart, MmNumberOfPhysicalPages, MmPageAlignedPoolBase, MmPagedPoolBasePde, MmPagedPoolEnd, MmPagedPoolInfo, MmPagedPoolMaximumDesired, MmPagedPoolStart, MmSizeOfPagedPoolInBytes, MmSystemPageDirectory, MmSystemPagePtes, MmVerifyDriverBufferLength, NonPagedPool, _MMPFN::OriginalPte, PAGE_SHIFT, PAGE_SIZE, PagedPool, PDE_KTBASE, PDE_PER_PAGE, PTE_PER_PAGE, _MMPFN::PteAddress, _MMPFN::PteFrame, RtlClearAllBits(), RtlClearBits(), RtlSetAllBits(), Size, SystemPteSpace, TRUE, _MMPTE::u, _MMPFN::u2, _MMPFN::u3, UNLOCK_PFN, ValidKernelPde, and VerifierLargePagedPoolMap.
|
|
Referenced by MmInitSystem(). |
|
Definition at line 2944 of file mminit.c. References ASSERT, KeFlushSingleTb(), LOCK_PFN, LOCK_SYSTEM_WS, MI_FLUSH_ENTIRE_SESSION_TB, MI_GET_PAGE_FRAME_FROM_PTE, MI_IS_SESSION_PTE, MI_MAKE_VALID_PTE_TRANSITION, MI_PFN_ELEMENT, MI_ZERO_WSINDEX, MiDecrementShareCount(), MiGetVirtualAddressMappedByPte, MM_EXECUTE, MM_KERNEL_DEMAND_ZERO_PTE, MmResidentAvailablePages, MmTotalSystemCodePages, _MMPFN::OriginalPte, PAGE_SIZE, TRUE, _MMPTE::u, _MMPFN::u1, _MMPFN::u2, _MMPFN::u3, UNLOCK_PFN, and UNLOCK_SYSTEM_WS. Referenced by MiEnablePagingTheExecutive().
|
|
Definition at line 2735 of file mminit.c. References ExAcquireResourceExclusive, ExReleaseResource, FALSE, IoRemoteBootClient, KdPitchDebugger, KeEnterCriticalRegion, KeLeaveCriticalRegion, MI_IS_PHYSICAL_ADDRESS, MiEnablePagingOfDriverAtInit(), MiGetPteAddress, MiHydra, MiSpecialPoolPtes, MmDisablePagingExecutive, MmVerifyDriverBufferLength, NULL, PAGE_SIZE, PsLoadedModuleList, PsLoadedModuleResource, ROUND_TO_PAGES, RtlImageNtHeader(), SECTION_BASE_ADDRESS, and TRUE. Referenced by MmInitSystem().
|
|
Definition at line 2474 of file mminit.c. References DbgPrint, ExAcquireResourceExclusive, ExReleaseResource, KeEnterCriticalRegion, KeLeaveCriticalRegion, MiFindInitializationCode(), MiFreeInitializationCode(), NULL, PAGE_ALIGN, PAGE_SIZE, PsLoadedModuleList, PsLoadedModuleResource, ROUND_TO_PAGES, RtlImageNtHeader(), and TRUE. Referenced by MiFindInitializationCode(), and MmZeroPageThread().
|
|
Definition at line 2664 of file mminit.c. References ASSERT, FALSE, FreePageList, LOCK_PFN, MI_CONVERT_PHYSICAL_TO_PFN, MI_IS_PHYSICAL_ADDRESS, MI_PFN_ELEMENT, MI_SET_PFN_DELETED, MiDeleteSystemPagableVm(), MiFreeInitializationCode(), MiGetPteAddress, MiInsertPageInList(), MmPageLocationList, MmUnlockPagableImageSection(), NULL, PAGE_SIZE, _MMPFN::u2, _MMPFN::u3, UNLOCK_PFN, and ZeroKernelPte. Referenced by MiFindInitializationCode(), MiFreeInitializationCode(), and MmZeroPageThread().
|
|
Referenced by MiBuildPagedPool(). |
|
Referenced by MmInitSystem(). |
|
Definition at line 1440 of file mminit.c. References ASSERT, _MEMORY_ALLOCATION_DESCRIPTOR::BasePage, BBTBuffer, BBTPagesToReserve, FALSE, KeFlushEntireTb(), _MEMORY_ALLOCATION_DESCRIPTOR::ListEntry, LoaderBBTMemory, _MEMORY_ALLOCATION_DESCRIPTOR::MemoryType, MI_WRITE_VALID_PTE, MiGetPteAddress, MiGetVirtualAddressMappedByPte, MiReserveSystemPtes(), MM_PTE_OWNER_MASK, MM_VA_MAPPED_BY_PDE, NULL, PAGE_SHIFT, _MEMORY_ALLOCATION_DESCRIPTOR::PageCount, PERFINFO_MMINIT_START, PTE_PER_PAGE, SystemPteSpace, TRUE, _MMPTE::u, and ValidUserPte. Referenced by MmInitSystem().
|
|
Definition at line 1899 of file mminit.c. References MAX_PHYSICAL_MEMORY_FRAGMENTS. Referenced by MmInitSystem().
|
|
Definition at line 5633 of file sysload.c. References ASSERT, BYTES_TO_PAGES, MI_IS_PHYSICAL_ADDRESS, MI_IS_SESSION_ADDRESS, MiGetPteAddress, MiSetSystemCodeProtection(), NULL, PAGED_CODE, and RtlImageNtHeader().
|
|
Definition at line 2005 of file mminit.c. References _MEMORY_ALLOCATION_DESCRIPTOR::BasePage, FreePageList, KeBugCheckEx(), KeFlushEntireTb(), KSEG0_BASE, _MEMORY_ALLOCATION_DESCRIPTOR::ListEntry, LoaderNlsData, LoaderOsloaderHeap, LoaderRegistryData, LOCK_PFN, _MEMORY_ALLOCATION_DESCRIPTOR::MemoryType, MI_IS_PHYSICAL_ADDRESS, MI_PFN_ELEMENT, MI_SET_PFN_DELETED, MI_WRITE_INVALID_PTE, MiDecrementShareCountOnly, MiGetPdeAddress, MiGetVirtualAddressMappedByPte, MiInsertPageInList(), MM_MAX_LOADER_BLOCKS, MmPageLocationList, MmVirtualBias, _MEMORY_ALLOCATION_DESCRIPTOR::PageCount, PTE_SHIFT, _MMPFN::PteAddress, TRUE, _MMPFN::u1, _MMPFN::u3, UNLOCK_PFN, ZeroKernelPte, and ZeroPte.
|
|
Definition at line 1582 of file mminit.c. References ASSERT, _MEMORY_ALLOCATION_DESCRIPTOR::BasePage, FALSE, _MEMORY_ALLOCATION_DESCRIPTOR::ListEntry, LoaderMaximum, _MEMORY_ALLOCATION_DESCRIPTOR::MemoryType, _MEMORY_ALLOCATION_DESCRIPTOR::PageCount, TotalPages, and TRUE. Referenced by IopInitializeResourceMap(), and MmInitSystem().
|
|
Definition at line 184 of file mminit.c. References ActiveAndValid, _MMPAGE_FILE_EXPANSION::ActualExpansion, ASSERT, _EPROCESS::AweLock, _PHYSICAL_MEMORY_RUN::BasePage, BBTPagesToReserve, CHAR, DbgPrint, _MMPAGE_FILE_EXPANSION::Event, ExAcquireResourceExclusive, ExAllocatePoolWithTag, ExInitializeFastMutex, ExInitializeResource, ExpMultiUserTS, ExReleaseResource, ExVerifySuite(), FALSE, _MMPAGE_FILE_EXPANSION::InProgress, KeBalanceSetManager(), KeInitializeDpc(), KeInitializeEvent, KeInitializeMutant(), KeInitializeSpinLock(), KeInitializeTimerEx(), KeSwapProcessOrStack(), KSEG0_BASE, L, _MMEVENT_COUNT_LIST::ListHead, _MMINPAGE_SUPPORT_LIST::ListHead, _MMWORKING_SET_EXPANSION_HEAD::ListHead, LoaderBad, LoaderBBTMemory, LoaderFirmwarePermanent, LoaderMaximum, LoaderSpecialMemory, LOCK_PFN, MAX_PHYSICAL_MEMORY_FRAGMENTS, MI_EXTEND_ANY_PAGEFILE, MI_GET_PAGE_COLOR_FROM_PTE, MI_GET_PAGE_FRAME_FROM_PTE, MI_MAKE_VALID_PTE, MI_PFN_ELEMENT, MI_SESSION_IMAGE_SIZE, MI_SESSION_SPACE_END, MI_SESSION_SPACE_TOTAL_SIZE, MI_WRITE_VALID_PTE, MiAddSystemPtes(), MiAdjustWorkingSetManagerParameters(), MiBuildPagedPool(), MiChargeCommitmentCantExpand(), MiDumpPfn(), MiDumpValidAddresses(), MiEnableKernelVerifier(), MiEnablePagingTheExecutive(), MiFillMemoryPte, MiFormatPte(), MiGetPdeAddress, MiGetPpeAddress, MiGetPteAddress, MiGetSubsectionAddress, MiGetSubsectionAddressForPte, MiGetVirtualAddressMappedByPte, MiHighestUserPde, MiHighestUserPte, MiHydra, MiInitializeDriverVerifierList(), MiInitializeIoTrackers(), MiInitializeLoadedModuleList(), MiInitializePfn(), MiInitializeSessionIds(), MiInitializeSessionWsSupport(), MiInitializeSpecialPoolCriteria(), MiInitializeSystemCache(), MiInitMachineDependent(), MiIsPteOnPdeBoundary, MiMapBBTMemory(), MiMappedPagesTooOldEvent, MiMaximumSystemCacheSizeExtra, MiMaximumWorkingSet, MiMergeMemoryLimit(), MiModifiedPageLife, MiModifiedPageWriter(), MiModifiedPageWriterTimer, MiModifiedPageWriterTimerDispatch(), MiModifiedPageWriterTimerDpc, MiProtoAddressForPte, MiPteStr, MiPteToProto, MiReloadBootLoadedDrivers(), MiRemoveAnyPage(), MiRemoveZeroPage(), MiRequestedSystemPtes, MiSectionInitialization(), MiSessionBasePte, MiSessionLastPte, MiSessionWideInitializeAddresses(), MiSystemCacheEndExtra, MiSystemCacheStartExtra, MiSystemViewStart, MiTriageSystem(), MiTrimInProgressCount, MiWriteProtectSystemImage(), Mm64BitPhysicalAddress, MM_BOOT_IMAGE_SIZE, MM_DBG_CHECK_PFN_LOCK, MM_DBG_COMMIT_EXTRA_SYSTEM_PTES, MM_DBG_DUMP_BOOT_PTES, MM_DEFAULT_SYSTEM_PTES, MM_DEMAND_ZERO_WRITE_PTE, MM_FLUID_PHYSICAL_PAGES, MM_MAXIMUM_SYSTEM_PTES, MM_MAXIMUM_WORKING_SET, MM_MEDIUM_SYSTEM, MM_MINIMUM_SYSTEM_PTES, MM_NONPAGED_POOL_END, MM_READONLY, MM_SESSION_SPACE_DEFAULT, MM_SMALL_SYSTEM, MM_SPECIAL_POOL_PTES, MM_SYSTEM_CACHE_END, MM_SYSTEM_CACHE_START, MM_SYSTEM_CACHE_START_EXTRA, MM_SYSTEM_VIEW_SIZE, MM_SYSTEM_VIEW_SIZE_IF_HYDRA, MM_SYSTEM_VIEW_START, MM_SYSTEM_VIEW_START_IF_HYDRA, MM_TRACK_COMMIT, MmAttemptForCantExtend, MmAvailablePages, MmAvailablePagesEvent, MmAvailablePagesEventHigh, MmChargeCommitmentLock, MmCodeClusterSize, MmCollidedFlushEvent, MmCollidedLockEvent, MmCriticalSectionTimeout, MmCritsectTimeoutSeconds, MmDataClusterSize, MmDontVerifyRandomDrivers, MmDynamicMemoryMutex, MmEnforceWriteProtection, MmEventCountList, MmExpansionLock, MmHardFaultNotifyRoutine, MmHeapDeCommitFreeBlockThreshold, MmHeapDeCommitTotalFreeThreshold, MmHeapSegmentCommit, MmHeapSegmentReserve, MmHighestUserAddress, MmHighSectionBase, MmImageMappingPteEvent, MmInitializeMemoryLimits(), MmInPageSupportList, MmLargeSystem, MmLargeSystemCache, MmLoadedUserImageList, MmLockConflictList, MmLockPagesLimit, MmLockPagesPercentage, MmMappedFileIoComplete, MmMaximumDeadKernelStacks, MmMaximumNonPagedPoolInBytes, MmMaximumWorkingSetSize, MmMaxUnusedSegmentNonPagedPoolUsage, MmMaxUnusedSegmentPagedPoolUsage, MmMediumSystem, MmMinimumFreePages, MmModifiedPageLifeInSeconds, MmModifiedPageMaximum, MmModifiedPageMinimum, MmModifiedPageWriterEvent, MmMoreThanEnoughFreePages, MmNonPagedSystemStart, MmNumberOfPhysicalPages, MmNumberOfSystemPtes, MmOverCommit, MmPagedPoolEnd, MmPagedPoolStart, MmPageFaultNotifyRoutine, MmPageFileCreationLock, MmPhysicalMemoryBlock, MmProductType, MmProtectFreedNonPagedPool, MmReadClusterSize, MmResidentAvailableAtInit, MmResidentAvailablePages, MmSectionBasedMutex, MmSectionCommitMutex, MmSectionExtendResource, MmSectionExtendSetResource, MmSessionBase, MmSessionSpace, MmSharedUserDataPte, MmSizeOfPagedPoolInBytes, MmSizeOfSystemCacheInPages, MmSmallSystem, MmSnapUnloads, MmSpecialPoolTag, MmSystemCacheEnd, MmSystemCacheStart, MmSystemCacheWorkingSetList, MmSystemCacheWsMaximum, MmSystemCacheWsMinimum, MmSystemLoadLock, MmSystemRangeStart, MmSystemSize, MmSystemWsLock, MmThrottleBottom, MmThrottleTop, MmTotalCommitLimit, MmTotalCommitLimitMaximum, MmTrackLockedPages, MmTrackPtes, MmUnusedSegmentNonPagedPoolReduction, MmUnusedSegmentPagedPoolReduction, MmUnusedSegmentTrimLevel, MmUserProbeAddress, MmVerifyDriverBufferLength, MmVirtualBias, MmWorkingSetExpansionHead, MmWorkingSetManagerEvent, MmZeroingPageEvent, MmZeroingPageThreadActive, NON_PAGED_SYSTEM_END, NonPagedPoolMustSucceed, NT_SUCCESS, NULL, _PHYSICAL_MEMORY_DESCRIPTOR::NumberOfPages, _PHYSICAL_MEMORY_DESCRIPTOR::NumberOfRuns, ObjectAttributes, _MMPFN::OriginalPte, PAGE_SHIFT, PAGE_SIZE, _PHYSICAL_MEMORY_RUN::PageCount, _MMPAGE_FILE_EXPANSION::PageFileNumber, PDE_KTBASE, _EPROCESS::PhysicalVadList, PsCreateSystemThread(), PsGetCurrentProcess, PsLoadedModuleList, PsLoadedModuleResource, PTE_PER_PAGE, PTE_SHIFT, _MMPFN::PteAddress, _MMPFN::PteFrame, _MMPAGE_FILE_EXPANSION::RequestedExpansionSize, RtlImageNtHeader(), _PHYSICAL_MEMORY_DESCRIPTOR::Run, _MMPAGE_FILE_EXPANSION::Segment, SystemPteSpace, ThreadHandle, TRUE, _MMPTE::u, _MMPFN::u2, _MMPFN::u3, UNLOCK_PFN, ValidKernelPde, ValidKernelPte, and ZeroKernelPte.
|
|
Definition at line 3087 of file mminit.c. References MmProductType. Referenced by CcInitializeCacheManager(), ExpWorkerInitialization(), ExpWorkerThread(), FsRtlInitializeTunnels(), IoInitSystem(), MiBuildPagedPool(), ObInitSystem(), and PsChangeQuantumTable().
|
|
Definition at line 3073 of file mminit.c. References MmSystemSize. Referenced by CcAllocateInitializeBcb(), CcInitializeCacheManager(), ExInitializeRegion(), ExpWorkerInitialization(), IoInitSystem(), KeBalanceSetManager(), ObInitSystem(), PspInitPhase0(), and UdfInitializeGlobalData().
|
|
Definition at line 3107 of file mminit.c. References MmHardFaultNotifyRoutine.
|
|
Definition at line 3097 of file mminit.c. References MmPageFaultNotifyRoutine.
|
|
Definition at line 34 of file mminit.c. Referenced by MiMapBBTMemory(), and MmCreateTeb(). |
|
Definition at line 35 of file mminit.c. Referenced by MiMapBBTMemory(), and MmInitSystem(). |
|
Definition at line 131 of file mminit.c. Referenced by MiModifiedPageWriterTimerDispatch(), MiModifiedPageWriterWorker(), and MmInitSystem(). |
|
Definition at line 127 of file mminit.c. Referenced by MiInsertPageInList(), MiModifiedPageWriterWorker(), and MmInitSystem(). |
|
Definition at line 135 of file mminit.c. Referenced by MiInsertPageInList(), MiModifiedPageWriterWorker(), and MmInitSystem(). |
|
Definition at line 133 of file mminit.c. Referenced by MiInsertPageInList(), MiModifiedPageWriterWorker(), and MmInitSystem(). |
|
Definition at line 155 of file mminit.c. Referenced by MiSetSystemCodeProtection(), and MmInitSystem(). |
|
Definition at line 31 of file mminit.c. Referenced by MiEnablePagingTheExecutive(), MiInitializeSpecialPool(), MmAllocateSpecialPool(), and MmProtectSpecialPool(). |
|
Definition at line 129 of file mminit.c. Referenced by MiInsertPageInList(), MiModifiedPageWriterTimerDispatch(), and MiModifiedPageWriterWorker(). |
|
Definition at line 157 of file mminit.c. Referenced by MmInitSystem(), and MmTrimAllSystemPagableMemory(). |
|
Definition at line 40 of file mminit.c. Referenced by MiResolveMappedFileFault(), and MmInitSystem(). |
|
Definition at line 39 of file mminit.c. Referenced by MiResolveMappedFileFault(), and MmInitSystem(). |
|
|
|
Definition at line 28 of file mminit.c. Referenced by MiFlushEventCounter(), MiFreeEventCounter(), MiGetEventCounter(), and MmInitSystem(). |
|
Definition at line 180 of file mminit.c. Referenced by MiDispatchFault(), MmInitSystem(), and MmSetHardFaultNotifyRoutine(). |
|
Definition at line 42 of file mminit.c. Referenced by MiMapImageHeaderInHyperSpace(), and MmInitSystem(). |
|
Definition at line 27 of file mminit.c. Referenced by MiFlushInPageSupportBlock(), MiFreeInPageSupportBlock(), MiGetInPageSupportBlock(), and MmInitSystem(). |
|
|
|
|
|
Definition at line 44 of file mminit.c. Referenced by MiCheckForUserStackOverflow(), MiInsertConflictInList(), and MmInitSystem(). |
|
|
|
Definition at line 125 of file mminit.c. Referenced by MmInitSystem(). |
|
|
|
|
|
Definition at line 179 of file mminit.c. Referenced by MmAccessFault(), MmInitSystem(), and MmSetPageFaultNotifyRoutine(). |
|
|
|
|
Definition at line 41 of file mminit.c. Referenced by MmInitSystem(). |
|
Definition at line 25 of file mminit.c. Referenced by MiCheckVirtualAddress(), and MmInitSystem(). |
|
|
|
Definition at line 38 of file mminit.c. Referenced by MiAllocatePoolPages(), and MiInitMachineDependent(). |
|
|
|
Definition at line 162 of file mminit.c. Referenced by MiAllocatePoolPages(), MiBuildPagedPool(), and MiFillSystemPageDirectory(). |
|
Definition at line 167 of file mminit.c. Referenced by MiAllocatePoolPages(), MiBuildPagedPool(), MiCheckPdeForPagedPool(), MiFillSystemPageDirectory(), and MiRemoveMappedPtes(). |
|
|
|
Definition at line 172 of file mminit.c. Referenced by MmInitSystem(), MmQuerySystemSize(), and MmSetMemoryPriorityProcess(). |
|
Definition at line 170 of file mminit.c. Referenced by MiEnablePagingOfDriverAtInit(), and NtQuerySystemInformation(). |
|
|