pptophys(D3X)pptophys(D3X)NAMEpptophys - convert page pointer to physical address
SYNOPSIS
#include <sys/types.h>
#include <sys/pfdat.h>
#include <sys/ddi.h>
paddr_t pptophys(struct pfdat *pp);
Arguments
pp Pointer to the page structure
DESCRIPTIONpptophys converts a pointer to a page structure to a physical address.
Return Values
The physical address represented by the page (pfdat) structure referenced
by pp.
Block drivers can use this address for physical DMA operations during
paged-I/O requests (see getnextpg(D3X)).
Level
Base or Interrupt.
Notes
Does not sleep.
See Also
strategy(D2), getnextpg(D3X), buf(D4)
Page 1