munmap_device_memory, munmap_device_io

Hi,

when using munmap_device_memory() or munmap_device_io(), what kind of
memory/port address do I have to use? Is it the physical address or the
virtual, previously returned from mmap_device_*()?

TIA
Peter

“Peter Stöckigt” <stoeckigt.p@stn-atlas.de> wrote:

when using munmap_device_memory() or munmap_device_io(), what kind of
memory/port address do I have to use? Is it the physical address or the
virtual, previously returned from mmap_device_*()?

The virtual.


Brian Stecher (bstecher@qnx.com) QNX Software Systems, Ltd.
phone: +1 (613) 591-0931 (voice) 175 Terence Matthews Cr.
+1 (613) 591-3579 (fax) Kanata, Ontario, Canada K2M 1W8