Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Oct 1997 18:06:24 +1030
From:      Mike Smith <mike@smith.net.au>
To:        Christoph Kukulies <kuku@gilberto.physik.RWTH-Aachen.DE>
Cc:        Mike Smith <mike@smith.net.au>, Peter Dufault <dufault@hda.com>, freebsd-hackers@freefall.FreeBSD.org
Subject:   Re: mmap/mlock problem 
Message-ID:  <199710280736.SAA01858@word.smith.net.au>
In-Reply-To: Your message of "Tue, 28 Oct 1997 08:27:05 BST." <19971028082704.21011@gil.physik.rwth-aachen.de> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> The portion of code behaves correctly when executed in the
> driver but executed in the user process (being root) it behaves
> differently. (accessing the memory region mapped by the driver).

Ah, now I understand.  I think you said this before.

Can you show us how you are mapping, and then accessing the device?  
It sounds like you've got something confused in either the driver or 
the application, as the memory region itself is OK.

mike





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710280736.SAA01858>