This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Map a region of physical memory
#include <audio_driver.h> void *ado_device_mmap ( unsigned long addr, unsigned long size );
The ado_device_mmap() function maps the specified region of physical memory into the driver's virtual memory.
A pointer to the resultant virtual memory region, or MAP_FAILED if an error occurred (errno is set).
QNX Neutrino
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |