User Space Driver Issue !

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

 



Hi All ,

  I was going through the Kernel Hackers Guide ,
I came across the topic "User Space Driver" .

Link is below :-
 http://hp.uci.agh.edu.pl/doc/khg/section2.3.2.html

  Here they say that you can use /dev/mem to 
mmap(), a section of memory and use inb() & 
outb() to access memory . 

  But as per the man pages "man mem" , they 
say that /dev/mem represents the physical 
address mapping of main memory , that is RAM .

  How do I access a memory space of a device 
memory ,for eg: Memory on a PCI card  ? 

   Have I misunderstood the man pages of 
/dev/mem ?

   Kindly help me out of this .

   Thanks in advance .

Best Regards !


________________________________________________________________________
Missed your favourite TV serial last night? Try the new, Yahoo! TV.
       visit http://in.tv.yahoo.com
--
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