Re: mmaping device memory into userspace.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/28/07, Erik Mouw <mouw@xxxxxxxxxxxx> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Mar 28, 2007 at 09:45:52AM +0530, Daniel Rodrick wrote:
> If we map device memory into user space using mmap(), the user will be
> able to do read / write into device using normal memory handling
> routines, right?

Right.

> But as mentioned in LDD3, should appropriate readb() / writeb()
> routines be actually used to read / write into device memory?

LDD3 is right (as usual :).


So using mmap() to map device memory into user space, and then reading
/ writing to device memory in same way as normal memory isn't correct?

Thanks,

Dan.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux