| Home
| Previous
| Next
| Up

PM_agpReservePhysical

Reserves a rage of physical addresses of AGP memory

Declaration

ibool PMAPI PM_agpReservePhysical(
ulong numPages,
int type,
void **physContext,
PM_physAddr *physAddr)

Prototype In

pmapi.h

Parameters

numPages | Number of memory pages that should be reserved
type | Type of memory to allocate
physContext | Returns the physical context handle for the mapping
physAddr | Returns the physical address for the mapping

Return Value

True on success, false on failure.

Description

This function reserves a range of physical memory addresses on the system bus which the AGP controller will respond to. If this function succeeds, the AGP controller can respond to the reserved physical address range on the bus. However you must first call AGP_commitPhysical to cause this memory to actually be committed for use before it can be accessed.

See Also

PM_agpReleasePhysical, PM_agpCommitPhysical

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