Export (0) Print
Expand All

Memory Allocation and Buffer Management

This section describes the Windows kernel routines and macros that kernel-mode drivers call to allocate memory and manage I/O buffers.

For more information about memory allocation and buffer management, see Memory Management for Windows Drivers.

In this section

TopicDescription

Buffer Management

The short-term buffer management routines are called by kernel-mode drivers to allocate and free temporary buffers.

Long-Term Internal Driver Buffers

The long-term buffer management routines are called by kernel-mode drivers to allocate long-term driver-internal buffers.

Buffered Data and Buffer Initialization

The buffered-data and buffer-initialization routines are called by kernel-mode drivers to manage buffered data or initialize driver-allocated buffers.

Address Mappings and MDLs

The address-mapping and MDL-management routines are called by kernel-mode drivers to manage address mappings and memory descriptor lists (MDLs).

Buffer and MDL Management

The buffer- and MDL-management macros are called by kernel-mode drivers to manage buffers and memory descriptor lists (MDLs).

Device Memory Access

The device-memory-access macros are called by kernel-mode drivers to access the memory-mapped hardware registers and I/O ports of their respective devices.

Pageable Drivers

The pageable-driver routines are called by kernel-mode drivers to lock and unlock a driver's pageable code or data sections, or make an entire driver pageable.

Sections and Views

The section- and view-management routines are called by kernel-mode drivers to set up mapped sections and views of memory.

Access to Structures

The structure-access macros are called by kernel-mode drivers to access parts of structures.

 

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft