PAGP_FREE_PHYSICAL - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// videoagp.h

PAGP_FREE_PHYSICAL PagpFreePhysical;

VOID PagpFreePhysical(
  [in] IN PVOID HwDeviceExtension,
  [in] IN PVOID PhysicalReserveContext,
  [in] IN ULONG Pages,
  [in] IN ULONG Offset
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-videoagp-pagp_free_physical)

PAGP_FREE_PHYSICAL callback function

Description

The AgpFreePhysical function frees system memory that was committed by a previous call to AgpCommitPhysical.

Parameters

HwDeviceExtension [in]

Pointer to the device extension of the miniport driver.

PhysicalReserveContext [in]

Identifies a reserved physical address range. This context handle was obtained from AgpReservePhysical.

Pages [in]

Specifies the number of pages of system memory that the video port driver should unmap.

Offset [in]

Specifies the page offset into the reserved physical address range identified by PhysicalReserveContext that indicates the actual base address at which to unmap system memory.

Remarks

When a miniport driver calls AgpFreePhysical, Pages pages of physical memory are unlocked and unmapped from the AGP-decodable physical address range. This range begins Offset pages into the range identified by PhysicalReserveContext. The miniport driver must specify that the exact offset and number of pages be freed as were committed in a prior call to AgpCommitPhysical.

See also

AgpCommitPhysical

AgpReleasePhysical