1.4.7 Pageable Drivers
-
MmLockPagableCodeSection
-
Locks a set of driver routines marked with a special compiler directive into
system space, sometimes during driver initialization but usually in a driver’s
DispatchCreate routine.
-
MmLockPagableDataSection
-
Locks data marked with a special compiler directive into system space, when
that data is accessed infrequently, predictably and at an IRQL less than
DISPATCH_LEVEL.
-
MmLockPagableSectionByHandle
-
Locks a pageable section into system memory using a handle returned from MmLockPagableCodeSection
or MmLockPagableDataSection.
-
MmUnlockPagableImageSection
-
Releases a section that was previously locked into system space when the
driver is no longer processing IRPs or when the contents of the section is no
longer required.
-
MmPageEntireDriver
-
MmPageEntireDriver allows a driver to page out all of its code and data
regardless of the attributes of the various sections in the driver’s image.
-
MmResetDriverPaging
-
MmResetDriverPaging resets a driver’s pageable status to that specified
by the sections which make up the driver’s image.