DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
HDK Technical Reference

Allocating large chunks of memory

Drivers that need to allocate large chunks of memory need to make special arrangements, especially if that memory must be physically contiguous. The memory must be allocated very early in the system start-up process or it is unlikely that large chunks of physically contiguous memory will be available.

DDI drivers that allocate large chunks of memory should be statically configured, or split into two drivers:

All ODDI drivers are statically configured, so can allocate large chunks of physically contiguous memory in their init(D2oddi) or start(D2oddi) routines.

For information about supporting large driver mappings, see ``Memory-mapped I/O''.


© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005