Kernel Memory Management
Compile Time directives:
#progma alloc_text(PAGE, AddDevice)
#progma data_seg(”PAGEDATA”)
#progma code_seg(”PAGE”) … #progma code_seg()
Runtime control of pageability
MmLockPagableCodeSection
MmLockPagableDataSection
MmLockPagableSectionByHandle
MmPageEntireDriver
MmResetDriverPaging
MmUnlockPagableImageSection
Heap
ExAllocatePoolWithTag(type, nBytes, tag)
ExFreePool((PVOID) p)
