PM_agpCommitPhysical

Commits memory to a range of reserved physical AGP memory addresses

Declaration

ibool PMAPI PM_agpCommitPhysical(
    void *physContext,
    ulong numPages,
    ulong startOffset,
    PM_physAddr *physAddr)

Prototype In

pmapi.h

Parameters

physContext

Physical AGP context to commit memory for

numPages

Number of pages to be committed

startOffset

Offset in pages into the reserved physical context

physAddr

Returns the physical address of the committed memory

 

Return Value

True on success, false on failure.

Description

This function commits AGP memory into the specified physical context that was previously reserved by a call to PM_agpReservePhysical. You can use the startOffset and numPages parameters to only commit portions of the reserved memory range at a time.

See Also

PM_agpReservePhysical, PM_agpFreePhysical

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