This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Get the physical address of memory allocated by usbd_alloc()
#include <sys/usbdi.h> paddr_t usbd_mphys( const void *ptr );
The usbd_mphys() function obtains the physical address used by usbd_alloc() to allocate memory for a data transfer.
Physical address.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | No |
Thread | Yes |
usbd_alloc(), usbd_alloc_urb(), usbd_free(), usbd_free_urb(), usbd_mphys()