PM_lockDataPages

Lock data pages so they won't be paged to disk

Declaration

int PMAPI PM_lockDataPages(
    void *p,
    uint len,
    PM_lockHandle *lh)

Prototype In

pmapi.h

Parameters

p

Linear pointer to the memory to lock down

len

Length of the memory block to lock down

lh

Pointer to the lock handle returned

 

Description

This function is used to lock a block of memory such that it will not be paged to disk by the operating systems virtual memory manager. This is mostly used such that interrupt handlers in device drivers and the data used by the interrupt handlers will never be paged out to disk.

This version is used to lock data pages in memory.

See Also

PM_unlockDataPages, PM_lockCodePages

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com