Supported Browsers Home   
PM_getPhysicalAddr Previous   
PM_getProcAddress Next   
External Functions Up   

PM_getPhysicalAddrRange

Find physical addresss of a linear memory address for the current process.

Declaration

ibool PMAPI PM_getPhysicalAddrRange(
    void *p,
    ulong length,
    ulong *physAddress)

Prototype In

pmapi.h

Parameters

p

Linear address to convert

length

Length of memory region to convert

physAddress

Array to store physical addresses into

 

Return Value

True on success, false on error.

Description

This function is used to convert a large linear address pointer to a list of physical memory addresses. The list of addresses will be one per page for the linear address, and the addresses will all be page aligned. This is useful to convert a single linear address block into the list of physical memory pages for the memory to be programmed into DMA operations etc.

See Also

PM_mapPhysicalAddr, PM_getPhysicalAddr

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