/dev/mem and /dev/raw

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

 



I attempetd to transfer data from a raw char device to a buffer allocated by 
mmaping /dev/mem. But the operation failed with 'Bad Address'.Upon a bit of 
investigation I found that VM_IO flag is set in the mmaped pages.get_user_pages 
() which is called by the raw character driver doesn't like this.I am not very 
clear about the reason. 
Is it not possible to do this? 
-sridhar 
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           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