Subject: mmap() of device
To: None <tech-kern@NetBSD.ORG>
From: Robert Black <r.black@ic.ac.uk>
List: tech-kern
Date: 07/30/1997 19:53:50
I need to map some physical pages controlled by a device driver into user
space. The obvious way to do this is to use the mmap entry point, however I
need to be able to forcibly change this mapping (to a different area of memory)
from the driver at a later time. The mmap interface does not seem to be
flexible enough to achieve this so I guess I am going to have to use an ioctl.

Any comments/suggestions?

Cheers

Rob