1.4 Memory

This section summarizes kernel-mode support routines that NT drivers can call, according to the following general categories:

·Support routines that drivers can call to allocate and free temporary buffers and/or zone buffers in Section 1.4.1

·Support routines that drivers can call to allocate long-term internal driver buffers in Section 1.4.2

·Support routines that drivers can call to manage buffered data or to initialize driver-allocated buffers in Section 1.4.3

·Support routines that drivers can call to get mapped addresses and to allocate or manage MDLs (memory descriptor lists) in Section 1.4.4

·Macros that drivers can use with buffers and MDLs in Section 1.4.5

·Macros that device drivers can use to communicate with their respective devices in Section 1.4.6

·Support routines that some drivers can call to lock and unlock their pageable code or data sections or can call to make their entire driver pageable in Section 1.4.7

·Support routines that drivers can call to set up mapped sections and views of memory in Section 1.4.8